Extension talk:Tabber

From MediaWiki.org
Jump to: navigation, search

Talk Page Wiped[edit]

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 undefined variable[edit]

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 tabs[edit]

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

<tabber>
tab1=Text form line 1

Text form line 2
|-|
tab2=Text form line 1

Text form line 2
</tabber>

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)