Community Wishlist Survey 2017/Wiktionary/Add "Insert Attestation" to VisualEditor

From Meta, a Wikimedia project coordination wiki

Add "Insert Attestation" to VisualEditor

  • Problem: Wiktionaries definitions relies on attestations, sentences from any corpora illustrating the use of a word. Wikisource may be an excellent corpus for Wiktionaries but it is uneasy to exploit.
  • Who would benefit: Wiktionaries and Wikisources mainly. As an example, French Wiktionary offer 330.000+ attestations but less than 3% of those came from Wikisource. A lot of entries do not have attestation and could benefit from an easy way to add them. On a more general view, it could benefit both projects to have more connectivity between them, to drive readers from a definition to a text.
  • Proposed solution: This feature is inspired by Insert media but targeting Wikisource instead of Wikimedia Commons. So, instead of an instant search offering pictures, it should display sentences from Wikisource that include the targeted sequence of characters (no meaning requirement). That's a snippets of results that you can choose from. A contributor should grab a sentence with a single click. The feature finally copy the sentence (no transclusion) and the source of the sentence (with the page in the original manuscript optimally) in the Wiktionary page and that's it!


  • I strongly endorse this proposition. --Lyokoï (talk) 09:21, 8 November 2017 (UTC)[reply]
    Thanks dude, but as indicated on the light blue notice: Voting phase begins November 27th, once all the proposals are finalized. Votes cast before then won't count. Noé (talk) 11:19, 8 November 2017 (UTC)[reply]
  • I also endorse this proposal. --Psychoslave (talk) 09:22, 8 November 2017 (UTC)[reply]
    Now, to give more feeback, I think the feature should allow to find all occurrences of the current article name – and possibly valid inflections for the lexical item of the current section –, but also to provide recorded feedback of what users suggest as the matching definition, or marking it as false positive.
    I don't want this tool to look for inflections, because it means the suggested software request a stemming tool, and that's a different story. I don't want it to be too complicated for a start. Plus, I think the position for attestation will become more rigorous as the completion increase and attestations for inflections will be in inflections pages. So, it is better to display only exact correspondence based on characters. Noé (talk) 11:08, 8 November 2017 (UTC)[reply]
  • It sounds as an excellent idea, I will come back on November 27th to endorse the proposal. --Wikinade (talk) 21:48, 11 November 2017 (UTC)[reply]
  • Personally, I would rather have this as a gadget or part of the WikiText editor than as part of VisualEditor. Kaldari (talk) 19:41, 21 November 2017 (UTC)[reply]
  • I like the idea of parsing Wikisource texts and using extracted sentences for Wiktionary citations. I think that this work will be impossible without lemmatiser for Russian language (and other languages with a lot of inflected forms of a word). It will be interesting to see the search result from Wikisource in KWIC-format. -- Andrew Krizhanovsky (talk) 08:20, 30 November 2017 (UTC)[reply]