Table of contents

Jump to: navigation, search

Could we get a table of contents generated for a tab? It seems a bit trivial to just break up the TOC onto the respective tabs. Some of our tabs are quiete lengthy and we'd like to still be able to use a TOC just for each tab.

As well is there much thought into making some kind of auto-tab through subpages using say a prefix?

Olivier Beaton18:18, 3 November 2011

I wouldn't say the first one is trivial - it would require some significant string parsing and manipulation. Still, it's an interesting idea.

The second one, I didn't understand.

Yaron Koren12:46, 4 November 2011

The 2nd idea is that if I create a subpage of "Bar", say "Bar/tab-Foo" then "Foo" automatically appears as a tab on Bar. While on "tab-Foo" since it has a the "tab-" prefix it would look for sub-pages on it's parent instead of itself, so that you still have the list of tabs.

Another thing I was wondering is if instead of using JQuery tabs there could be an option to integrate into the Vector/MW tab system. That way it's all unified at the top, instead of having tabs -> header -> more tabs.

Personally I'm using Extension:HeadersFooters right now to insert a =General= before every article and a <headertabs/> into the footer of every page. That way people can just make new = = headings and poof new tab.

Is there a reason it overwrites all the default styles for font size and such?

Olivier Beaton13:03, 4 November 2011

Ah. To answer your original question, no, I don't believe there's been any thought put into that.

The vector/MW thing is interesting - if it can be done across all skins, it's definitely worth looking into.

Yaron Koren19:28, 4 November 2011
 
 
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox