Addshore added a comment.
In T114772#6542420 <https://phabricator.wikimedia.org/T114772#6542420>, @Ladsgroup wrote: >> @Ladsgroup do me this issue of display seems like a smaller part of the whole rename problem anyway? > > Specially given that most of it is in the gadget, I assume it's not our job //but// we need to make sure the validation of frontend code at least accepts aliases. Great we don't need to be concerned with that then. (for now / for this ticket) > In T114772#6542032 <https://phabricator.wikimedia.org/T114772#6542032>, @WMDE-leszek wrote: > >> @Ladsgroup I've adjusted the task description to focus on the issue more than on the possible solution. As an expert here, do you know that `zh_classicalwiki` and ` be_x_oldwiki` are the only problematic cases in the current WMF wikis infrastructure, or were those just examples, and there is more to consider/include? > > > > - `zh-classical` is one example of many many wikis that have dash in their language code, according to the SiteMatrix <https://meta.wikimedia.org/wiki/Special:SiteMatrix>, the rest are `cbk-zam` (-> `cbk_zamwiki`), `bat-smg`, `fiu-vro`, `map-bms`, `nds-nl`, `roa-rup`, `roa-tara`, `zh-min-nan`, `zh-yue` but we don't need to keep a hard-coded list, just the rule of `-` -> `_` > - The only one that's completely different is `be-tarask` ( -> `be_x_oldwiki`) but if this is resolved, I assume more will follow. IIRC, `zh-classical` (to `lzh`), `no` to `nb` and another of Chinese wikis will be renamed (but that's for the future) If `-` -> `_` is to be a general path for aliases then I think the description needs to be updated to reflect that. Currently reading the task description I would assume this this is just a list of ID 1 -> ID2 for example. Having something generic like `-` -> `_` also open up the question of should this happen on other wikibases (probably not by default), this this type of replacement would also need to be done in a generic way. @Ladsgroup mind having a go at updating the ACs etc to reflect that? I believe that would be the only remaining open point. TASK DETAIL https://phabricator.wikimedia.org/T114772 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Addshore Cc: Addshore, Lucas_Werkmeister_WMDE, Pablo-WMDE, Michael, Ladsgroup, Lydia_Pintscher, WMDE-leszek, darthmon_wmde, hoo, Liuxinyu970226, StudiesWorld, Aklapper, daniel, Akuckartz, Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
