dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39e6768
)
missing parentheses
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Thu, 20 May 2004 11:13:51 +0000
(11:13 +0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Thu, 20 May 2004 11:13:51 +0000
(11:13 +0000)
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
5ea232b
..
e75b922
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-113,7
+113,7
@@
class EditPage {
$sk = $wgUser->getSkin();
$isConflict = false;
// css / js subpages of user pages get a special treatment
- $isCssJsSubpage =
Namespace::getUser() == $wgTitle->getNamespace() and preg_match("/\\.(css|js)$/", $wgTitle->getText()
);
+ $isCssJsSubpage =
(Namespace::getUser() == $wgTitle->getNamespace() and preg_match("/\\.(css|js)$/", $wgTitle->getText() )
);
if(!$this->mTitle->getArticleID()) { # new article
$wgOut->addWikiText(wfmsg("newarticletext"));