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:
84b2635
)
Remove obsolete note from Title->canExist()
author
Ricordisamoa
<ricordisamoa@openmailbox.org>
Tue, 9 Dec 2014 19:27:30 +0000
(19:27 +0000)
committer
Ricordisamoa
<ricordisamoa@openmailbox.org>
Tue, 9 Dec 2014 19:30:48 +0000
(19:30 +0000)
A bit of history:
* when added by Aaron Schulz with commit
df1f744757b0ce695e6aa1e4a28f6c50fe6d8e20
, the method made use of
a hardcoded `0`;
* Lisa Ridley noted that with
commit
bc1023ac89f9214c6510d97869fb4f280084995f
by adding
"uses hardcoded namespace index instead of constants";
* Max Semenik changed `0` to `NS_MAIN`, thus making the comment
obsolete, with commit
a35fe1f5f2f8eda52a93eb974516c3b65918c819
.
Change-Id: I0c2dad773219da80cc4db04ad6a8007a03207e5c
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
638da08
..
e9fcf9a
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-1044,7
+1044,6
@@
class Title {
* Is this in a namespace that allows actual pages?
*
* @return bool
- * @internal note -- uses hardcoded namespace index instead of constants
*/
public function canExist() {
return $this->mNamespace >= NS_MAIN;