The attribution line on pages in the Occitan Wikipedia contains a grammatical error. It reads, for example, "Aquesta pagina es estada modificada pel darrièr còp lo 28 de junh de de 2019 a 17.53." instead of "Aquesta pagina es estada modificada pel darrièr còp lo 28 de junh de 2019 a 17.53."
Description
Related Objects
Event Timeline
I note the problem here seems to be "de de" between the month and the year instead of "de"
Took me a little while to notice/work it out
Hi @Nthep, please always include a link and see https://www.mediawiki.org/wiki/How_to_report_a_bug - Thanks!
https://oc.wikipedia.org/w/index.php?title=Ch%C3%A2telus_(Al%C3%A8ir)&oldid=2128240
https://oc.wikipedia.org/wiki/MediaWiki:Lastmodifiedat looks okay to me. The $1 string is where the duplication of de de comes from.
$1 seems to use https://translatewiki.net/wiki/MediaWiki:June-gen/oc which is using a de preposition. MediaWiki is adding another one before the month name but I'm not sure where it comes from.
The extra "de" is mostly confined to Wikipedia; it appears once on the Wiktionary landing page, but the Commons and the rest of Wiktionary are unaffected by the June bug.
It's possible it's in CLDR or the Wikimedia code somewhere; I just don't know where to pinpoint it, exactly. It's not in Mediawiki:Month-gen/oc, as a) all twelve have that 'de' and b) the Occitan wiki currently has a bug where the "de" before the month is *not* included (using 'long' by mistake). So something is written DE junh DE.
Nemo_bis's words: "It's either from CLDR or PHP which gets it from ICU which gets it from CLDR."
I could not find anything grep'ing the upstream CLDR repo.
Same for https://phabricator.wikimedia.org/source/mediawiki/browse/master/languages/i18n/oc.json or https://oc.wikipedia.org/wiki/MediaWiki:June-date
If it’s ICU, can anyone replicate it locally with a newer libicu than wikimedia uses?
Except, if I try ?uselang=oc on enwiki
Aquesta pagina es estada modificada pel darrièr còp lo 10 de junh de 2020 a 21.46.
So it's feels like a local wiki override. If it was CLDR/ICU/PHP/MW etc, it (sh|w)ould appear on enwiki with ?uselang=oc
And if we look at local message customisations
July has no trailing "de", june and jun do
https://oc.wikipedia.org/w/index.php?title=MediaWiki:Jun&action=history
https://oc.wikipedia.org/w/index.php?title=MediaWiki:June&action=history
And have been that way for over 10 years
I'm guessing something changed in MW to fix this mistake, and the local overrides weren't changed. If they're wrong, just delete them so they use the versions in MediaWiki itself
There's quite a lot of overrides on the wiki... I wonder why. And why for date/month parts?
Thanks Reedy for finding the root cause! I'm closing this task as this is on-wiki content that needs to be fixed by the Occitan community, and we don't track on-wiki content issues in Phabricator. Please bring this up on https://oc.wikipedia.org/wiki/Wikipèdia:La_tavèrna