Help:WikiConfig: Difference between revisions
From GDPRhub
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
* 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). | * 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 <code>{{DPA|BE}}</code>, <code>{{DPA|PL}}</code>, etc. Same for <code>{{GDPR|11|2}}</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:29, 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:ParserFunction 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.