Help:WikiConfig: Difference between revisions
From GDPRhub
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
At [[Template:Documentation/layout]], there is an attempt at setting up a template. It cannot work like this. AFAICT, it needs at least: | At [[Template:Documentation/layout]], there is an attempt at setting up a template. It cannot work like this. AFAICT, it needs at least: | ||
* the [https://www.mediawiki.org/wiki/Extension:ParserFunctions MediaWiki:ParserFunctions] extension for | * the [https://www.mediawiki.org/wiki/Extension:ParserFunctions MediaWiki:ParserFunctions] extension for <code>#ifeq</code> to work; | ||
* the [https://www.mediawiki.org/wiki/Extension:Scribunto MediaWiki:Scribunto] extension for | * the [https://www.mediawiki.org/wiki/Extension:Scribunto MediaWiki:Scribunto] extension for <code>#invoke</code> to work (this adds the Module namespace, where you can script in Lua or copy paste code existing elsewhere). | ||
It would be very helpful to have at least the ParserFunction extension installed. Then we could define a Template for DPA, and refer to the DPAs of each country through <code><nowiki>{{DPA|BE}}</nowiki></code>, <code><nowiki>{{DPA|PL}}</nowiki></code>, etc. Same for <code><nowiki>{{GDPR|11|2}}</nowiki></code> etc, which I suppose would make it considerably easier to write things up. | It would be very helpful to have at least the ParserFunction extension installed. Then we could define a Template for DPA, and refer to the DPAs of each country through <code><nowiki>{{DPA|BE}}</nowiki></code>, <code><nowiki>{{DPA|PL}}</nowiki></code>, etc. Same for <code><nowiki>{{GDPR|11|2}}</nowiki></code> etc, which I suppose would make it considerably easier to write things up. |
Revision as of 00:30, 22 January 2020
At Template:Documentation/layout, there is an attempt at setting up a template. It cannot work like this. AFAICT, it needs at least:
- the MediaWiki:ParserFunctions extension for
#ifeq
to work; - the MediaWiki:Scribunto extension for
#invoke
to work (this adds the Module namespace, where you can script in Lua or copy paste code existing elsewhere).
It would be very helpful to have at least the ParserFunction extension installed. Then we could define a Template for DPA, and refer to the DPAs of each country through {{DPA|BE}}
, {{DPA|PL}}
, etc. Same for {{GDPR|11|2}}
etc, which I suppose would make it considerably easier to write things up.