Ghuron added a comment.
I want to describe how things are (almost) implemented in ru-wiki to give some context regarding how this functionality can help community. The desired user story is pretty simple: 1. When I'm editing an article and have a red link, but knows that article exists in another language wikipedia, I'm leaving a hint there (e.g. `{{Interlanguage link|Arthur Kaan|de||vertical-align=sup}}` in en-wiki) 2. When someone else is clicking on the red link ... 1. ... browser open an article creation page with some content pre-generated based on wikidata (e.g. correct infobox) and language sitelinks are already displayed 2. ... preview shows infobox populated from the specified wikidata item 3. ... and save article, it automatically placed as a sitelink in the corresponding wikidata item In order to achieve this, in ru-wiki we have several components: 1. Most of infoboxes accept parameter `from=` (e.g. `{{Infobox enzyme|from=Q1262082}}`), so it can be used to display infobox for (yet) non-existing article 2. Infobox modules, that shows info from wikidata are able to show redlinks and associate it with wikidata element (both visually and in the url `from=Q1117754`) see F34917751: Screenshot 2022-01-14 10.02.18.png <https://phabricator.wikimedia.org/F34917751> 3. JS-gadget <https://github.com/ruwiki/redlinks>, that 1. looks for interlanguage links such as `{{Ill|HD 165493|it}}` 2. gets wikidata element (Q2399598) for https://it.wikipedia.org/wiki/HD_165493 3. adds `from=Q2399598` to red link url 4. JS-gadget, that invoked when a new article page is opened (e.g. url contains `redlink=1`) and url contains `from=Qxxx` This gadget 1. finds an appropriate infobox and put it in the article text with `from parameter` 2. generates human-readable article preamble based on wikidata item 3. shows language links F34917837: canvas.png <https://phabricator.wikimedia.org/F34917837> 5. Bot that monitors newly created articles and 1. adds article as a sitelink to the corresponding wikidata item (e.g. https://www.wikidata.org/w/index.php?diff=1397217877) 2. removes `from=` parameter from the infobox (e.g. https://ru.wikipedia.org/w/index.php?diff=113447669) How //native// support of `from=Q1234` (or `itemid=Q1234` like proposed above) url parameter could simplify those five components? 1. If parser functions <https://www.mediawiki.org/wiki/Wikibase/Installation/Advanced_configuration#Data_transclusion> invoked on non-existing page will consider this url parameter, we won't need `from=` parameter in infoboxes. Ru-wiki already invested into that, but a lot of other communities does not, so this will save them a lot of effort 2. Nothing really changed here. Server-side generation of redlinks with new parameter is bad idea, so we recommend to keep it on js-gadget (code is trivial) 3. Same here, we will keep it in js-gadget, code is trivial 4. We will still have to do A and B, but C will be done for us by engine 5. That piece can be done by engine easily. Existing bot runs once a day, so for majority of new articles sitelinks are added manually. We are planning to rewrite bot so it will monitor Page creation stream <https://wikitech.wikimedia.org/wiki/Event_Platform/EventStreams>, but streams are not particularly reliable So to summarise, this feature (with small additional contribution from community) can effectively helps editors to create new articles more efficiently and provides clear incentives to enhance wikipedia-wikidata integration. TASK DETAIL https://phabricator.wikimedia.org/T178249 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ghuron Cc: Ghuron, Manuel, MBH, Liuxinyu970226, eranroz, diego, IKhitron, SerDIDG, putnik, Aklapper, VPuffetMichel, ycrepeau, Invadibot, Mohammadmalek554, maantietaja, Ailbeve, Akuckartz, keithbrianpadilla, Demian, Dianliang233, Saimongoltinio, WikimeSteve, ppelberg, Nandana, marcella, Revansx, lucamauri, OhKayeSierra, takidelfin, Lahi, Gq86, Necroarcano, Robinma, GoranSMilovanovic, QZanden, merbst, LawExplorer, Wess, Dvorapa, _jensen, rosalieper, XanonymusX, Scott_WUaS, Srdjan, Jrf, Husun1297, Wikidata-bugs, aude, jeblad, Swainr, TheDJ, Mbch331, Jay8g
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org