jhsoby added a comment.

  The way I imagine this would be to have a parser function called 
`{{#wikidata:}}` (the name is obviously just a suggestion). So for any page on 
the Incubator that is about Norway, you would add `{{#wikidata:Q20}}`. The 
availability of this parser function should be limited to only a small number 
of wikis, via a configuration switch in InitialiseSettings.php, let's just call 
it `wgAllowWikibaseAssigning`, which defaults to `false`, but can be set to 
`true` for the relevant wikis (maybe also only allow it for a limited set of 
namespaces?). For enabled wikis, the parser function should do what the 
description says; for all other wikis, it could either just show up in plain 
text (like `{{SHORTDESC:}}` does outside of enwiki), or just not show at all, 
or not show, but add a tracker category. The latter would be useful for bots to 
connect articles to Wikidata items after a wiki has been approved and exported 
from the Incubator to a proper separate wiki.

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

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

To: jhsoby
Cc: Lydia_Pintscher, Lucas_Werkmeister_WMDE, jhsoby, Aklapper, Astuthiodit_1, 
karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Nintendofan885, Akuckartz, 
Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to