From: Tim Starling Date: Sat, 28 May 2005 11:51:27 +0000 (+0000) Subject: test before commit, idiot X-Git-Tag: 1.5.0alpha2~59 X-Git-Url: https://git.cyclocoop.org/admin/%22%7B%7Blocalurle:Special:Userlogin%7D%7D/%27%40script%40/%7B%7B%20url_for%28%27static%27%2C%20filename=%27js/%27.%20sinon%28find_in_path%28%27css/leaflet.markercluster.css%27%29%2Cfind_in_path%28_DIR_LIB_GIS.%27plugins/leaflet.markercluster.css%27%29%29%20.%27?a=commitdiff_plain;h=36d5dadfd973edf190e7d561480662b3b890a3fb;p=lhc%2Fweb%2Fwiklou.git test before commit, idiot --- diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index 301b9ddcad..8741610626 100644 --- 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() );