[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/setti

[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

[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 i

[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 DETA

[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

[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 appe

[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, jebl

[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, Snae

[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 c

[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.o

[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 PREFERENCEShtt

[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 a

[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 locali

[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

[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

[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 th

[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

[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 t

[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 ac

[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 softwar

[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 confusi

[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

[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

[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, Ricor

[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.wikimedi

[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 aft

[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

[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/em

[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://ph

[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