Page MenuHomePhabricator

ISO date rendering is broken for dates in May
Closed, ResolvedPublic

Description

Author: gareth.rees

Description:
In the version of MediaWiki currently installed at en.wikipedia.org, ISO 8601 date rendering is broken,
but only for dates in May!

[[2004]]-[[01-01]] renders correctly as <a href="/wiki/2004" title="2004">2004</a>-<a href="/wiki/
January_1" title="January 1">01-01</a>

However, [[2004]]-[[05-01]] renders as <a href="/wiki/2004" title="2004">2004</a>-<a href=
"/w/index.php?title=May_long_1&amp;action=edit" class="new" title="May long 1">05-01</a>

Why "May long" instead of "May"?


Version: 1.4.x
Severity: major
URL: http://en.wikipedia.org/wiki/Wikipedia:Sandbox/ISO_date_bug

Details

Reference
bz1224

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:06 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz1224.
bzimport added a subscriber: Unknown Object (MLST).

DateFormatter was directly using the month name arrays, which have changed purpose from strings to message names... Fixed.