Bug 32673: Keep the username in the input field if not existing
[lhc/web/wiklou.git] / includes / specials / SpecialVersion.php
index bb7daca..f1034e0 100644 (file)
@@ -64,7 +64,7 @@ class SpecialVersion extends SpecialPage {
                        $text .= $this->getWgHooks();
                }
 
-               $out->addWikiText( $text, /*linestart*/true, /*interface*/true );
+               $out->addWikiText( $text );
                $out->addHTML( $this->IPInfo() );
 
                if ( $this->getRequest()->getVal( 'easteregg' ) ) {
@@ -107,7 +107,7 @@ class SpecialVersion extends SpecialPage {
                        'Aryeh Gregor', 'Aaron Schulz', 'Andrew Garrett', 'Raimond Spekking',
                        'Alexandre Emsenhuber', 'Siebrand Mazeland', 'Chad Horohoe',
                        'Roan Kattouw', 'Trevor Parscal', 'Bryan Tong Minh', 'Sam Reed',
-                       'Victor Vasiliev', 'Rotem Liss', 'Platonides', 'Ashar Voultoiz',
+                       'Victor Vasiliev', 'Rotem Liss', 'Platonides', 'Antoine Musso',
                        wfMsg( 'version-poweredby-others' )
                );
 
@@ -127,7 +127,7 @@ class SpecialVersion extends SpecialPage {
                // be loaded here, so feel free to use wfMsg*() in the 'name'. Raw HTML or wikimarkup
                // can be used.
                $software = array();
-               $software['[http://www.mediawiki.org/ MediaWiki]'] = self::getVersionLinked();
+               $software['[//www.mediawiki.org/ MediaWiki]'] = self::getVersionLinked();
                $software['[http://www.php.net/ PHP]'] = phpversion() . " (" . php_sapi_name() . ")";
                $software[$dbr->getSoftwareLink()] = $dbr->getServerInfo();
 
@@ -154,6 +154,7 @@ class SpecialVersion extends SpecialPage {
        /**
         * Return a string of the MediaWiki version with SVN revision if available.
         *
+        * @param $flags String
         * @return mixed
         */
        public static function getVersion( $flags = '' ) {
@@ -361,7 +362,7 @@ class SpecialVersion extends SpecialPage {
                if( $a['name'] === $b['name'] ) {
                        return 0;
                } else {
-                       return $this->getLang()->lc( $a['name'] ) > $this->getLang()->lc( $b['name'] )
+                       return $this->getLanguage()->lc( $a['name'] ) > $this->getLanguage()->lc( $b['name'] )
                                ? 1
                                : -1;
                }
@@ -545,7 +546,7 @@ class SpecialVersion extends SpecialPage {
                        if ( $sort ) {
                                sort( $list );
                        }
-                       return $this->getLang()->listToText( array_map( array( __CLASS__, 'arrayToString' ), $list ) );
+                       return $this->getLanguage()->listToText( array_map( array( __CLASS__, 'arrayToString' ), $list ) );
                }
        }