You are not logged in.

#1 2021-09-11 03:26:03

grufo
Member
Registered: 2012-08-09
Posts: 100

MediaWiki TemplateStyles – did not work out as expected

I have tried to create Template:Uc and Template:Rc in the ArchWiki following the instructions from https://www.mediawiki.org/wiki/Extension:TemplateStyles, but obviously without success.

The idea was to create two variants of Template:Hc, one for user commands with output, the other for root commands with output, using the CSS for appending the dollar sign and the hash sign, thus preventing the latter from being copied and pasted together with the command that follows.

This would have worked if the ArchWiki had been Wikipedia. Any idea on how to insert a custom CSS in the ArchWiki?

Offline

#2 2021-09-11 03:28:51

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: MediaWiki TemplateStyles – did not work out as expected

You really should discuss this with the maintenance team here: https://wiki.archlinux.org/title/Help_talk:Template


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2021-09-11 03:31:32

grufo
Member
Registered: 2012-08-09
Posts: 100

Re: MediaWiki TemplateStyles – did not work out as expected

Thank you, Jason. Sounds like the way to go.

Offline

Board footer

Powered by FluxBB