Hello!
I wanted to ask if there is any way to achieve that the inventory is minimized, when you open up an article the first time?
This would be handy as our articles have many sections, so that the inventory is always quite big and unhandy.
Thanks to all contributors!
- Niklas Fleischer
Hi Niklas,
The easiest thing to do to the table of contents is probably to not display it at all. (You can do this by adding __NOTOC__ to an article.) And with style sheets and/or a little javascript you can probably default them to minimized if you want. I don't know the answer offhand though.
Good luck! -Courtney
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of niklas.fleischer@materna.de Sent: Tuesday, November 04, 2008 6:53 AM To: mediawiki-l@lists.wikimedia.org Subject: [Mediawiki-l] Opening an article with minimized inventory?
Hello!
I wanted to ask if there is any way to achieve that the inventory is minimized, when you open up an article the first time?
This would be handy as our articles have many sections, so that the inventory is always quite big and unhandy.
Thanks to all contributors!
- Niklas Fleischer
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Christensen, Courtney wrote:
Hi Niklas,
The easiest thing to do to the table of contents is probably to not display it at all. (You can do this by adding __NOTOC__ to an article.) And with style sheets and/or a little javascript you can probably default them to minimized if you want. I don't know the answer offhand though.
Good luck! -Courtney
There's a preference for the number of subsections to show, plus the wiki remembers if you had the TOC expanded or not on the previous articles to show it the same way when opening a new one.
mediawiki-l@lists.wikimedia.org