Extension talk:TabberNeue

About this board

How to use mediawiki syntax as tab title?

4
2A06:C701:9CBC:8100:2DCD:992C:DA60:BA27 (talkcontribs)

Hey, I'm trying to have a dynamic tab titles, so it gets the title by template params, such as "tab1title", but the syntax does not parse and remain like "{{{tab1title}}}", what should I do?

217.149.174.47 (talkcontribs)

I have the same Issue, so if there is someone who could help, it would help us both :)

104.225.228.149 (talkcontribs)

It's been a bit but I think I solved this before by using the {{#tag:tabber|...}} parser.

Filburt (talkcontribs)

Hi, I had the same problem with internationalization, i.e. {{int:my custom message}}

I changed the following in /includes/Tabber.php line 123:

before:

$tabName = $parser->getTargetLanguageConverter()->convertHtml( trim( $tabName ) );

after:

$tabName = $parser->recursiveTagParseFully( $tabName );
$tabName = $parser->stripOuterParagraph( $tabName );

That works for me (MW 1.41).

Hope it helps...

Reply to "How to use mediawiki syntax as tab title?"

How to fix "Pages using Tabber parser tag" category?

3
185.6.165.188 (talkcontribs)

I'm just upgraded my wiki to 1.38.

TiltedCerebellum (talkcontribs)

Your question is quite vague, there's nothing to "fix" as this is an intentional Tracking category to help users find which pages use the Tabber parser tag {{#Tabber:}} (many extensions do this, and MediaWiki now adds tracking categories automatically to pages in certain circumstances also. This is a helpful feature for site administrators. If you don't want these to show on pages, you might want to read Help:Categories#Hidden categories.

IcarusATB (talkcontribs)

I know this is more than a year later, but, thank you, @TiltedCerebellum! I didn't know I could hide categories! And while it's certainly a useful category for me, as an administrator, I don't necessarily want it cluttering up the bottom of the page where categories are displayed! I've now hidden the category, and it looks great! Thanks, so much!

Reply to "How to fix "Pages using Tabber parser tag" category?"
Skairunner (talkcontribs)

I've noticed that Tabber, if there's no javascript, displays all tab contents. Tabber Neue seems to instead entirely become hidden, meaning the contents are no longer accessible. Are there plans to make TabberNeue degrade more gracefully?

Alistair3149 (talkcontribs)

That is very weird as TabberNeue should also display all tab contents. Do you have an example page with the issue?

EzekielT (talkcontribs)

I've noticed this happen in one case: the tabber seems to remove all of the other tabs and display all of the tab contents in the first tab when collapsible text is added in one tab.

Reply to "Graceful degradation"
Saveraedae (talkcontribs)

This is probably something very easily fixed, but I recently migrated a wiki from fandom to miraheze, and every tabber code is broken. The extension is enabled on the wiki, but the coding is still broken. What can be done to fix it?

How to change tabber style?

4
EzekielT (talkcontribs)

How do you change the style of the tabs, e.g. the colour of the tabs?

EzekielT (talkcontribs)

(Particularly now, the title texts' colour).

Alistair3149 (talkcontribs)

You can do it through CSS on your wiki.

EzekielT (talkcontribs)

Thanks! I have been able to change all of the colours with CSS, except for the grey bar which the tabber indicator sits on, I'm wondering about the wikitext needed for this?

Additionally, the tabber for some reason doesn't render the next tabs when collapsible text is added in one tab? Also, it seems the tabber shifts mw-content-wrapper rightward somehow on my page.

Reply to "How to change tabber style?"
Cassivan (talkcontribs)

I've just got into personal wiki creation and editing the past few days and ive been searching for ways to change the style of the tabs to show better on different, mostly darker, backgrounds but I haven't been able to find or perhaps understand how to change those things.

I had tried:

First I tried inline wikitext like <tabber style=" stuff ">.

Scanning the git for documentation and trying to find in the extension files where the style was, which I believe is the ext.tabberNeue.less file but I wasn't sure where to start with changing that as I know very little of CSS and related things and figured I should ask for help before touching anything.

Searching various wikis for ones that use TabberNeue or even original Tabber to see if any had .css pages or similar i could use as a basis for understanding how it could be edited but none I found anywhere had changed the style.


Ideally I would like to try to change styles conditionally or at least per page with a template or something but if it's for the entire wiki that's okay too.

Thank you if you can help!

Cassivan (talkcontribs)

I have figured it out!

For anyone else wishing to know I used the extension titled CSS and the F12 inspect to learn the names of the ".tabber__header" and similar things and slowly prod things to learn what they do.

EzekielT (talkcontribs)

That’s great! What CSS code do you need to write in order to change the tabber's colour?

EzekielT (talkcontribs)

(Specifically now, the title texts' colour).

Reply to "Changing the Tab Style?"

compatibility policy

1
2003:C2:3F2E:8100:ECE6:AECE:B06A:150A (talkcontribs)

"Master maintains backward compatibility" is wrong.

Reply to "compatibility policy"

Not working on Minerva neue

1
Seva2345 (talkcontribs)

The latest version (1.39) is not working on the latest version of the Minerva neue skin (1.39).

Reply to "Not working on Minerva neue"

Error: Call to private method Parser::getTargetLanguageConverter()

2
2A02:A44B:DA4B:1:5C15:C6F0:FBBA:7E59 (talkcontribs)

I get this error on my page when I attempt to use the <tabber> tag in any way.

(However I can use <tabbertransclude> without issues.)

Alistair3149 (talkcontribs)

Seems that 1.7.5 is not compatible with MediaWiki 1.38 or below, using 1.7.4 should fix the issue.

Reply to "Error: Call to private method Parser::getTargetLanguageConverter()"

Having trouble—Fatal Exception error

1
IcarusATB (talkcontribs)

Just installed the extension, verified it on Special:Version, added the line to LocalSettings.php. ... but, when I copy/paste the example tabbed table, when I preciew changes on a page, I get the following error:

[ZAZh_vFmkz4WsA0Sv3kZzgABOBY] 2023-03-06 21:58:22: Fatal exception of type "Error"

Is there something I'm missing, or anyone know what the problem is?

Reply to "Having trouble—Fatal Exception error"