Template
Difference between revisions of "Sparql2data"
m (→Blocks) |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
<div id="s2d"></div> | <div id="s2d"></div> | ||
− | <noinclude> | + | <noinclude>__NOTOC__ |
− | == | + | == Administrators == |
− | This | + | This edits the <code>MediaWiki:*</code> namespace, and is thus an administrator tools. |
− | + | == 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 == | == Dependencies == | ||
* [[Template:{{PAGENAME}}]] — html hook for the form | * [[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]] — script | + | *** [[MediaWiki:{{PAGENAME}}.js]] — main script |
== Helpers == | == Helpers == | ||
* [https://jsfiddle.net/hugolpz/x4qmcudj/ Hackpad with OOUI] | * [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] |
+ | |||
+ | {{Technicals}} | ||
</noinclude> | </noinclude> |
Latest revision as of 20:49, 28 December 2023
Administrators
This edits the MediaWiki:*
namespace, and is thus an administrator tools.
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:Sparql2data
Dependencies
- Template:Sparql2data — html hook for the form
- MediaWiki:Common.js — conditionally loads the script when on the right page(s)
- MediaWiki:Sparql2data.js — main script
- MediaWiki:Common.js — conditionally loads the script when on the right page(s)