Template
Difference between revisions of "LexemeQueriesGenerator"
m (→Important) |
m (→Sources) |
||
Line 6: | Line 6: | ||
Pages loading that script: [[Special:WhatLinksHere/Template:LexemeQueriesGenerator]] | Pages loading that script: [[Special:WhatLinksHere/Template:LexemeQueriesGenerator]] | ||
− | == | + | == Blocks == |
* [[MediaWiki:LexemeQueriesGenerator.js]] — script | * [[MediaWiki:LexemeQueriesGenerator.js]] — script | ||
− | * [[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 | * [[Template:LexemeQueriesGenerator]] — html hook for the form | ||
+ | |||
+ | == Sources == | ||
* <s>https://jsfiddle.net/hugolpz/rygo9s5b/ — Code original</s> | * <s>https://jsfiddle.net/hugolpz/rygo9s5b/ — Code original</s> | ||
* https://jsfiddle.net/hugolpz/9jqg72u8/ — Refonte de l'UI avec OOUI | * https://jsfiddle.net/hugolpz/9jqg72u8/ — Refonte de l'UI avec OOUI |
Revision as of 16:45, 7 January 2022
Important
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.
Pages loading that script: Special:WhatLinksHere/Template:LexemeQueriesGenerator
Blocks
- MediaWiki:LexemeQueriesGenerator.js — script
- MediaWiki:Common.js — conditionally loads the script when on the right page(s)
- Template:LexemeQueriesGenerator — html hook for the form
Sources
https://jsfiddle.net/hugolpz/rygo9s5b/ — Code original- https://jsfiddle.net/hugolpz/9jqg72u8/ — Refonte de l'UI avec OOUI
mw:OOUI/Widgets/Selects and Optionshttps://doc.wikimedia.org/oojs-ui/master/demos/