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
test before commit, idiot
[lhc/web/wiklou.git]
/
includes
/
SpecialPage.php
diff --git
a/includes/SpecialPage.php
b/includes/SpecialPage.php
index
301b9dd
..
8741610
100644
(file)
--- a/
includes/SpecialPage.php
+++ b/
includes/SpecialPage.php
@@
-180,6
+180,7
@@
class SpecialPage
* @return mixed Title object if the redirect exists, otherwise NULL
*/
function &getRedirect( $name ) {
+ global $wgUser;
switch ( $name ) {
case 'Mypage':
return Title::makeTitle( NS_USER, $wgUser->getName() );