Template

Difference between revisions of "LexemeQueriesGenerator"

m
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<div id="lqg"></div>
 
<div id="lqg"></div>
 
<noinclude>
 
<noinclude>
== Sources ==
+
== Conditional loading ==
* [[MediaWiki:LexemeQueriesGenerator.js]] — script
+
This service is conditionally loaded on some specific pages only. To use this template into a page you must add that page's title into [[MediaWiki:Common.js]], in the right IF statement.
* [[MediaWiki:Common.js]] — conditionally loads the script when on the right page
+
* see usages: [[Special:WhatLinksHere/Template:{{PAGENAME}}]]
* [[Template:LexemeQueriesGenerator]] — html hook for the form
+
 
* <s>https://jsfiddle.net/hugolpz/rygo9s5b/ — Code original</s>
+
== Dependencies ==
* https://jsfiddle.net/hugolpz/9jqg72u8/ — Refonte de l'UI avec OOUI
+
* [[Template:{{PAGENAME}}]] — html hook for the form
* <s>[[:mw:OOUI/Widgets/Selects and Options]]</s>
+
** [[MediaWiki:Common.js]] — conditionally loads the script when on the right page(s)
* <s>https://doc.wikimedia.org/oojs-ui/master/demos/</s>
+
*** [[MediaWiki:{{PAGENAME}}.js]] — main script
 +
 
 +
== Helpers ==
 +
* Inspired by : https://sinaahmadi.github.io/SPARQLify/
 +
* [https://jsfiddle.net/hugolpz/9jqg72u8/ Hackpad with OOUI]
 +
* [[:mw:OOUI/Widgets/Selects and Options|OOUI Select and options widgets]]
 +
* [https://doc.wikimedia.org/oojs-ui/master/demos/ OOJS/OOUI demo]
 +
 
 +
{{Technicals}}
 
</noinclude>
 
</noinclude>

Latest revision as of 20:46, 28 December 2023

Conditional loading

This service is conditionally loaded on some specific pages only. To use this template into a page you must add that page's title into MediaWiki:Common.js, in the right IF statement.

Dependencies

Helpers

Lingua Libre technical helps
Template {{Speakers category}} • {{Recommended lists}} • {{To iso 639-2}} • {{To iso 639-3}} • {{Userbox-records}} • {{Bot steps}}
Audio files How to create a frequency list?Convert files formatsDenoise files with SoXRename and mass rename
Bots Help:BotsLinguaLibre:BotHelp:Log in to Lingua Libre with PywikibotLingua Libre Bot (gh) • OlafbotPamputtBotDragons Bot (gh)
MediaWiki MediaWiki: Help:Documentation opérationelle MediawikiHelp:Database structureHelp:CSSHelp:RenameHelp:OAuthLinguaLibre:User rights (rate limit) • Module:Lingua Libre record & {{Lingua Libre record}}JS scripts: MediaWiki:Common.jsLastAudios.jsSoundLibrary.jsItemsSugar.jsLexemeQueriesGenerator.js (pad) • Sparql2data.js (pad) • LanguagesGallery.js (pad) • Gadgets: Gadget-LinguaImporter.jsGadget-Demo.jsGadget-RecentNonAudio.js
Queries Help:APIsHelp:SPARQLSPARQL (intermediate) (stub) • SPARQL for lexemes (stub) • SPARQL for maintenanceLingualibre:Wikidata (stub) • Help:SPARQL (HAL)
Reuses Help:Download datasetsHelp:Embed audio in HTML
Unstable & tests Help:SPARQL/test
Categories Category:Technical reports