#how do i make a collapsible that collapses multiple other collapsibles when it's expanded
28 messages · Page 1 of 1 (latest)
maybe https://www.mediawiki.org/wiki/Manual:Collapsible_elements/Demo/Advanced could help?
it didn't help
See https://strinova.org/wiki/Template%3ATab, which is controlled by https://strinova.org/wiki/MediaWiki%3ATab.js
I should've cleaned it up a long time ago, but this should be a good enough example of how it works. There are some extra features compared with the tabber extensions, but you probably won't need them.
oooh alright thanks
can i use this?
Of course. It's licensed under CC BY-SA 4.0. Chances are your wiki uses the same license, so it won't be a problem as long as you provide attribution.
alright
how do i provide attribution
it's already at the bottom right
You can just note where you copy-pasted it in your edit summary
alright i added all the template:tab/xx pages and the css and the js but for some reason when i click on the 2nd option it's not working
which implies the js isn't working
lemme send the pages
https://shellbound.miraheze.org/wiki/MediaWiki:Tab.js
https://shellbound.miraheze.org/wiki/Template:Tab/style.css
https://shellbound.miraheze.org/wiki/Template:Tab
https://shellbound.miraheze.org/wiki/Template:Tab/content
https://shellbound.miraheze.org/wiki/Template:Tab/content/option
https://shellbound.miraheze.org/wiki/Template:Tab/tabs
https://shellbound.miraheze.org/wiki/Template:Tab/tabs/container
https://shellbound.miraheze.org/wiki/Template:Tab/tabs/tab
anything i'm missing?
oh and for extensions i have variables, loops, templatestyles
what else would i need
nvm found it
it's in common.js right
only this?
$( document ).ready(function() {
mw.loader.load("/wiki/MediaWiki:tab.js?action=raw&ctype=text/javascript");
});```
@safe stone
it's still not working
OH IT IS WORKING
sorry