Community Wishlist Survey 2021/Wikidata/Link red links to Wikidata, for future reference and more benefits

From Meta, a Wikimedia project coordination wiki

Link red links to Wikidata, for future reference and more benefits

  • Problem: red links can not be linked to Wikidata, although in most cases a decent Wikidata-item already exists
  • Who would benefit: Future writer of the article, plus the reader that hits the red link can already get some info from both WikiData or other languages
  • Proposed solution: Find a format like [[:d:Q8493024:red link|Show this text]] to connect the items
  • More comments:
  • Phabricator tickets:
  • Proposer: Edoderoo (talk) 19:26, 20 November 2020 (UTC)Reply[reply]


  • I see the point in this proposal but a reader of say a Wikipedia shouldn't come to Wikidata by following a normal looking link without warning, so the link should somehow be marked as a Wikidata link. Also there must be a way to convert the links to Wikidata to ordinary links once a local article on the link topic is created. That can maybe be a bot job. --Dipsacus fullonum (talk) 13:37, 21 November 2020 (UTC)Reply[reply]
    • Sure, probably by having the links in a certain different colour, different from the blue links we already have. Edoderoo (talk) 17:57, 21 November 2020 (UTC)Reply[reply]
  • @Edoderoo: I don't think the proposal is clear enough. w:Template:Interlanguage link already exists (and is available on multiple wikis), and its functionality seems to overlap substantially with what you've described. Are you proposing functionality that that template already has, or are you proposing that similar functionality should be implemented in MediaWiki or in an extension? Jc86035 (talk) 17:26, 21 November 2020 (UTC)Reply[reply]
This template is a en-wiki-thing. I want to link red links on any language, without editing on en-wiki. There is really no overlap at all. Edoderoo (talk) 17:57, 21 November 2020 (UTC)Reply[reply]
The template is on the en-wiki and not wikidata. I also thought about something that finds red links in wikidata and deletes it (or maybe writes all the red links on a special page and users can do it Manually themselves). I'll support any solution to this problem. Euro know (talk) 12:26, 22 November 2020 (UTC)Reply[reply]
  • I very much like this idea, and I made a mockup of how it could work. – Susanna Ånäs (Susannaanas) (talk) 18:01, 22 November 2020 (UTC)Reply[reply]
  • The idea as shown by the mockup by Susanna Ånäs (Susannaanas) is very good and it also allows a red link to remain a red link. Susannaanas seems to support that whatever happens, happens on clicking the red link. I propose that hovering on the red link should do whatever Susannaanas describes. We can even go a step further and when you actually press on the red link, to go to editing (as usual) a new article, prefilled with all available information from wikidata (in the local language), adjusted to existing and expected content. This will allow not only showing the information available (by hovering), but also easier article creation with some content. --FocalPoint (talk) 05:52, 24 November 2020 (UTC)Reply[reply]
  • This is already possible with en:Template:Interlanguage link (often used name ill). See the subsection Link to Reasonator and Wikidata. SportsOlympic (talk) 12:11, 24 November 2020 (UTC)Reply[reply]
    • The template is not structured, i.e. There are no way to systematically query such information and it can not be ensured to be consistent among pages. Ideally user can use red link sample which will points to a page to allow user to either write article or see articles in other languages (i.e. a MediaWiki:Noarticletext with interwiki link present).--GZWDer (talk) 06:09, 26 November 2020 (UTC)Reply[reply]
    • Also, the template has to be created first, and I think we need a solution that is actionable on all existing red links. – Susanna Ånäs (Susannaanas) (talk) 16:12, 26 November 2020 (UTC)Reply[reply]
  • I'll support such a thing. My talk at Wikimania 2019 was about essentially the same idea: wikimania:2019:Technology outreach & innovation/Let's completely change how wiki links work. Some people in this discussion mention templates as a solution, but this is not good enough, because templates are different in every wiki. This must be done uniformly in all wikis, so it must be on the common wiki syntax level and not on the template level (another option is to fully implement Global templates, which is necessary anyway, but that project is probably not for Community tech). --Amir E. Aharoni (talk) 08:16, 27 November 2020 (UTC)Reply[reply]
  • I proposed something like this already here: Community_Wishlist_Survey_2015/Wikidata, but I misread your problem, which is to keep the color of the link red, which I agree is key in both the discovery process (inline search) as well as the article creation process (doesn't exist? maybe I will make it!). My proposal, like yours, wasn't to change Wikidata UI, but to change the Wikipedia UI in the way redirects are implemented on the Wikipedia side, so instead of #REDIRECT [[Target]] you would see something like #REDIRECT [[d:Qid|Target]] where the Qid is optional for the redirect (most redirects for Q5 items are alternate spellings and don't need any alternate than the direct local target). My idea would initiate a dialog box for the one clicking on the redirect. Your proposal to create redirects like this for redlinks is new and could be a different way to tackle the perennial issue of explaining the Bonnie & Clyde problem to newbies. Jane023 (talk) 11:26, 29 November 2020 (UTC)Reply[reply]
  • Shouldn't them link to Abstract Wikipedia? The developers should work on Abstract Wikipedia first, and this issue could be resolved once Abstract Wikipedia is opened.--Midleading (talk) 03:55, 1 December 2020 (UTC)Reply[reply]
    • This feature should exists independent of Article Placeholder or Abstract Wikipedia.--GZWDer (talk) 05:13, 1 December 2020 (UTC)Reply[reply]
  • If the link would work find automatically the correct target page then it would be useful for non-wikipedia wikis (like wikinews, wikivoyage, commons) for automatically linking to wikipedia if target page cannot be found in local wiki. Biggest improvement in this case would be the user interface for selecting the correct target page from external wiki (wikidata). --Zache (talk) 09:32, 1 December 2020 (UTC)Reply[reply]
    • Sometimes introduce an placeholder page may achieve better user experience. Note in many Wikipedias links should not directly go to foreign Wikipedia; instead they use a red link with alternative links to other Wikipedia.--GZWDer (talk) 10:41, 1 December 2020 (UTC)Reply[reply]
      • I didn't mean really this for Wikipedia, but in example it is common to link from Wikinews, Wikibooks or Wikivoyage to same language Wikipedia. Currently this takes too much manual work as you need first find the page from wikipedia, write the link with explicit target ([[:w:Turku|Turku]] vs [[Turku]]) and then manually test if the link actually works as it is not red if the target page is missing. --Zache (talk) 10:58, 1 December 2020 (UTC)Reply[reply]
  • Concern: What happens when someone connects Kenneth B. Smith to a Wikidata item, and then someone creates w:Kenneth Baxter Smith? Especially if we start linking redirects to Wikidata, this could get messy, and I'd want to see some response about how to avoid creating duplicates before I'd be comfortable supporting this. {{u|Sdkb}}talk 18:22, 9 December 2020 (UTC)Reply[reply]
  • en:Template:Interlanguage link already does this. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 20:50, 9 December 2020 (UTC)Reply[reply]
  • Click on any redlink in russian version of Template:Vulpecula. We are preloading simple boilerplate text that is intended to assist further article creation. Once test is saved, bot will link it to the designated wikidata item. This way redlink behavior is familiar for existing users and we are utilizing some wikidata information Ghuron (talk) 03:52, 10 December 2020 (UTC)Reply[reply]
  • I think that the titles of not yet created articles should be stored in a special property of Wikidata. For example, we need to generate links to Q28665219 which will have text Svetlana Mironova (biathlete) because other en:Svetlana Mironova exists. For projects where any data is loaded into infoboxes, the problem of correct automated red wikification is already there. Сидик из ПТУ (talk) 10:49, 10 December 2020 (UTC)Reply[reply]
  • IMPORTANT: Consensus has been established on EnWiki AGAINST linking to Wikidata in the body of the article. Guideline External links#Linking to Wikidata states "Wikidata should not be linked to within the body of an article", as established in New RFC on linking to Wikidata. Alsee (talk) 01:33, 26 January 2021 (UTC)Reply[reply]