Ah, thanks for the link!
And I should've been clearer: I know there are /meant/ to be tabs and that there /were/ at some point. The thing I'm confused about is where they come from: the template creates elements with class .section, but Foundation has .tabs with .tabs-content etc. and doesn't seem to have anything called a section at all. I assumed the tabs would be disappearing because some CSS file or other in the skin was not being loaded, but it doesn't look like that's the case.
I'm trying to replicate the issue locally, but it's all working correctly, annoyingly! :-)
Anyway, maybe it's good for WikiApiary to switch to a new skin. I'll keep hacking on Foreground regardless.
On 12/4/23 21:18, Jesús Martínez wrote:
Hi Sam!,
Yes,Template:Website was using tabs. You can see them from a random old snapshot on the web archive:
http://web.archive.org/web/20210120213829/https://wikiapiary.com/wiki/SmashP...
Best regards.
-- Jesús Martínez Ciencia Al Poder
El mar, 11 abr 2023 a las 4:59, Sam Wilson (sam@samwilson.id.au) escribió:
How have Foreground/Foundation tabs worked in the past? The example given in the skin documentation doesn't work for me, and uses anchor tags that don't render in MediaWiki.
Oh, actually looking more closely, could this be a config change? $wgForegroundFeatures['enableTabs'] needs to be true. (And, I'm not sure it's common knowledge, but it appears that enabling that actually means all anchor tags are able to be written in wikitext anywhere, making things like <a onclick="alert('foo');">bar</a> allowed. This seems like a bad idea.)
And (sorry, I'm rather thinking aloud here…) isTemplate:Website even using tabs? It looks like there are section elements in a section-container, and I can't find what that does on the Foundation docs.
I'm probably just confused. :-)
On 11/4/23 01:02, alistair 3149 wrote:
@Sam yes Foundation is using an old version of the framework
@Ciencia Yes you're right, tabs rely on some existing components from Foundation and it is broken after the update. It is why I thought it was a skin issue, as it is a utility provided by Foundation before.
We can probably switch to header tab as an interim option if we are keeping Foundation at the meantime. Chameleon does have native tab support through Bootstrap, but it won't work on non-Bootstrap skin such as Foundation. _______________________________________________ Wikiapiary mailing list --wikiapiary@lists.wikimedia.org To unsubscribe send an email towikiapiary-leave@lists.wikimedia.org
Wikiapiary mailing list --wikiapiary@lists.wikimedia.org To unsubscribe send an email towikiapiary-leave@lists.wikimedia.org
Wikiapiary mailing list --wikiapiary@lists.wikimedia.org To unsubscribe send an email towikiapiary-leave@lists.wikimedia.org