aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amule wiki edit/feature request  (Read 3167 times)

woutermense

  • Full Member
  • ***
  • Karma: 18
  • Offline Offline
  • Posts: 154
amule wiki edit/feature request
« 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).

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).

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
Code: [Select]
/* 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/MediaWiki:Common.css
« Last Edit: June 04, 2009, 11:16:23 PM by woutermense »
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: amule wiki edit/feature request
« Reply #1 on: June 05, 2009, 12:22:05 AM »

I'll take a look at updating the software first, then add that if needed.

this weekend.

probably.
Logged

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 524
Re: amule wiki edit/feature request
« Reply #2 on: June 05, 2009, 12:15:19 PM »

Let me use this opportunity to suggest the installation of a Syntax Highlighting extension 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.
Logged