Forum:Extension:Tabber - Setting the default tab displayed

I am using the tabber extension, to hold my SMW forms and I wanted to set the default tab to the second tab instead of the first (Because the infobox input in the form has to be before the article text, or it will display after the article text). I found a function "tabShow(tabindex)" in the tabber javascript to set the tab, but I am unsure how to actually implement it.

Here is a link to the form. Thanks — S im A nt 23:05, September 22, 2012 (UTC)

Stick this in MediaWiki:Common.js. Although it would be more efficient to use &lt;verbatim&gt; to stick it in just the relevant page instead.

[The tabber extension is pretty lame really, it doesn't support nesting (at least, not unless you use and | to work around the bug), it doesn't play well with templates, it breaks headings, it isn't semantic, and the JS supports specifying a default tab, but only by adding a CSS class to the relevant DIV (which you can't since the DIVs are generated by the extension itself, great planning on the part of the author there).] Lunarity 07:00, September 23, 2012 (UTC)


 * I tried the above code in my personal js and also with Verbatim on Form:Test and MediaWiki:TabberSwap, and it causes the tabber not to display at all on those pages. — S im A nt  21:56, September 23, 2012 (UTC)