MediaWiki r41340 - Code Review

Jump to: navigation, search
Repository:MediaWiki
Revision:r41339‎ | r41340 (on ViewVC)‎ | r41341 >
Date:08:45, 28 September 2008
Author:nikerabbit
Status:old (Comments)
Tags:
Comment:
* (bug 15196) Free external links should be numbered in a localised manner
Modified paths:

Diff [purge]

Index: trunk/phase3/includes/parser/Parser.php
@@ -1377,7 +1377,8 @@
13781378 if ( $text == '' ) {
13791379 # Autonumber if allowed. See bug #5918
13801380 if ( strpos( wfUrlProtocols(), substr($protocol, 0, strpos($protocol, ':')) ) !== false ) {
1381 - $text = '[' . ++$this->mAutonumber . ']';
 1381+ $langObj = $this->getFunctionLang();
 1382+ $text = '[' . $langObj->formatNum( ++$this->mAutonumber ) . ']';
13821383 $linktype = 'autonumber';
13831384 } else {
13841385 # Otherwise just use the URL
Index: trunk/phase3/RELEASE-NOTES
@@ -230,6 +230,7 @@
231231 * (bug 15642) Blocked sysops can no longer block other users
232232 * Http::request() now respects $wgHTTPtimeout when not using cURL
233233 * (bug 15158) Userinvalidcssjstitle not shown on preview
 234+* (bug 15196) Free external links should be numbered in a localised manner
234235
235236 === API changes in 1.14 ===
236237

Follow-up revisions

Rev.Commit summaryAuthorDate
r41908Parser test for bug 15196tstarling00:27, 10 October 2008
r113001* Fix for r41340, r96405, r97849: introduce a function which gets the current...tstarling05:53, 5 March 2012

Comments

#Comment by Brion VIBBER (talk | contribs)   23:58, 30 September 2008

This should get a parser test case to confirm it doesn't regress in future...

#Comment by Tim Starling (talk | contribs)   00:27, 10 October 2008

Resolved in r41908.

Status & tagging log

  • 15:32, 12 September 2011 Meno25 (talk | contribs) changed the status of r41340 [removed: resolved added: old]