Help:WikiConfig: Difference between revisions

From GDPRhub
(Suggestion re: templates)
 
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 <pre>{{DPA|BE}}</pre>, <pre>{{DPA|PL}}</pre>, etc. Same for <pre>{{GDPR|11|2}}</pre> 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>{{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.

Revision as of 00:27, 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 Template:DPA, Template:DPA, etc. Same for Template:GDPR etc, which I suppose would make it considerably easier to write things up.