Bugreporter added a comment.
Currently Wikibase suppose an injective relationship between item and local page, and there are mechanism and usecase for conversion in both directions. Once we can have multiple sitelinks to same site - The page -> item is still a single map, though we need some code change to ensure this once we allow one item to be connected to multiple pages of the same site. - But item -> page will not. In this way, if we does not provide a "primary" language for a site, parser functions and formatValue will break, since there are no defined meaning for the page connected to an item in a site. Note there are multiple issues for site-Wikidata relationship in Wikidata: - Sites with non-BCP Wikimedia language codes, such as be-x-oldwiki - Sites with multiple scripts, such as Hakka, Min Dong - Sites with multiple languages in one project, such as Beta Wikiversity; also include per-language pages in multilingual sites such as Commons - Non-Wikipedia site hosted in a Wikipedia, such as Alemannic projects - Sites with multiple languages in multiple projects, such as Incubator The solution proposed in task description only solved point 1, 2 and potentially 3. TASK DETAIL https://phabricator.wikimedia.org/T327008 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bugreporter Cc: Bugreporter, Aklapper, Winston_Sung, Danny_Benjafield_WMDE, mrephabricator, Astuthiodit_1, MaryMunyoki, Prufkick, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, Mahir256, QZanden, srishakatux, LawExplorer, _jensen, rosalieper, Scott_WUaS, Srdjan, MuhammadShuaib, LNDDYL, Nikki, Psychoslave, Wikidata-bugs, aude, Gryllida, Shizhao, Arrbee, Mbch331, Jay8g
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org