Tacsipacsi added a comment.
What about adding a hook to `SiteLinkTable::getItemIdForLink` that allows Translate to fake the item ID (by providing the item ID of the translatable page)? It would make translations of connected pages work the same way as the translatable pages themselves: not appearing in Special:UnconnectedPages; showing interlanguage links; allowing access to Wikidata data without having to use `mw.wikibase.getEntityIdForTitle()` in Lua; etc. (Maybe the hook should run only if there is no data in the database, i.e. only allow adding virtual sitelinks to pages that have no real sitelinks, and don’t allow changing/removing real sitelinks.) TASK DETAIL https://phabricator.wikimedia.org/T311409 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Tacsipacsi Cc: Tacsipacsi, Lucas_Werkmeister_WMDE, Aklapper, Nikerabbit, Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
