Template

Difference between revisions of "LexemeQueriesGenerator"

 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Sources ==
+
<div id="lqg"></div>
* [[User:Yug/common.js]]
+
<noinclude>
* <s>[[User:Yug/MediaWiki:SoundLibrary.js]]</s>
+
== Conditional loading ==
* [[User:Yug/MediaWiki:OOUI.js]]
+
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.
* [[User:Yug/OOUI]]
+
* see usages: [[Special:WhatLinksHere/Template:{{PAGENAME}}]]
* <s>https://jsfiddle.net/hugolpz/rygo9s5b/ - Code original</s>
+
 
* https://jsfiddle.net/hugolpz/9jqg72u8/ - Refonte de l'UI avec OOUI
+
== Dependencies ==
* <s>[[:mw:OOUI/Widgets/Selects and Options]]</s>
+
* [[Template:{{PAGENAME}}]] — html hook for the form
* <s>https://doc.wikimedia.org/oojs-ui/master/demos/</s>
+
** [[MediaWiki:Common.js]] — conditionally loads the script when on the right page(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]
  
== New ==
+
{{Technicals}}
<div id="lqg"></div>
+
</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