Extension talk:Tabber

Talk Page Wiped
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 exist
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 variable
In Tabber.hooks.php line 42 reports an error, htmlTags is undefined. Mediawiki registers, 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 tabs
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: Text form line 1  Text form line 2  (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  tags to only the first paragraph (the rest will then fall in line after it). Including templates which terminates in a at the top also fixes the display issue. 174.20.52.80 04:51, 19 October 2018 (UTC)

Parser error wrecking my site!
Hello,

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 Link
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 . 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.


 * https://drive.google.com/open?id=1cHEY7Ibfv4M5Y8jq8iIByFOk2_6SEr5j


 * 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 wrap
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 rendering
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.
 * Mediawiki sometimes has trouble printing template content to PDF and/or if you are using an extension the issue may be with your extension. You might try adding a PDF extension to mediawiki instead that can parse the templates and other features or using the "Printable Version" link in the Mediawiki sidebar which formats the tab content fine for print. Also, you need to add some print CSS styles for print styling. As print preferences are different for lots of sites, this often isn't included in extensions. Using your browser's web inspector can tell you the style names to target for alternate styling. TiltedCerebellum (talk) 20:16, 17 October 2019 (UTC)

Any plans to make this extension responsive?
It would be awesome to make this extension responsive so that the tabs go to a vertical layout on mobile (source here). A lot of folks recognize that using and maintaining a second mobile theme is very inefficient and are migrating to responsive themes, eliminating the need for extra themes. Responsive would make this extension even better than is now. TiltedCerebellum (talk) 20:04, 17 October 2019 (UTC)

How do I change the tooltip behaviour
When I hover over the content in a tab, it displays a tooltip. Can this be manipulated?

Not functioning in MediaWiki:Edittools
Presumably there's a good reason for this, but this extension isn't working in the MediaWiki:Edittools message. I only found this out after reformatting the message to suit the tabber. NemesisAT (talk) 21:22, 8 May 2020 (UTC)
 * System messages only allow plain text. See: Help:System message TiltedCerebellum (talk) 21:51, 4 August 2020 (UTC)

Use images as tabs?
Is it possible to use images as the tabs for this extension? Masonjar1 (talk) 00:23, 7 December 2020 (UTC)

Save tab last used across wiki
Is there a way to save which tab was last accessed and switch to that automatically, using local storage not database? the problem is that everytime the page is reloaded, the default tab would become the first one.


 * No, but you can reorder the tabs and make the first one the most likely to be used. --Ciencia Al Poder (talk) 14:33, 21 December 2020 (UTC)