Page MenuHomePhabricator

Locale issues with wikibits.js
Closed, ResolvedPublic

Description

Author: mhorvath2161

Description:
Some locale related issues with wikibits.js were broughtr up by User:Alex Smotrov in sections 4, 5 and 6 of this page:

http://en.wikipedia.org/wiki/User:Alex_Smotrov/mw/sortable

The issue stems from the fact that month names (and their abbreviations) differ across locales.


Version: unspecified
Severity: enhancement

Details

Reference
bz15408

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:22 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz15408.
bzimport added a subscriber: Unknown Object (MLST).

mhorvath2161 wrote:

I forgot to add that the issue may warrant (IMO) making the file editable on a per-locale wiki basis.

That can be localised by defining on MediaWiki:Common.js a new ts_dateToSortKey() which will override the previous one (like used eg. on eswiki).
Would be desirable to have that automatically based on $wgContentLanguage though.

Also see bug 20418.