Merge "Use canonical class name, remove unused globals."
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 4 Sep 2013 17:55:34 +0000 (17:55 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 4 Sep 2013 17:55:34 +0000 (17:55 +0000)
1  2 
includes/SkinTemplate.php
includes/specials/SpecialListfiles.php

@@@ -291,8 -291,8 +291,8 @@@ class SkinTemplate extends Skin 
                if ( $out->isSyndicated() ) {
                        $feeds = array();
                        foreach ( $out->getSyndicationLinks() as $format => $link ) {
 -                              // Give grep a chance to find the usages: feed-atom, feed-rss
                                $feeds[$format] = array(
 +                                      // Messages: feed-atom, feed-rss
                                        'text' => $this->msg( "feed-$format" )->text(),
                                        'href' => $link
                                );
         * @return array
         */
        protected function buildPersonalUrls() {
-               global $wgSecureLogin;
                $title = $this->getTitle();
                $request = $this->getRequest();
                $pageurl = $title->getLocalURL();
@@@ -443,7 -443,6 +443,7 @@@ class ImageListPager extends TablePage
                        case 'count':
                                return intval( $value ) + 1;
                        case 'top':
 +                              // Messages: listfiles-latestversion-yes, listfiles-latestversion-no
                                return $this->msg( 'listfiles-latestversion-' . $value );
                }
        }
                        '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,
                ) );