Page MenuHomePhabricator

Uzbek: Change date and decimal separators
Closed, ResolvedPublic

Description

Author: abdullais4u

Description:
Currently the Uzbek Wikipedia special pages are displaying dates without hyphen (as in 22 mart), but according to new rules (http://el.tfi.uz/pdf/lyoaoai_uzl.pdf) for latin based Uzbek script dates (and any ordinal number) should be written with hyphen (as in 22-mart). TL;DR: dd mm is wrong, dd-mm is right. Fully it would appear as dd-mm yyyy.
And the decimal separators. Currently they are displayed as xxx,xxx.xx, and should be as xxx xxx,xx (space instead of commas for 3-digit grouping, decimal comma instead of decimal point).


Version: unspecified
Severity: enhancement

Details

Reference
bz46453

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:40 AM
bzimport set Reference to bz46453.
bzimport added a subscriber: Unknown Object (MLST).

As you mention Uzbek Wikipedia, was this discussed there? Do they have guidelines on the matter?
The change wouldn't affect only Wikipedia, though, and it's not the only stakeholder: fixing summary.

abdullais4u wrote:

There was no proper discussion, although users write according to the rules, e.g. here: https://uz.wikipedia.org/wiki/O%CA%BBzbekcha_Vikipediya
Nonetheless opened a discussion at village pump: https://uz.wikipedia.org/wiki/Vikipediya:Forum#Sana_va_o.CA.BBnli_kasrlar

Removed shellpolicy keyword. Date formating is set in MessagesXx.php files of MediaWiki core.

ataevnodir wrote:

"Removed shellpolicy keyword. Date formating is set in MessagesXx.php files of
MediaWiki core." Can you clarify this? How shall we proceed? ~~~~

(In reply to comment #4)

Can you clarify this?

The file to change for this request is the corresponding file for this language in the folder https://git.wikimedia.org/tree/mediawiki%2Fcore.git/HEAD/languages%2Fmessages

How shall we proceed?

If you (or anybody else) would like to create a software patch against MediaWiki core to fix this problem, please see

Please note that providing help with Git/Gerrit is out of scope for this specific bug report.

maduranga.siriwardena wrote:

I understood that the change needed in the date format is that add a hyphen in between if there is a date and then a month

Attached:

ataevnodir wrote:

(In reply to Maduranga Siriwardena from comment #6)

Created attachment 14800 [details]
I understood that the change needed in the date format is that add a hyphen
in between if there is a date and then a month

You got it right. Thanks! ~~~~

Attached:

(In reply to Maduranga Siriwardena from comment #6)

Created attachment 14800 [details]

Thanks for your patch!

You are welcome to use Developer access

https://www.mediawiki.org/wiki/Developer_access

to submit this as a Git branch directly into Gerrit:

https://www.mediawiki.org/wiki/Git/Tutorial

Putting your branch in Git makes it easier to review it quickly. If you don't want to set up Git/Gerrit, you can also use https://tools.wmflabs.org/gerrit-patch-uploader/

Attached:

Change 118440 had a related patch set uploaded by Maduranga:
fix Bug 46453 - Uzbek: Change date and decimal separators

https://gerrit.wikimedia.org/r/118440

Change 118579 had a related patch set uploaded by Maduranga:
Change date and decimal separators for Uzbek language

https://gerrit.wikimedia.org/r/118579

Maduranga: Thanks for the patches! There are two patches in Gerrit now; please abandon one of them in Gerrit. Please also use amending instead of creating new patchsets: [[mw:Gerrit/Tutorial#Amending_a_change]]

Change 118440 abandoned by Maduranga:
fix Bug 46453 - Uzbek: Change date and decimal separators

Reason:
Contains some problems and corrected version is uploaded

https://gerrit.wikimedia.org/r/118440

Change 118579 merged by jenkins-bot:
Change date and decimal separators for Uzbek (uz)

https://gerrit.wikimedia.org/r/118579