Template

Difference between revisions of "LexemeQueriesGenerator"

m
 
(6 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}}]]
  
== Sources ==
+
== Dependencies ==
* [[MediaWiki:LexemeQueriesGenerator.js]] — script
+
* [[Template:{{PAGENAME}}]] — html hook for the form
* [[MediaWiki:Common.js]] — conditionally loads the script when on the right page
+
** [[MediaWiki:Common.js]] — conditionally loads the script when on the right page(s)
* [[Template:LexemeQueriesGenerator]] — html hook for the form
+
*** [[MediaWiki:{{PAGENAME}}.js]] — main script
* <s>https://jsfiddle.net/hugolpz/rygo9s5b/ — Code original</s>
+
 
* https://jsfiddle.net/hugolpz/9jqg72u8/ — Refonte de l'UI avec OOUI
+
== Helpers ==
* <s>[[:mw:OOUI/Widgets/Selects and Options]]</s>
+
* Inspired by : https://sinaahmadi.github.io/SPARQLify/
* <s>https://doc.wikimedia.org/oojs-ui/master/demos/</s>
+
* [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.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