From: Alexandre Emsenhuber Date: Wed, 9 Dec 2009 17:54:33 +0000 (+0000) Subject: * Added a space between the version and "(rXXX)" in SpecialVersion::getVersion()... X-Git-Tag: 1.31.0-rc.0~38590 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=97e4789cd487346f8e0feeb9caf481a71f0d1b25;p=lhc%2Fweb%2Fwiklou.git * Added a space between the version and "(rXXX)" in SpecialVersion::getVersion() so that it's the same as SpecialVersion::getVersionLinked() * Removed trailing whitespaces --- diff --git a/includes/specials/SpecialVersion.php b/includes/specials/SpecialVersion.php index c9fd892a4b..94622a02f3 100644 --- a/includes/specials/SpecialVersion.php +++ b/includes/specials/SpecialVersion.php @@ -20,7 +20,7 @@ class SpecialVersion extends SpecialPage { ); function __construct(){ - parent::__construct( 'Version' ); + parent::__construct( 'Version' ); } /** @@ -126,7 +126,7 @@ class SpecialVersion extends SpecialPage { * * @return mixed */ - public static function getVersion( $flags = '' ) { + public static function getVersion( $flags = '' ) { global $wgVersion, $IP; wfProfileIn( __METHOD__ ); @@ -136,7 +136,7 @@ class SpecialVersion extends SpecialPage { } elseif( $flags === 'nodb' ) { $version = "$wgVersion (r{$info['checkout-rev']})"; } else { - $version = $wgVersion . + $version = $wgVersion . ' ' . wfMsg( 'version-svn-revision', isset( $info['directory-rev'] ) ? $info['directory-rev'] : '',