Template
Difference between revisions of "LexemeQueriesGenerator"
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | == | + | <div id="lqg"></div> |
− | + | <noinclude> | |
− | + | == 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. |
− | + | * 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:{{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] | ||
+ | |||
+ | {{Technicals}} | ||
+ | </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
- 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)
Helpers
- Inspired by : https://sinaahmadi.github.io/SPARQLify/
- Hackpad with OOUI
- OOUI Select and options widgets
- OOJS/OOUI demo