dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Simplified Title::canExist()
[lhc/web/wiklou.git]
/
includes
/
Title.php
diff --git
a/includes/Title.php
b/includes/Title.php
index
2963280
..
a20ca28
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-764,7
+764,7
@@
class Title {
* @internal note -- uses hardcoded namespace index instead of constants
*/
public function canExist() {
- return $this->mNamespace >=
0 && $this->mNamespace != NS_MEDIA
;
+ return $this->mNamespace >=
NS_MAIN
;
}
/**