From: Shinjiman Date: Sat, 2 May 2009 07:44:17 +0000 (+0000) Subject: Change to show the checkout revision number by default in Special:Version, per Code... X-Git-Tag: 1.31.0-rc.0~41911 X-Git-Url: http://git.cyclocoop.org//%27http:/code.google.com/p/ie7-js//%27?a=commitdiff_plain;h=2a6d97a31fc6123bbe3d2a190a0acd8cf38eae8d;p=lhc%2Fweb%2Fwiklou.git Change to show the checkout revision number by default in Special:Version, per Code Review on r50106. --- diff --git a/includes/specials/SpecialVersion.php b/includes/specials/SpecialVersion.php index 3348883fed..1b3cb09958 100644 --- a/includes/specials/SpecialVersion.php +++ b/includes/specials/SpecialVersion.php @@ -176,7 +176,7 @@ class SpecialVersion extends SpecialPage { $subVersionCo = self::getSvnRevision(dirname($extension['path']), true, true, false); $subVersionDir = self::getSvnRevision(dirname($extension['path']), false, true, true); if ($subVersionDir) - $viewvc = $subVersionDir . $subVersion; + $viewvc = $subVersionDir . $subVersionCo; } if ( isset( $extension['version'] ) ) { $version = $extension['version']; diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index e4fb35f5a6..0447c676f1 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -3826,7 +3826,7 @@ You can also [[Special:Watchlist/edit|use the standard editor]].', 'version-hook-name' => 'Hook name', 'version-hook-subscribedby' => 'Subscribed by', 'version-version' => '(Version $1)', -'version-svn-revision' => '(r$1/r$2)', # only translate this message to other languages if you have to change it +'version-svn-revision' => '(r$2)', # only translate this message to other languages if you have to change it 'version-license' => 'License', 'version-software' => 'Installed software', 'version-software-product' => 'Product', diff --git a/languages/messages/MessagesQqq.php b/languages/messages/MessagesQqq.php index 7567abb6ae..084ee55d17 100644 --- a/languages/messages/MessagesQqq.php +++ b/languages/messages/MessagesQqq.php @@ -2853,7 +2853,7 @@ There are no such extensions here, so look at [[wikipedia:Special:Version]] for 'version-hook-name' => 'Shown in [[Special:Version]]', 'version-hook-subscribedby' => 'Shown in [[Special:Version]]', 'version-version' => '{{Identical|Version}}', -'version-svn-revision' => 'This is being used in [[Special:Version]], preceeding the subversion revision numbers of both the core and the extensions loaded. +'version-svn-revision' => 'This is being used in [[Special:Version]], preceeding the subversion revision numbers of both the core and the extensions loaded. By default, only the checkout revision number is displayed. However this messages could be customised to display the last modified directory revision number. * $1: last modified directory revision number * $2: checkout directory revision number