As a part of my GSoC, I have created a script tabbedWindow.js. We already deployed and tested it on test.wikipedia.org (T227914). We want to deploy it on Mediawiki.org as well so that we can display the developed code samples in different programming languages as part of the project in a tabbed window on the wiki.
JS Code: https://test.wikipedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js
CSS Code: None
Gadget Text: https://test.wikipedia.org/wiki/MediaWiki:Gadget-tabbedwindow
It should be enabled by default for all users.
- Code Review ( Done by @Ladsgroup )
- Community Consensus on MediaWiki.org's Current issues ( https://www.mediawiki.org/wiki/Topic:V4rxhebxgmoy4alp )
- Change the following line in the JS code: var supportedNamespaces = [ ' ' ] to var supportedNamespaces = [ 'API' ] ( Done by @Ladsgroup )
- Recruit a MediaWiki admin who can deploy it on MediaWiki.org ( Done by @Ladsgroup )