Bug#782710: wiki.debian.org: highlight a code that needs to be executed as root

chen kao <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <CAEGjoYnsDP4pABjdg-c2P3nCvai8r2C-g7CoZTNQrA4UrDWafQ__12675.6700374701$1429200572$gmane$org@mail.gmail.com>
Package: wiki.debian.org
Severity: wishlist

Dear Maintainer,

In the wiki, It would be nice if we could highlight a code that needs to be
executed as
root, and mark a clear difference with a user code or a command result.

"Root code" which could be open with: {{{# or {{{#root and have a red css
border (border: 1px solid #c70036;)
"User code" which could be open with: {{{$ or {{{$user and have a more dark
grey css border (border: 1px solid #494a4d;)
"Sample code" still be opened with: {{{ with no border block change

An other advantage is to avoid the signs # and $ when you copy/paste a
command.

In the french wiki debian-facile.org we already use this trick with a more
complex css : http://wiki.debian-facile.org/doc:media:vlc

I don't know if it's easy to patch/configure the moinmoin wiki to do such
things. It requires to make a difference between : {{{, {{{$ and {{{#


Kind regards
Simon Folco (aka Kao)
WikiProposal.png (image/png, 21.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.