Community Wishlist Survey 2022/Larger suggestions/Prompt users to replace article text with Wikidata-derived data/Proposal

From Meta, a Wikimedia project coordination wiki
  • Problem: Data in articles is stored in raw text and often unspecifically referenced. That same data is or could be stored and cited from Wikidata and be directly referenced.
  • Proposed solution:
    • When editing an article, a system automatically recognizes textual data in articles that could be represented on Wikidata and shows small prompt dialogs by the statements asking the user to convert the text to a template that derives data from Wikidata such as Template:Wikidata (Q8478926). If the statement does not exist on the article's or a related item yet, the system will prompt the user to create the statement and will provide a UI in the article to do so. If reference(s) are nearby the statement, the system will also be able prompt the user if they want to use that reference for the statement.
    • Example usage: A user is editing Barack Obama. A small dialog box appears above the text/wikitext He graduated with a [[Bachelor of Arts]] degree in 1983 and a 3.7 [[Grading (education)#United States|GPA]]. stating, "This phrase can be converted to be sourced from Wikidata." If the user selects to do so, the phrase will reference this statement on Obama's item and the text/wikitext will be replaced with: He graduated with a {{Wikidata|qualifier|linked|P69|Q49088|P512}} degree in {{Wikidata|qualifier|P69|Q49088|P582}} and a 3.7 [[Grading (education)#United States|GPA]].
  • Who would benefit: All projects. When statements with references are added to Wikidata, anyone on any wiki can use that data.
  • More comments:
  • Phabricator tickets:
  • Proposer: Lectrician1 (talk) 21:01, 11 January 2022 (UTC)[reply]