Template

Difference between revisions of "LexemeQueriesGenerator"

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