r59892 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59891‎ | r59892 | r59893 >
Date:17:54, 9 December 2009
Author:ialex
Status:ok
Tags:
Comment:
* Added a space between the version and "(rXXX)" in SpecialVersion::getVersion() so that it's the same as SpecialVersion::getVersionLinked()
* Removed trailing whitespaces
Modified paths:
  • /trunk/phase3/includes/specials/SpecialVersion.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialVersion.php
@@ -20,7 +20,7 @@
2121 );
2222
2323 function __construct(){
24 - parent::__construct( 'Version' );
 24+ parent::__construct( 'Version' );
2525 }
2626
2727 /**
@@ -126,7 +126,7 @@
127127 *
128128 * @return mixed
129129 */
130 - public static function getVersion( $flags = '' ) {
 130+ public static function getVersion( $flags = '' ) {
131131 global $wgVersion, $IP;
132132 wfProfileIn( __METHOD__ );
133133
@@ -136,7 +136,7 @@
137137 } elseif( $flags === 'nodb' ) {
138138 $version = "$wgVersion (r{$info['checkout-rev']})";
139139 } else {
140 - $version = $wgVersion .
 140+ $version = $wgVersion . ' ' .
141141 wfMsg(
142142 'version-svn-revision',
143143 isset( $info['directory-rev'] ) ? $info['directory-rev'] : '',

Status & tagging log