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:
7584a85
)
Explicitly use 0 like the other checks here
author
Aaron Schulz
<aaron@users.mediawiki.org>
Fri, 11 Jan 2008 05:06:10 +0000
(
05:06
+0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Fri, 11 Jan 2008 05:06:10 +0000
(
05:06
+0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
74090b7
..
89d02d6
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-1257,7
+1257,7
@@
class Title {
*/
private function getTitleProtection() {
// Can't protect pages in special namespaces
- if ( $this->getNamespace() <
NS_MAIN
) {
+ if ( $this->getNamespace() <
0
) {
return false;
}