Index: trunk/phase3/includes/SpecialVersion.php |
— | — | @@ -48,6 +48,9 @@ |
49 | 49 | $version = self::getVersion(); |
50 | 50 | $dbr =& wfGetDB( DB_SLAVE ); |
51 | 51 | |
| 52 | + global $wgLanguageNames, $wgLanguageCode; |
| 53 | + $mwlang = $wgLanguageNames[$wgLanguageCode]; |
| 54 | + |
52 | 55 | $ret = |
53 | 56 | "__NOTOC__ |
54 | 57 | This wiki is powered by '''[http://www.mediawiki.org/ MediaWiki]''', |
— | — | @@ -70,13 +73,13 @@ |
71 | 74 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
72 | 75 | or [http://www.gnu.org/copyleft/gpl.html read it online] |
73 | 76 | |
74 | | - * [http://www.mediawiki.org/ MediaWiki]: $version |
| 77 | + * [http://www.mediawiki.org/ MediaWiki]: $version ($wgLanguageCode $mwlang) |
75 | 78 | * [http://www.php.net/ PHP]: " . phpversion() . " (" . php_sapi_name() . ") |
76 | 79 | * " . $dbr->getSoftwareLink() . ": " . $dbr->getServerVersion(); |
77 | 80 | |
78 | 81 | return str_replace( "\t\t", '', $ret ); |
79 | 82 | } |
80 | | - |
| 83 | + |
81 | 84 | public static function getVersion() { |
82 | 85 | global $wgVersion, $IP; |
83 | 86 | $svn = self::getSvnRevision( $IP ); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -472,6 +472,7 @@ |
473 | 473 | * (bug 8417) Handle EXIF unknown dates |
474 | 474 | * (bug 8372) Return nothing on empty <math> tags. |
475 | 475 | * New maintenance script to show the cached statistics : showStats.php. |
| 476 | +* Added language code and name in Special:Version next to MediaWiki version. |
476 | 477 | |
477 | 478 | |
478 | 479 | == Languages updated == |