Last modified: 2014-06-19 10:42:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T67245, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65245 - Add "Syrian" date format to the preferences for Arab
Add "Syrian" date format to the preferences for Arab
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: 1.24.0 release
Assigned To: Nemo
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-13 02:23 UTC by ASammour
Modified: 2014-06-19 10:42 UTC (History)
10 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Patched $datePreferences (5.24 KB, image/png)
2014-05-27 17:49 UTC, Nemo
Details

Description ASammour 2014-05-13 02:23:13 UTC
hello, in Arabic Wikipedia, we discuss to add a new date format to the preferences, now there are 6 date formats in the preferences, and if you could add a new one it will be great.

here is the link of discussion: https://ar.wikipedia.org/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A7%D9%84%D9%85%D9%8A%D8%AF%D8%A7%D9%86/%D8%AA%D9%82%D9%86%D9%8A%D8%A9/05/2014#.D8.A5.D8.AA.D8.A7.D8.AD.D8.A9_.D8.A7.D9.84.D8.A3.D8.B4.D9.87.D8.B1_.D8.A7.D9.84.D8.B3.D8.B1.D9.8A.D8.A7.D9.86.D9.8A.D8.A9_.D9.81.D9.8A_.D8.B5.D9.8A.D8.BA.D8.A9_.D8.A7.D9.84.D9.88.D9.82.D8.AA

now the new date format will be like this: j {{LOCALMONTHABBREV}} Y
Comment 1 Andre Klapper 2014-05-14 13:12:26 UTC
Thanks for taking the time to report this!

> j {{LOCALMONTHABBREV}} Y

I am a bit confused what "j" means here (likely the day)? How many digits do j and Y have? 

I would love to understand the motivation / intention of this request better, and which problem you try to solve. For example, does the current problem have to do with a specific calendar?
Comment 2 ASammour 2014-05-14 18:41:16 UTC
As i said above, we discuss to add a new date format to the preference, so any body can choose date formats that he like.

> j {{LOCALMONTHABBREV}} Y is equal to {{#time:j {{LOCALMONTHABBREV}} Y}} if we put it in wiki page, and j Indicate to day number, or you can replace it with d, and {{LOCALMONTHABBREV}} indicate to month name with Syrian calender, and finally Y is indicate to year number.
Comment 3 Andre Klapper 2014-05-14 19:14:56 UTC
But what is the practical usecase? 
"Just because I like it" is not very convincing if somebody needs to maintain that code for the next years, so I guess there might be better reasons. :)

Is the proposed format used? If so, where, or in which calendars?
Comment 4 ASammour 2014-05-14 19:49:32 UTC
An active user in Arabic Wikipedia propose to add a new format to the preference, and many users support this proposal, you can see it here.

https://ar.wikipedia.org/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A7%D9%84%D9%85%D9%8A%D8%AF%D8%A7%D9%86/%D8%AA%D9%82%D9%86%D9%8A%D8%A9#.D8.A5.D8.AA.D8.A7.D8.AD.D8.A9_.D8.A7.D9.84.D8.A3.D8.B4.D9.87.D8.B1_.D8.A7.D9.84.D8.B3.D8.B1.D9.8A.D8.A7.D9.86.D9.8A.D8.A9_.D9.81.D9.8A_.D8.B5.D9.8A.D8.BA.D8.A9_.D8.A7.D9.84.D9.88.D9.82.D8.AA 

The Syrian calender is commonly used in the middle east countries, and in Levant countries. also it used in north Africa.

note: A high percentage of Arabic Wikipedia users are liven in the Regions i mention it above.
Comment 5 ASammour 2014-05-14 19:50:47 UTC
If you need, I can translate the proposal to English, so you can understand it.
Comment 6 Nemo 2014-05-27 17:49:12 UTC
Created attachment 15490 [details]
Patched $datePreferences

Thanks to the reporter we did out standards-compliant duty at http://st.unicode.org/cldr-apps/v#/ar_SY/Generic/ , let's get this done for MediaWiki.

Is the attachment how you would like it to be?
Comment 7 Gerrit Notification Bot 2014-05-27 17:55:49 UTC
Change 135595 had a related patch set uploaded by Nemo bis:
Add jMY to Arab date formats ($datePreferences)

https://gerrit.wikimedia.org/r/135595
Comment 8 ASammour 2014-05-27 18:42:46 UTC
Comment on attachment 15490 [details]
Patched $datePreferences

You have to add only a new format, it will be like this:

j {{LOCALMONTHABBREV}} Y
Comment 9 Gerrit Notification Bot 2014-06-04 07:06:45 UTC
Change 135595 merged by jenkins-bot:
Add jMY to Arab date formats ($datePreferences)

https://gerrit.wikimedia.org/r/135595
Comment 10 Nemo 2014-06-04 07:12:14 UTC
Fixed, will be live on Wikipedia with MediaWiki 1.24wmf8: Thursday, 12 June 2014
Comment 11 Gerrit Notification Bot 2014-06-12 15:52:12 UTC
Change 139122 had a related patch set uploaded by Nemo bis:
Actually define jMY date format for Arab

https://gerrit.wikimedia.org/r/139122
Comment 12 Gerrit Notification Bot 2014-06-19 10:39:24 UTC
Change 139122 merged by jenkins-bot:
Actually define jMY date format for Arab

https://gerrit.wikimedia.org/r/139122
Comment 13 Nemo 2014-06-19 10:42:08 UTC
Ok, should be included in 1.24wmf10 and reach ar.wiki on 2014-06-26.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links