Been having an issue on my sandboxes where the bullet points on the second tabbers disappear in web view, even though they're present in editing view. Anybody know what's up with that?
It occurs in both my regular tabbers and my tabber-in-tabber
Funny quirk of MediaWiki.
I think it happens because MediaWiki enters "list mode" when it sees a *, and that list state can sometimes carry over when switching tabs in <tabber>.
When you go from the first tab to the second tab, the parser does not always fully reset that state, so it may treat the second tab as a continuation of the previous list instead of starting a fresh one.
Because of that, the bullet gets rendered using the old list's indentation rules instead of the tab's normal layout.
That is why the bullet can look misaligned or shifted or sometimes even disappear in the web view even though it is still present in the wikitext.
Here are ways to fix this:
Introduce an empty line to force a reset.
Code:
<tabber>
|-|Tab Title 1=
*Content list
|-|Tab Title 2=
*Content list
</tabber>
Use a lower depth level for bullets, adjusting the * nesting per tab title (for example starting with * in one tab and using ** and then ***, etc. in subsequent tabs), which works in this case, but gets increasingly complicated, so I don't recommend this. This may also be unreliable long-term, as future MediaWiki updates could change how this behavior works.
Code:
<tabber>
|-|Tab Title 1=
*Content list
|-|Tab Title 2=
**Content list
|-|Tab Title 3=
***Content list
</tabber>
Alternatively, you can insert a structural element between the tab title and the list, such as a <div> tag (or the {{Border}} template in this case), to force MediaWiki to treat the section as a new block and reset the parsing context. I only recommend this for pages with longer bullet lists, but this works too.
Code:
<tabber>
|-|Tab Title 1=
{{Border|Scroll=Yes|Visible=Yes|Content=
*Content list
}}
|-|Tab Title 2=
{{Border|Scroll=Yes|Visible=Yes|Content=
*Content list
}}
|-|Tab Title 3=
{{Border|Scroll=Yes|Visible=Yes|Content=
*Content list
}}
</tabber>