From: Platonides Date: Thu, 29 Aug 2013 22:18:42 +0000 (+0200) Subject: Use canonical class name, remove unused globals. X-Git-Tag: 1.31.0-rc.0~18812^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=0015f5ff69cfb9b55e9e0a653aeeec27312e5bb4;p=lhc%2Fweb%2Fwiklou.git Use canonical class name, remove unused globals. Change-Id: I94cf491e4c1c793f455fd597b383f8133b0aace3 --- diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index 2739df311d..1b766ab059 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -589,8 +589,6 @@ class SkinTemplate extends Skin { * @return array */ protected function buildPersonalUrls() { - global $wgSecureLogin; - $title = $this->getTitle(); $request = $this->getRequest(); $pageurl = $title->getLocalURL(); diff --git a/includes/rcfeed/JSONRCFeedFormatter.php b/includes/rcfeed/JSONRCFeedFormatter.php index d50139c61f..f4cb992152 100644 --- a/includes/rcfeed/JSONRCFeedFormatter.php +++ b/includes/rcfeed/JSONRCFeedFormatter.php @@ -1,11 +1,12 @@ getAttributes(); $packet = array( diff --git a/includes/specials/SpecialListfiles.php b/includes/specials/SpecialListfiles.php index 9377628b75..d939bd17ca 100644 --- a/includes/specials/SpecialListfiles.php +++ b/includes/specials/SpecialListfiles.php @@ -471,7 +471,7 @@ class ImageListPager extends TablePager { 'tabindex' => 3, ) ); - $inputForm['listfiles-show-all'] = HTML::input( 'ilshowall', 1, 'checkbox', array( + $inputForm['listfiles-show-all'] = Html::input( 'ilshowall', 1, 'checkbox', array( 'checked' => $this->mShowAll, 'tabindex' => 4, ) );