Change to show the checkout revision number by default in Special:Version, per Code...
authorShinjiman <shinjiman@users.mediawiki.org>
Sat, 2 May 2009 07:44:17 +0000 (07:44 +0000)
committerShinjiman <shinjiman@users.mediawiki.org>
Sat, 2 May 2009 07:44:17 +0000 (07:44 +0000)
includes/specials/SpecialVersion.php
languages/messages/MessagesEn.php
languages/messages/MessagesQqq.php

index 3348883..1b3cb09 100644 (file)
@@ -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'];
index e4fb35f..0447c67 100644 (file)
@@ -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',
index 7567abb..084ee55 100644 (file)
@@ -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