Smalyshev added a comment.

The language code for links works this way (see SiteLinksRdfBuilder class):

  • take the value in the database site matrix
  • if we have name configured by it, use that
  • otherwise, apply wfBCP47 function to it and use that

Looks like wfBCP47('nds-nl') returns nds-NL. Since this function says it returns the normalized tag, I am inclined to believe it.


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

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

To: Smalyshev
Cc: Smalyshev, Aklapper, Esc3300, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, Avner, debt, Gehel, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to