Open main menu


MediaWiki extensions manual
OOjs UI icon advanced.svg
Ext Tab
Release status: beta
Implementation Parser extension
Description Tab control based on ExtJS
Author(s) Ning Hu (dch), Justin Zhang, Jesse Wang (Ningtalk)
Latest version 1.0
MediaWiki 1.13.5+ (tested up to 1.16.x), less than 1.17
PHP PHP 5.0+ installed and working
License GPL & ExtJS license
Translate the ExtTab extension if it is available at
Check usage and version matrix.


Edit $IP/LocalSettings.php and add:



Altogether two parser functions and one parser hook are implemented

'embedwiki' parser hookEdit

  • parser functions inside other will cause parser frame conflict
    • a possible solution for now is to use escape chars, e.g. '|'
  • we just implement this hook to skip the escape chars
  • e.g.
| opt = text
| body = 
	| opt = ...

'tab' parser functionEdit

tab widget for wiki, the basic syntax is

| name = widget name
| options = predefined widget options

| tab <id>.body = tab header in plain text
tab content in wiki text
| tab <id>.option = predefined tab options (optinal)

| tab <id>.body = [[internal page link | tab header (if necessary)]]
  • name, name of the widget
  • options, options for the widget
    • height, height for the widget
    • width, width for the widget
  • tab id, tab id to specify a tab in the widget
    • .body, body of the tab
      • the first line is in plain text, which means the tab header, and tab body in wiki text is followed
      • an internal page link, the tab content will lazy load when actived, use the body of internal page
        • javascript actions for the body are not loaded for this version
    • .option, tab options are not currently defined


E.g., Sci-Fi movies


{| class="wikitable"
! Title !! Director !! Cast !! Notes
|'''''[[The 6th Day]]'''''||[[Roger Spottiswoode]]||[[Arnold Schwarzenegger]], [[Tony Goldwyn]], [[Michael Rapaport]]|| 
|'''''[[X-Men (film)|X-Men]]'''''||[[Bryan Singer]]||[[Hugh Jackman]], [[Patrick Stewart]], [[Ian McKellen]] || <ref>Won a [[Saturn Award]] for Best Science Fiction Film.</ref>
{| class="wikitable"
! Title !! Director !! Cast !! Notes
|'''''[[Vanilla Sky]]'''''||[[Cameron Crowe]]||[[Tom Cruise]], [[Penélope Cruz]], [[Cameron Diaz]] || 
|tab2.body=[[2002 sci-fi|2002]]

JS framework conflictEdit

ExtTab uses ExtJS js framework, which may have js conflict with other js frameworks.

See alsoEdit


License of ExtJSEdit

ExtJS license