Index: trunk/phase3/includes/Title.php |
— | — | @@ -1257,7 +1257,7 @@ |
1258 | 1258 | */ |
1259 | 1259 | private function getTitleProtection() { |
1260 | 1260 | // Can't protect pages in special namespaces |
1261 | | - if ( $this->getNamespace() < NS_MAIN ) { |
| 1261 | + if ( $this->getNamespace() < 0 ) { |
1262 | 1262 | return false; |
1263 | 1263 | } |
1264 | 1264 | |