Template

Difference between revisions of "LexemeQueriesGenerator"

m
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
== Blocks ==
 
* [[MediaWiki:LexemeQueriesGenerator.js]] — script
 
 
** [[MediaWiki:Common.js]] — conditionally loads the script when on the right page(s)
 
** [[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
  
== Sources ==
+
== Helpers ==
* <s>https://jsfiddle.net/hugolpz/rygo9s5b/ — Code original</s>
+
* [https://jsfiddle.net/hugolpz/x4qmcudj/ Hackpad with OOUI]
* https://jsfiddle.net/hugolpz/9jqg72u8/ — Refonte de l'UI avec OOUI
+
* [[:mw:OOUI/Widgets/Selects and Options|OOUI Select and options widgets]]
* <s>[[:mw:OOUI/Widgets/Selects and Options]]</s>
+
* [https://doc.wikimedia.org/oojs-ui/master/demos/ OOJS/OOUI demo]
* <s>https://doc.wikimedia.org/oojs-ui/master/demos/</s>
 
 
</noinclude>
 
</noinclude>

Revision as of 12:45, 18 January 2022

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