Template
Difference between revisions of "LexemeQueriesGenerator"
m (→Sources) |
m |
||
Line 1: | Line 1: | ||
<div id="lqg"></div> | <div id="lqg"></div> | ||
<noinclude> | <noinclude> | ||
− | == | + | == Conditional loading == |
− | This | + | 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}}]] | ||
− | + | == Dependencies == | |
− | + | * [[Template:{{PAGENAME}}]] — html hook for the form | |
− | == | ||
− | * [[ | ||
** [[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) | ||
− | * [[ | + | *** [[MediaWiki:{{PAGENAME}}.js]] — main script |
− | == | + | == Helpers == |
− | * | + | * [https://jsfiddle.net/hugolpz/x4qmcudj/ 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] |
− | * | ||
</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
- Template:LexemeQueriesGenerator — html hook for the form
- MediaWiki:Common.js — conditionally loads the script when on the right page(s)
- MediaWiki:LexemeQueriesGenerator.js — main script
- MediaWiki:Common.js — conditionally loads the script when on the right page(s)