Page MenuHomePhabricator

Review external tools qid transmission for bot support
Open, MediumPublic

Description

Process

  1. Create a wikidata query with <code>?id</code> and <code>?label</code> fields, '''run the query''' : on the bottom right : "Links" > "SPARQL endpoints" <--- copy that link
  2. On lingualibre, Step "List", open "External tools" : paste the "SPARQL endpoint" link, run. The list should be populated.
  3. Record, publish on Commons, then wait 2 weeks : there are Wikidata+Commons bots doing the work you asked.

Legacy behavior

  • On legacy, recording via External tools wikidata query provided SDC info so later bots would add the audio pronunciations to the Wikidata item.

Todo

  • Pass item ?id down to Vue stores["record-wizard"].items[i] as "qid"
  • Pass qid to upload2commons.py as P180
  • Write qid into Commons SDC.
  • In upload2commons.py, simplify the wikitext : {{Lingua Libre record}} does NOT need parameter when SDC is available.

See also

Event Timeline

js
[
	// Input
	{"id":926143,"displayAs":"ours","type":"word"},
	// Locale list
	{"id":121256,"displayAs":"chien","type":"word"},
	// Nearby
	{"id":490712,"displayAs":"cimetière de Saint-Justin (a proximité du Château de Fondat)","type":"word","qid":"Q110347185"},
	// Categories
	{"id":617486,"displayAs":"oursin","type":"word"},
	// External tools > Items
	{"id":798551,"displayAs":"Elena Poniatowska","type":"word","qid":"Q261397"},
	// External tools > Lexemes
	{"id":613803,"displayAs":"amalgames","type":"word","qid":"L10002-F2"},
	// Wikidata Lexemes
	{"id":216530,"displayAs":"tigre","type":"word","qid":"L25650"},
]
  • 2025-10-31T12:56:43 [[File:LL-Q150 (fra)-Yug-Elena Poniatowska.wav]]
  • 2025-10-31T12:56:39 [[File:LL-Q150 (fra)-Yug-oursin.wav]]
  • 2025-10-31T12:56:33 [[File:LL-Q150 (fra)-Yug-ours.wav]]
  • 2025-10-31T12:56:27 [[File:LL-Q150 (fra)-Yug-amalgames.wav]]
  • 2025-10-31T12:56:23 [[File:LL-Q150 (fra)-Yug-cimetière de Saint-Justin (a proximité du Château de Fondat).wav]]
  • 2025-10-31T12:56:15 [[File:LL-Q150 (fra)-Yug-chien.wav]]
Yug triaged this task as Medium priority.Oct 31 2025, 9:22 PM