[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2018-12-19 Thread gerritbot
gerritbot added a comment.
Change 153211 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Add DateFormatParser and MwDateFormatParserFactory

https://gerrit.wikimedia.org/r/153211TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmde, gerritbotCc: Jarekt, C933103, Capankajsmilyo, jeblad, PokestarFan, revi, Phreelance, KTC, Samat, deryckchan, Nikki, Snaevar, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, CucyNoiD, Nandana, NebulousIris, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Jayprakash12345, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, D3r1ck01, Srdjan_m, MuhammadShuaib, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2018-11-16 Thread Jarekt
Jarekt added a comment.
We have solved that issue on Commons a decade ago by writing templates which are now in form of Module:Date and Module:ISOdate. Both modules are both on Commons and Wikidata. Maybe we can just pipe the date through that module. Or capture the logic of the module in Mediawiki code.TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmde, JarektCc: Jarekt, C933103, Capankajsmilyo, jeblad, PokestarFan, revi, Phreelance, KTC, Samat, deryckchan, Nikki, Snaevar, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, CucyNoiD, Nandana, NebulousIris, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Jayprakash12345, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Lewizho99, Maathavan, D3r1ck01, Srdjan_m, MuhammadShuaib, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2018-08-21 Thread deryckchan
deryckchan added a comment.

In T63958#4515779, @C933103 wrote:
If there's no way to fix the internationalized format now then please change the format into ISO date format as a temporary fix. There's currently no way for me to tell which day a date value actually represent without trying to edit it and see the calendar pop up.


Agreed - we've been sitting here for a year and date fields remain unusable in non-dmy languages. If we switch back to ISO dates until language-specific date formatting strings can be rolled out, at least people can use it without confusion.TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmde, deryckchanCc: C933103, Capankajsmilyo, jeblad, PokestarFan, revi, Phreelance, KTC, Samat, deryckchan, Nikki, Snaevar, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Jayprakash12345, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Lewizho99, Maathavan, Srdjan_m, MuhammadShuaib, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2018-08-20 Thread C933103
C933103 added a comment.
If there's no way to fix the internationalized format now then please change the format into ISO date format as a temporary fix. There's currently no way for me to tell which day a date value actually represent without trying to edit it and see the calendar pop up.TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmde, C933103Cc: C933103, Capankajsmilyo, jeblad, PokestarFan, revi, Phreelance, KTC, Samat, deryckchan, Nikki, Snaevar, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Jayprakash12345, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Lewizho99, Maathavan, Srdjan_m, MuhammadShuaib, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2018-05-07 Thread Capankajsmilyo
Capankajsmilyo added a comment.

In T63958#3332798, @thiemowmde wrote:
Relevant #patch-for-review that adds a simple TimeFormatter that can output ISO-like YMD-ordered dates in all relevant precisions: https://github.com/DataValues/Time/pull/49. We might use this basic YMD-formatter instead of the current (DMY-) MwTimeIsoFormatter for the non-DMY languages listed above.


Why has this patch for review still not accepted? Where is the pending discussion? How can we move forward on this one?TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmde, CapankajsmilyoCc: Capankajsmilyo, jeblad, PokestarFan, revi, Phreelance, KTC, Samat, deryckchan, Nikki, Snaevar, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Jayprakash12345, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Lewizho99, Maathavan, Srdjan_m, MuhammadShuaib, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2018-05-07 Thread deryckchan
deryckchan added a comment.

In T63958#4186157, @Capankajsmilyo wrote:
Is this task complete? Can someone please update this 3 year old task's status?


No change since August 2017. Date format displays in some languages (e.g. Hungarian and Cantonese above) have changed but are still wrong. It appears that the underlying software remains unable to handle date formats that don't follow d-m-y word order.TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmde, deryckchanCc: Capankajsmilyo, jeblad, PokestarFan, revi, Phreelance, KTC, Samat, deryckchan, Nikki, Snaevar, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Jayprakash12345, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Lewizho99, Maathavan, Srdjan_m, MuhammadShuaib, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2018-05-07 Thread Capankajsmilyo
Capankajsmilyo added a comment.
Is this task complete? Can someone please update this 3 year old task's status?TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmde, CapankajsmilyoCc: Capankajsmilyo, jeblad, PokestarFan, revi, Phreelance, KTC, Samat, deryckchan, Nikki, Snaevar, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Jayprakash12345, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Lewizho99, Maathavan, Srdjan_m, MuhammadShuaib, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2017-11-19 Thread Samat
Samat added a comment.
Proposed to #community-wishlist-survey-2017TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmde, SamatCc: jeblad, PokestarFan, revi, Phreelance, KTC, Samat, deryckchan, Nikki, Snaevar, Rical, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, Lahi, Lordiis, GoranSMilovanovic, Adik2382, Jayprakash12345, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, Srdjan_m, MuhammadShuaib, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2017-08-26 Thread Samat
Samat added a comment.
I am wondering what is the state of this task. Is there any progress?
I checked the date format in case of Hungarian language, and I saw, that there is a small change since May: There is a dot after the day, for example "12. november 1918"

This is really quite close to the correct format:


we would need one more dot after the year number,
should be ordered as .MM.DD.


I am not a programmer but I don't see why would this change be so complicated.
Can we expect that this change will happen (soon)? :)TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmde, SamatCc: jeblad, PokestarFan, revi, Phreelance, KTC, Samat, deryckchan, Nikki, Snaevar, Rical, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, Srdjan_m, MuhammadShuaib, Izno, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2017-08-25 Thread deryckchan
deryckchan added a comment.Herald added a subscriber: jeblad.
I noticed that the date format has recently changed from "25 九月 1997" to "25 9 1997". Is work being done on the date formatting? And are we close to getting ISO dates or language-formatted dates?TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmde, deryckchanCc: jeblad, PokestarFan, revi, Phreelance, KTC, Samat, deryckchan, Nikki, Snaevar, Rical, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, Srdjan_m, MuhammadShuaib, Izno, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2017-07-27 Thread Rical
Rical added a comment.
Scibunto modules need also to extract any part of the date (and/or time).
This is very difficult if the only available date is language-formated.
Then I suggest to give also to modules the ISO 8601 format.TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmde, RicalCc: PokestarFan, revi, Phreelance, KTC, Samat, deryckchan, Nikki, Snaevar, Rical, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, MuhammadShuaib, Izno, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2017-05-24 Thread Phreelance
Phreelance added a comment.
This sounds reasonable.  Using the raw ISO format "-mm-dd" would be a better localisation for Mandarin than using "dd mm月 ".  I cannot be as certain for the other ymd languages, without a closer look at the linguistic data.  I'm not sure what kind of scientific argument is being asked for, but on the subject of not assuming that users can work things out, I would recommend the following paper:

http://www.oecd-ilibrary.org/education/skills-matter_9789264258051-en

It's long but eye-opening.  A summary is also available here:

https://www.nngroup.com/articles/computer-skill-levels/TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmde, PhreelanceCc: Phreelance, KTC, Samat, deryckchan, Nikki, Snaevar, Rical, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, MuhammadShuaib, Izno, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2017-05-24 Thread deryckchan
deryckchan added a comment.

In T63958#3288758, @thiemowmde wrote:

12 of the 423 languages and language-variants MediaWiki currently supports name their default date format "ymd". These languages are namely crh (including variants), hu, kaa, and kk (including variants). We could disable the localization for these languages and display raw ISO dates instead. Users will not get better localization by doing so. But the order will be the same as the users expect. We might assume users being used to any kind of "ymd" ordering are less confused by "2017-11-10", even if it will be entirely unlocalized until we support full localization.
About 20 more languages specify default date formats that start with the year, but are not named "ymd". Most notably gan, ko, and zh, including all their variants. We might add these to a blacklist and display raw ISO dates as well.
We might add other languages to the same blacklist if requested and ISO is proven to be less confusing for native speakers.



This is a good plan. Thank you for your hard work on date formatting for Wikidata!TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmde, deryckchanCc: Phreelance, KTC, Samat, deryckchan, Nikki, Snaevar, Rical, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, MuhammadShuaib, Izno, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2017-05-24 Thread thiemowmde
thiemowmde added a comment.
This ticket asks for full localization as supported by MediaWiki core. I, personally, love to work on date parsing and formatting and already spend weeks (!) working on code required to fully solve this ticket some day. I will not throw everything away we did in the past four (!) years just because some people start yelling at me with no scientific arguments given.

I see the possibility for a few smaller improvements we could make:


12 of the 423 languages and language-variants MediaWiki currently supports name their default date format "ymd". These languages are namely crh (including variants), hu, kaa, and kk (including variants). We could disable the localization for these languages and display raw ISO dates instead. Users will not get better localization by doing so. But the order will be the same as the users expect. We might assume users being used to any kind of "ymd" ordering are less confused by "2017-11-10", even if it will be entirely unlocalized until we support full localization.
About 20 more languages specify default date formats that start with the year, but are not named "ymd". Most notably gan, ko, and zh, including all their variants. We might add these to a blacklist and display raw ISO dates as well.
We might add other languages to the same blacklist if requested and ISO is proven to be less confusing for native speakers.


I will not discuss globally disabling the mostly working localizations for the 368 languages (87%) that name their default date format "dmy".TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmdeCc: Phreelance, KTC, Samat, deryckchan, Nikki, Snaevar, Rical, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, MuhammadShuaib, Izno, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2017-05-23 Thread Phreelance
Phreelance added a comment.
Nikki's analogy is spot on!

In general, it is a bad idea to assume that users will be able to understand something non-obvious, and this is an even worse idea when it comes to multiple languages.  As a native English speaker, with a moderate level of Mandarin, and as a software developer and computational linguist, when I first looked at "22 五月 2017", my first thought was that there was some mistake, because it just looks garbled.  For instance, was "22五" supposed to be one number?  Of course it's *possible* to work it out, but that's beside the point.  This is a failed attempt at localisation, needs to be fixed, and cannot be written off as something that's incorrect but understandable.TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmde, PhreelanceCc: Phreelance, KTC, Samat, deryckchan, Nikki, Snaevar, Rical, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, MuhammadShuaib, Izno, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2017-05-23 Thread Nikki
Nikki added a comment.

In T63958#3284653, @deryckchan wrote:
@thiemowmde : Imagine your software displays "2017Jahr5Monat22Tag" (which is the Chinese format string with German words substituted in). This is how users of non-"dd Mmm " languages currently feel when we use Wikidata. It's worse than defaulting to "2017-05-22" or even "May 22 2017".


I'm not a native or even fluent speaker of Chinese (or Japanese or Korean), so maybe you would disagree, but I think a better analogy is: Imagine being presented with "30 10 minutes 3" as a length of time in English.

English speakers might eventually figure out that it's supposed to mean "3 hours 10 minutes 30 seconds" but the parts are in the wrong order and two of the expected words are missing, which results in something that looks like complete nonsense. Writing "2017Jahr5Monat22Tag" in German is definitely weird, but I don't think it has the same effect on the comprehensibility.TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmde, NikkiCc: KTC, Samat, deryckchan, Nikki, Snaevar, Rical, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, MuhammadShuaib, Izno, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2017-05-23 Thread KTC
KTC added a comment.
@thiemowmde You can accept the idea that "-mm-dd" may not make sense for some people in the world, but not when a native language reader telling you that "dd Mmm " makes even less sense? When doing localisation, if native readers are telling you that what you have make no sense in that language, stop and listen.

Either do full localisation of a string, or don't do it at all.

ISO 8601 format is a well understood international standard designed "to provide an unambiguous and well-defined method of representing dates and times, so as to avoid misinterpretation of numeric representations of dates and times, particularly when data are transferred between countries with different conventions for writing numeric dates and times" (from English Wikipedia). Why on earth would you invent a partially localised system that make no sense at all in many languages?TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmde, KTCCc: KTC, Samat, deryckchan, Nikki, Snaevar, Rical, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, MuhammadShuaib, Izno, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2017-05-23 Thread deryckchan
deryckchan added a comment.

In T63958#3286620, @thiemowmde wrote:
There is no reason to do the actual opposite of what this ticket asks for. No matter what the users language is, everybody can distinguish day, month and year in "10 November 2017". But we can not assume everybody understands what the month in "2017-11-10" is. This is actually the 11th of October in certain regions of the world.


The reason is that, I'm afraid, it is not correct to assume that "everybody can distinguish day, month and year in [dd Mmm ]". As Samat and I have strongly argued in this thread, translated month names + wrong date formatting string is not comprehensible in many languages. It is better to default to a correct foreign language than to use an incomprehensibly wrong attempt to localise.TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmde, deryckchanCc: Samat, deryckchan, Nikki, Snaevar, Rical, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, MuhammadShuaib, Izno, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2017-05-23 Thread thiemowmde
thiemowmde added a comment.
There is no reason to do the actual opposite of what this ticket asks for. No matter what the users language is, everybody can distinguish day, month and year in "10 November 2017". But we can not assume everybody understands what the month in "2017-11-10" is. This is actually the 11th of October in certain regions of the world.TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmdeCc: Samat, deryckchan, Nikki, Snaevar, Rical, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, MuhammadShuaib, Izno, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2017-05-22 Thread Samat
Samat added a comment.
I must argue that it is actually more confusing to show partially localised "dd Mmm ". Most users of the internet understand -mm-dd regardless of mother language and Wikidata users in particular are used to language fallback chains.

@thiemowmde : Imagine your software displays "2017Jahr5Monat22Tag" (which is the Chinese format string with German words substituted in). This is how users of non-"dd Mmm " languages currently feel when we use Wikidata. It's worse than defaulting to "2017-05-22" or even "May 22 2017".

May I suggest that we actually display "-mm-dd" until language-specific date formats are implemented?

I agree and I would suggest the same if the implementation needs longer time.TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmde, SamatCc: Samat, deryckchan, Nikki, Snaevar, Rical, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, MuhammadShuaib, Izno, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2017-05-22 Thread deryckchan
deryckchan added a comment.

In T63958#3284229, @thiemowmde wrote:
@deryckchan, The formatted date is what appears in the edit field. We do not want to show the unformated -MM-DD there as this would be even more confusing, so we show it formatted.


I must argue that it is actually more confusing to show partially localised "dd Mmm ". Most users of the internet understand -mm-dd regardless of mother language and Wikidata users in particular are used to language fallback chains.

@thiemowmde : Imagine your software displays "2017Jahr5Monat22Tag" (which is the Chinese format string with German words substituted in). This is how non-"dd Mmm " users currently feel when we use Wikidata. It's worse than defaulting to "2017-05-22" "May 22 2017".

May I suggest that we actually display "-mm-dd" until language-specific date formats may be used?TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmde, deryckchanCc: Samat, deryckchan, Nikki, Snaevar, Rical, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, MuhammadShuaib, Izno, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2017-05-22 Thread thiemowmde
thiemowmde added a comment.
@deryckchan, simply because the software must understand itself. The formatted date is what appears in the edit field. We do not want to show the unformated -MM-DD there as this would be even more confusing, so we show it formatted. You want to edit this, and expect the software to accept the format it was outputting before.

With no parser that is able to understand all formats (and not confuse them!) we can't output all formats.

@Rical, you are right, this is closely connected. But for now this ticket is about PHP backend rendering only, not about possible future Lua modules.TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmdeCc: Samat, deryckchan, Nikki, Snaevar, Rical, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, MuhammadShuaib, Izno, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2017-05-22 Thread deryckchan
deryckchan added a comment.
To clarify, this ticket is about displaying and outputting dates in the language-appropriate format.

At the moment Wikidata's web interface and {{#Property:}} returns "dd mmm " with mmm substituted for the name of the month in the desired language, which as earlier discussion has shown is not useful at all to languages that don't use "dd mmm ".

@thiemowmde - Would you please explain how a patch about parsing dates is a prerequisite of a solution about displaying dates?TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmde, deryckchanCc: Samat, deryckchan, Nikki, Snaevar, Rical, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, MuhammadShuaib, Izno, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2017-05-21 Thread Samat
Samat added a comment.
ok, thanks :)TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmde, SamatCc: Samat, deryckchan, Nikki, Snaevar, Rical, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, MuhammadShuaib, Izno, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2017-05-21 Thread thiemowmde
thiemowmde added a comment.
Oh, please do not create more tickets. This one here is about the exact formatting issue you asked for. It's just that the patch I linked above does not fully solve the issue.TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmdeCc: Samat, deryckchan, Nikki, Snaevar, Rical, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, MuhammadShuaib, Izno, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2017-05-21 Thread Samat
Samat added a comment.
@thiemowmde, thank you for your answer. I thought that Wikibase use the month names in English right now, but I was not correct: the names itself are good (for example "12 június 1990").

But the date formatting is incorrect. As you mentioned, the order should be YMD, and after the year and after the day numbers there should be a point. (For the example above "1990. június 12.")

If you say, this ticket won't solve the formatting issue, I open a separate ticket for that.TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmde, SamatCc: Samat, deryckchan, Nikki, Snaevar, Rical, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, MuhammadShuaib, Izno, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2017-05-21 Thread thiemowmde
thiemowmde added a comment.
@Samat, I'm sorry, can you please describe in more detail what you mean? What is the current situation, what is not correct, and how should it be instead?

When I go to a page like https://www.wikidata.org/wiki/Q159?uselang=hu I see "12 junho 1990". This is, as far as I can tell, the "name of the month in Hungarian".

When I look at https://phabricator.wikimedia.org/source/mediawiki/browse/master/languages/messages/MessagesHu.php;9e8355c87d35345bab5de10cab6c42832f33917d$145 I see that the Hungarian language is set to use a YMD-ordered date format by default.  Wikibase currently does not use this, but the "dmy" format. Unfortunately the Hungarian language definitions do not specify a dmy format. That's why the dot is missing in "12 junho 1990".

The patch I mentioned above is not about formatting but about parsing. Being able to parse all date formats is a prerequisite to change the formatting.TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmdeCc: Samat, deryckchan, Nikki, Snaevar, Rical, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, MuhammadShuaib, Izno, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2017-05-20 Thread Samat
Samat added a comment.
Also the Hungarian date format (and name of the months in Hungarian) should be implemented. I think, the proposed patch covers this case, too. Is it correct?TASK DETAILhttps://phabricator.wikimedia.org/T63958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmde, SamatCc: Samat, deryckchan, Nikki, Snaevar, Rical, Agabi10, gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, MuhammadShuaib, Izno, LNDDYL, Psychoslave, aude, Gryllida, Shizhao, Arrbee, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2015-09-16 Thread gerritbot
gerritbot added a subscriber: gerritbot.
gerritbot added a comment.

Change 153211 had a related patch set uploaded (by Thiemo Mättig (WMDE)):
[WIP] Add MwDateFormatParser

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


TASK DETAIL
  https://phabricator.wikimedia.org/T63958

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: gerritbot, thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, 
Liuxinyu970226, Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, 
Stryn, aude, Gryllida, Shizhao, Arrbee



___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T63958: Use existing $dateFormats to format dates on Wikidata

2015-09-16 Thread thiemowmde
thiemowmde added a subscriber: thiemowmde.
thiemowmde added a comment.

As with many of these time related tickets, the MwDateFormatParser will solve a 
lot of these cases, see https://gerrit.wikimedia.org/r/153211 and 
https://github.com/DataValues/Time/pull/83, both still work in progress.


TASK DETAIL
  https://phabricator.wikimedia.org/T63958

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: thiemowmde
Cc: thiemowmde, RP88, Aklapper, Mbch331, Ricordisamoa, Liuxinyu970226, 
Wikidata-bugs, Addshore, He7d3r, PiRSquared17, Lydia_Pintscher, Stryn, aude, 
Gryllida, Shizhao, Arrbee



___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs