Open main menu

Extension talk:Tabber


Talk Page WipedEdit

The previous talk page contents were wipe because they related to the old version of Tabber. Tabber has been overhauled and fixes all known previous security issues. Alexia E. Smith (talk) 19:23, 10 March 2015 (UTC)

Tabber: Section does not existEdit

Attempting to edit a section within Tabber 2.3 and MW 1.24.1 returns a 'section does not exist' error. Not really a big deal but weird. Thoughts?

Tabber undefined variableEdit

In Tabber.hooks.php line 42 reports an error, htmlTags is undefined. Mediawiki registers <tabber>, but does nothing.

FIX: Need to add one line like shown below:

$key = md5($input);
$arr = explode("|-|", $input);
$htmlTabs = ''; //this line initializes variable and fixes an error
foreach ($arr as $tab) {
	$htmlTabs .= self::buildTab($tab, $parser); //this line reports an error

Source: GitHub

Missing paragraphs on content of tabsEdit

It seems that paragraphs are not working on the tabs. For example:

tab1=Text form line 1

Text form line 2
tab2=Text form line 1

Text form line 2

On normal pages the content of tab1 would look like this: <p>Text form line 1</p> <p>Text form line 2</p> (Two new lines are a new paragraph), but in the tab these

are missing and so there the line breaks are missing. Show normal content within a tab is so not realy nice. --Scharesoft (talk) 15:41, 10 April 2015 (UTC)

  • I can confirm that this is still happening on MW 1.29 and Tabber 2.4. It can be fixed by manually adding <p> tags to only the first paragraph (the rest will then fall in line after it). Including templates which terminates in a </blockquote> at the top also fixes the display issue. 04:51, 19 October 2018 (UTC)

Parser error wrecking my site!Edit


I've been using Tabber quite happily on my site for some time now (though I'm slowly phasing it out - no fault of Tabber, just a change in the way I do things). However, just recently I've been forced to rebuild my site on another server and now Tabber is causing me a problem - whenever I activate it in LocalSettings my pages all show the following message:

"Parse error: syntax error, unexpected '[' in /home/[SITE NAME]/public_html/extensions/Tabber/Tabber.php on line 16"

Just that one line - nothing else. As you can imagine this is causing chaos on my site! Anyone got any ideas what might be causing this and how to fix it?

Many thanks in advance!

Tab Selection within a LinkEdit

is there a way to select a tab from a link, if so what is the link syntax to perform this action?

It should work the same as linking to a section, for example to link to My Section on Page you would use [[Page#My Section]]. However, when there is a space like in this example, it won't work because it automatically converts the space into %20 instead of an underscore like in a header. This frustrated me after downloading this extension, so I fiddled around with tabber.js and with a slight alteration I managed to fix the issue.
You can just replace your tabber.js with this one and it should work fine with spaces. Other special characters will break it though. Please devs make an official fix for this! It would be really appreciated from those of us who are using tabs to separate a lot of content. Hylian pi (talk) 10:05, 27 June 2018 (UTC)
If you have a GitHub account, you can easily fork the project, make the change (from the interface itself) and do a pull request to notify the maintainer about your change and it would be eventually merged. --Ciencia Al Poder (talk) 17:44, 29 June 2018 (UTC)

Tabber Issue: Tabs do not wrapEdit

Hey all. I'm hopeful someone on here can assist me with an issue I'm having with the most recent version of Tabber.

Product Version MediaWiki 1.26.2 PHP 5.4.45 (cgi-fcgi) MySQL 5.5.50-cll ICU 4.2.1

The tabber tabs work fine. However, they run off the right hand side of the page; I could've sworn that the last time I used a lot of tabs all together, they were able to wrap. I have also attempted to put them inside a div to force-wrap them and it still doesn't work; it just continues off the edge of the page on the right. Any help would be appreciated. EDIT: I got it to force-wrap; however the wrapping is weird, the bottom row is just slightly 'on top' of the top row'.

PDF renderingEdit

Anyone have a problem with the page rendering to PDF properly on which this extension is being used? The source code is being generated instead of the published page. Looks like the mwlib rendering software is incapable of rendering any page using Tabber.

Return to "Tabber" page.