Community Wishlist Survey 2022/Wikidata/Import references from wikipedia

Import references from wikipedia

  • Problem: References contained in wikipedia's article need to be manually added to the wikidata object page.
  • Proposed solution: bot to check references of an article and add to related wikidata page.
  • Who would benefit: Increases credibility of information to readers and streamlines editors' work.
  • More comments:
  • Phabricator tickets:
  • Proposer: Elilopes (talk) 18:30, 20 January 2022 (UTC)Reply[reply]


  • How do you propose this bot will work? This is a very hard problem in general (natural language processing--the reason we have Wikidata is to get away from that in some ways), and wikitext makes it doubly so. --Izno (talk) 05:51, 21 January 2022 (UTC)Reply[reply]
    Alternatively, a gadget would probably work quite well, I just don't know if such a gadget would be technically viable (a browser extension might be). --Izno (talk) 05:52, 21 January 2022 (UTC)Reply[reply]
    For references with DOI, Magnus's bot regularly imported them to Wikidata (but it is probably not active nowadays). References still need to be added to Wikidata items manually. phab:T199197 may help.--GZWDer (talk) 10:46, 21 January 2022 (UTC)Reply[reply]
  • A workflow to convert existing well-structured references to be hosted on Wikidata is needed until Wikipedia defaults to using Wikidata for references and all legacy references are converted. In cases where this is completely defined (such as DOIs), a bot could do it; in other cases it would probably be wiser for there to be a gadget that presents the suggested change to the user, and after approval (and any necessary changes) does the work of adding the reference to Wikidata (or finding it if it already exists) and making the Wikipedia edit to replace the old reference with the new one. Silver hr (talk) 20:28, 2 February 2022 (UTC)Reply[reply]
  • Even collecting references from linked Wikipedias, and exposing them on or near a Wikidata item would likely lead to some ease in reference adding. This would be quite neat ·addshore· talk to me! 23:06, 4 February 2022 (UTC)Reply[reply]