Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

Hide Table of contents or remove headings from it?

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


lastwebpage at gmail

Jun 7, 2008, 8:25 AM

Post #1 of 3 (3222 views)
Permalink
Hide Table of contents or remove headings from it?

Hello,
I have a page with the following content:

==A==
Text
==B==
Text
...
==Z==
Text
==more content 1==
Text
==more content 2==
Text
==more content 3==
Text

I want:
-remove A-Z from the table of contents
-or at least collapse the table of contents per default (on this site)

Is this possible? Some other ideas?

Peter




_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

Jun 7, 2008, 2:31 PM

Post #2 of 3 (3170 views)
Permalink
Re: Hide Table of contents or remove headings from it? [In reply to]

Peter Flindt wrote:
> Hello,
> I have a page with the following content:
>
> ==A==
> Text
> ==B==
> Text
> ...
> ==Z==
> Text
> ==more content 1==
> Text
> ==more content 2==
> Text
> ==more content 3==
> Text
>
> I want:
> -remove A-Z from the table of contents
> -or at least collapse the table of contents per default (on this site)
>
> Is this possible? Some other ideas?
>
> Peter

Table of Contents collapsing stauts depends on how you left that last
time, although you could auto-collapse it per article via global javascript.
The easier would be probably using __NOTOC__ to avoid showing it at all.
Or if your wiki has NavFrame, you can embed the TOC on it.


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


jidanni at jidanni

Jun 11, 2008, 1:07 PM

Post #3 of 3 (3162 views)
Permalink
Re: Hide Table of contents or remove headings from it? [In reply to]

P> The easier would be probably using __NOTOC__ to avoid showing it at all.
Say, maybe things like __NOTOC__ should be enhanced to only kick in at
the point where they are in the file. That way one could toggle on and
off what parts of the file should end up in the TOC.

Of course this is just a plot by me to complicate things to the max, so bye.

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.