Extension:Tabs

Category:Extensions incompatible with 1.42 Category:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
Tabs
Release status: stableCategory:Stable extensions
Implementation Tag Category:Tag extensions, Parser function Category:Parser function extensions
Description Allows simple creation of tab menus, dropdown menus, and collapsible boxes.
Author(s) Joeytje50talk
Latest version 1.29+ (2018-01-20)
MediaWiki 1.25+Category:Extensions with manual MediaWiki version
PHP 5.4+
Database changes No
License GNU General Public License 2.0 or later
Download Category:Extensions in Wikimedia version control
  • <tabs>
  • <tab>
Quarterly downloads 38 (Ranked 73rd)
Translate the Tabs extension if it is available at translatewiki.net
Category:All extensions

The Tabs extension makes it possible to insert tab menus, dropdown menus, and collapsible boxes into any page, using the <tabs /> and <tab> tags, or the {{#tab:}} parser function. This extension requires no JavaScript to work, except for older browsers such as Internet Explorer 8 and lower as a CSS :checked polyfill. As opposed to other extensions, this independence from JavaScript results in having no flash of unstyled content when the page loads.

Installation

  • Download and move the extracted Tabs folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Tabs
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'Tabs' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

None, but the default background colour for dropdown menus is stored on the "MediaWiki:tabs-dropdown-bgcolor" page.

Usage

See Extension:Tabs/Usage.

See also

Category:All extensions Category:Extensions in Wikimedia version control Category:Extensions included in Miraheze Category:Extensions included in MyWikis Category:Extensions included in WikiForge Category:Extensions incompatible with 1.42 Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:GPL licensed extensions Category:ParserFirstCallInit extensions Category:Parser function extensions Category:Stable extensions Category:Tag extensions