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:
98a334a
)
fixed a special page name comparison
author
Tim Starling
<tstarling@users.mediawiki.org>
Wed, 22 Nov 2006 13:22:41 +0000
(13:22 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Wed, 22 Nov 2006 13:22:41 +0000
(13:22 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
b81b631
..
3bcc064
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-1164,8
+1164,7
@@
class Title {
* Always grant access to the login page.
* Even anons need to be able to log in.
*/
- if( $this->getNamespace() == NS_SPECIAL
- && $this->getText() == 'Userlogin' ) {
+ if( $this->isSpecial( 'Userlogin' ) ) {
return true;
}