Extension:OOJSPlus

Other languages:
MediaWiki Stakeholders' Group Logo.svg This extension is maintained by a member of the MediaWiki Stakeholders' Group .
MediaWiki extensions manual
OOjs UI icon advanced-invert.svg
OOJSPlus
Release status: stable
Author(s) Hallo Welt! GmbH
Latest version 1.2-alpha
Compatibility policy For every MediaWiki release that is a Long Term Support release there is a corresponding branch in the extension.
MediaWiki 1.31+
Composer mediawiki/oojsplus
License GNU General Public License 3.0 only
Download
Translate the OOJSPlus extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

This extension acts as a library for other extensions. It provides additional OOUI components and widgets.

InstallationEdit

  • Download and place the file(s) in a directory called OOJSPlus in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php :
    wfLoadExtension( 'OOJSPlus' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

WidgetsEdit

  • OOJSPlus.ui.widget.CategoryMultiSelectWidget
  • OOJSPlus.ui.widget.ColorPickerWidget
  • OOJSPlus.ui.widget.ColorPickerEmbeddable
  • OOJSPlus.ui.widget.ColorPickerStandaloneWidget
  • OOJSPlus.ui.widget.DynamicLabelTextInputWidget
  • OOJSPlus.ui.widget.GroupInputWidget
  • OOJSPlus.ui.widget.GroupMultiSelectWidget
  • OOJSPlus.ui.widget.HexColorPickerWidget
  • OOJSPlus.ui.widget.RangeWidget
  • OOJSPlus.ui.widget.StepProgressBar

GridsEdit

The following classes can be used to create a "dynamic grid", that can consume data directly from an Action API endpoint.

  • OOJSPlus.ui.data.GridWidget
  • OOJSPlus.ui.data.Paginator
  • OOJSPlus.ui.data.column.*

TreesEdit

The following class can be used to create a "tree view"

  • OOJSPlus.ui.data.Tree

DialogsEdit

To ease the creation of dialogs, the following base classes are provided

  • OOJSPlus.ui.dialog.BookletDialog
  • OOJSPlus.ui.dialog.FormDialog