Extension:Tabs/en

From Linux Web Expert

MediaWiki extensions manual
Tabs
Release status: stable
File:Tabs extension.png
Implementation Tag , Parser function
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+
PHP 5.4+
Database changes No
License No license specified
Download

  • ‎<tabs>
  • ‎<tab>
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Translate the Tabs extension if it is available at translatewiki.net

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

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/Tabs/en</tvar>|Download]] and move the extracted <tvar name=name>Tabs/en</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Tabs%2Fen
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'Tabs/en' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

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