Index: trunk/phase3/includes/specials/SpecialVersion.php |
— | — | @@ -115,7 +115,7 @@ |
116 | 116 | global $wgVersion, $IP; |
117 | 117 | wfProfileIn( __METHOD__ ); |
118 | 118 | $svn = self::getSvnRevision( $IP, false ); |
119 | | - $version = $svn ? "$wgVersion (r$svn)" : $wgVersion; |
| 119 | + $version = $svn ? $wgVersion . wfMsg( 'version-svn-revision', $svn ) : $wgVersion; |
120 | 120 | wfProfileOut( __METHOD__ ); |
121 | 121 | return $version; |
122 | 122 | } |
— | — | @@ -131,7 +131,7 @@ |
132 | 132 | wfProfileIn( __METHOD__ ); |
133 | 133 | $svn = self::getSvnRevision( $IP, false ); |
134 | 134 | $viewvc = 'http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/?pathrev='; |
135 | | - $version = $svn ? "$wgVersion ([{$viewvc}{$svn} r$svn])" : $wgVersion; |
| 135 | + $version = $svn ? $wgVersion . " [{$viewvc}{$svn} " . wfMsg( 'version-svn-revision', $svn ) . ']' : $wgVersion; |
136 | 136 | wfProfileOut( __METHOD__ ); |
137 | 137 | return $version; |
138 | 138 | } |
— | — | @@ -221,9 +221,10 @@ |
222 | 222 | } |
223 | 223 | |
224 | 224 | function formatCredits( $name, $version = null, $subVersion = null, $author = null, $url = null, $description = null, $descriptionMsg = null ) { |
| 225 | + $viewvc = 'http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/?pathrev='; |
225 | 226 | $extension = isset( $url ) ? "[$url $name]" : $name; |
226 | 227 | $version = isset( $version ) ? wfMsg( 'version-version', $version ) : ''; |
227 | | - $subVersion = isset( $subVersion ) ? wfMsg( 'version-svn-revision', $subVersion ) : ''; |
| 228 | + $subVersion = isset( $subVersion ) ? " [{$viewvc}{$subVersion} " . wfMsg( 'version-svn-revision', $subVersion ) . ']' : ''; |
228 | 229 | |
229 | 230 | # Look for a localized description |
230 | 231 | if( isset( $descriptionMsg ) ) { |