Help:WikiConfig: Difference between revisions

From GDPRhub
(Suggestion re: templates)
 
 
(5 intermediate revisions by one other user not shown)
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:
== Extensions ==
* 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 <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.
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 <code>#ifeq</code> to work;
* 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. [[User:Pdehaye|Pdehaye]] ([[User talk:Pdehaye|talk]]) 00:33, 22 January 2020 (UTC)
 
== Sidebar ==
I would personally find it easier if the sidebar included links to [[Special:RecentChanges]] and [[Special:Categories]]. I can't edit stuff in the MediaWiki namespace though, so someone else will have to do it (you can edit the sidebar at [[MediaWiki:Sidebar]]) [[User:Pdehaye|Pdehaye]] ([[User talk:Pdehaye|talk]]) 00:33, 22 January 2020 (UTC)

Latest revision as of 13:07, 15 September 2021

Extensions

At [Template:Documentation/layout], there is an attempt at setting up a template. It cannot work like this. AFAICT, it needs at least:

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. Pdehaye (talk) 00:33, 22 January 2020 (UTC)

Sidebar

I would personally find it easier if the sidebar included links to Special:RecentChanges and Special:Categories. I can't edit stuff in the MediaWiki namespace though, so someone else will have to do it (you can edit the sidebar at MediaWiki:Sidebar) Pdehaye (talk) 00:33, 22 January 2020 (UTC)