Last modified: 2014-05-24 01:53:29 UTC
In some commit version numbers are changed to use localized parentheses however sometimes they're used in English context, for example in a maintenance script it says: This is MediaWiki version 1.20alpha (b8256e7). ()[ = localized version in zh ] shouldn't be used here.
Please provide explicit steps to reproduce where this occurs. Otherwise it's really hard to go about resolving this issue.
Sounds like some of our maintenance scripts should hardcode a script lang of en.
(In reply to comment #1) > Please provide explicit steps to reproduce where this occurs. Otherwise it's > really hard to go about resolving this issue. I can't find that specific script now... is it already fixed?
[resetting status, assuming that Liangent changed it accidentially]
Where is this?
Liangent: Only match when grep'ing is in ./tests/parserTests.php : # Print out software version to assist with locating regressions $version = SpecialVersion::getVersion(); echo "This is MediaWiki version {$version}.\n\n"; See https://git.wikimedia.org/blob/mediawiki%2Fcore.git/HEAD/includes%2Fspecials%2FSpecialVersion.php#L228 from there.
(In reply to Andre Klapper from comment #6) > Liangent: > > Only match when grep'ing is in ./tests/parserTests.php : > # Print out software version to assist with locating regressions > $version = SpecialVersion::getVersion(); > echo "This is MediaWiki version {$version}.\n\n"; > > See > https://git.wikimedia.org/blob/mediawiki%2Fcore.git/HEAD/ > includes%2Fspecials%2FSpecialVersion.php#L228 from there. Yeah it is parserTests.php. Spotted again just now when using it.
Change 135162 had a related patch set uploaded by FunPika: Don't localize parentheses in version number in parserTests.php https://gerrit.wikimedia.org/r/135162