Smalyshev added a comment. > This language code should be used for the sitelinks. In HTML and in the RDF > export
That would lead to the situation where links to Simple English wiki and to English wiki are indistinguishable. Which is not good. > If you want to change this to en-x-simple then create a separate task. This is that task. > This must be changed everywhere where a HTML attribute lang is generated. That has no relation to RDF export and thus outside of the scope of this task. > When https://phabricator.wikimedia.org/T43723 is fixed most of your patch for > the RDF export is superfluous. When it would be fixed, we can consider revisiting this code and if the fix allows to remove the special cases then they will be removed. However, since that ticket seems to be open since 2012, I'd rather fix the RDF export now (which otherwise will be confusing for third party users - the main audience of the export) than wait for https://phabricator.wikimedia.org/T43723. TASK DETAIL https://phabricator.wikimedia.org/T105430 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Smalyshev Cc: Fomafix, gerritbot, Smalyshev, Aklapper, daniel, mkroetzsch, jkroll, Wikidata-bugs, Jdouglas, aude, Manybubbles, JanZerebecki, Malyacko, P.Copp _______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
