From 0015f5ff69cfb9b55e9e0a653aeeec27312e5bb4 Mon Sep 17 00:00:00 2001 From: Platonides Date: Fri, 30 Aug 2013 00:18:42 +0200 Subject: [PATCH] Use canonical class name, remove unused globals. Change-Id: I94cf491e4c1c793f455fd597b383f8133b0aace3 --- includes/SkinTemplate.php | 2 -- includes/rcfeed/JSONRCFeedFormatter.php | 3 ++- includes/specials/SpecialListfiles.php | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) 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, ) ); -- 2.20.1