aMule Forum
English => Feature requests => Topic started by: woutermense on June 04, 2009, 11:10:53 PM
-
I am editing an article on the wiki and the table of contents is growing too large. (amuleweb php (http://www.amule.org/wiki/index.php/AMuleWeb_PHP)).
What I would like to do is use a template I created to limit the level of headings that can be in the table of contents (TOClimit (http://www.amule.org/wiki/index.php/Template:TOClimit)).
In order to use this template I would like to have some CSS added to http://www.amule.org/wiki/index.php?title=MediaWiki:Common.css (http://www.amule.org/wiki/index.php?title=MediaWiki:Common.css)
/* Allow limiting of which header levels are shown in a TOC;
<div class="toclimit-3">, for instance, will limit to
showing ==headings== and ===headings=== but no further
(as long as there are no =headings= on the page, which
there shouldn't be according to the MoS).
*/
.toclimit-2 .toclevel-2,
.toclimit-3 .toclevel-3,
.toclimit-4 .toclevel-4,
.toclimit-5 .toclevel-5,
.toclimit-6 .toclevel-6,
.toclimit-7 .toclevel-7 { display: none; }
If any of the wiki admins would do this for me please? :)
by the way:
http://en.wikipedia.org/wiki/Help:Section#Limiting_the_TOC (http://en.wikipedia.org/wiki/Help:Section#Limiting_the_TOC)
http://en.wikipedia.org/wiki/MediaWiki:Common.css (http://en.wikipedia.org/wiki/MediaWiki:Common.css)
-
I'll take a look at updating the software first, then add that if needed.
this weekend.
probably.
-
Let me use this opportunity to suggest the installation of a Syntax Highlighting extension (http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi) for Mediawiki.
Since there are some wiki pages with embedded source code, it would be good to have them syntactically highlighted. Makes them easier to read and understand.