SMW FACTBOX

Jump to: navigation, search

The page says

In addition to user-defined tabs, Header Tabs can convert the Semantic MediaWiki factbox into a tab, and add it as the last tab in the tab view.

That makes it sound like some kind of automatic, possible thing. Or is it just talking about

= Factbox =
__SHOWFACTBOX__
<headertabs/>

?

Aquatiki07:37, 30 March 2011

It is automatic - just adding last tab. Someone might want to change that to support __SHOWFACTBOX__ to move it around, but it's no there yet ;)

Sergey Chernyshev16:02, 30 March 2011

So what you are saying is that is you have $smwgShowFactbox = SMW_FACTBOX_NONEMPTY; then it will automatically make it a tab?

Aquatiki21:18, 30 March 2011

It depends on what version of MediaWiki you're using - if you have MW 1.16 or lower, then I think the factbox will show up automatically in a tab called "Factbox". If you have 1.17 or higher, then unfortunately I don't think you can get the factbox to show up in a tab, even if you try to do it manually.

Yaron Koren16:48, 27 June 2011

That's what I thought. :-(

Aquatiki00:36, 28 June 2011

If you put = Factbox = in with Version 1.17 it does create the Factbox tab and shows the Factbox under the Factbox tab. What is broken is the Factbox showing at the bottom of the page when any other tab is used or the main tab on landing at the page. Kind of defeats the purpose of the Factbox tab if it showing under all the tabs. Then again, I'm not sure if the Factbox is just showing under the Factbox tab because it is under every tab. I have no content under under the tab = Factbox = so that may be the case.

Is there a fix yet, or planned fix for 1.7? Building a new semantic wiki and I would have stayed with 1.16 if I knew this was still a bug. I wonder if you can control it with CSS?

Hutchy6816:21, 6 December 2011
 
 
 
 
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox