Extension:OOJSPlus

MediaWiki extensions manual
OOJSPlus
Release status: stable
Description OOJSPlus is an extension for generic OOJSUI widgets.
Author(s) Hallo Welt! GmbH
Latest version 3.0.0-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+
License GNU General Public License 3.0 only
Download
Quarterly downloads 78 (Ranked 67th)
Translate the OOJSPlus extension if it is available at translatewiki.net

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

Installation

  • Download and move the extracted OOJSPlus 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/OOJSPlus
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'OOJSPlus' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Widgets

  • 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

Grids

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.*

Trees

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

  • OOJSPlus.ui.data.Tree

Dialogs

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

  • OOJSPlus.ui.dialog.BookletDialog
  • OOJSPlus.ui.dialog.FormDialog
  • Extension reference: OOJSPlus
  • Issue tracker for bug reports and feature requests: [1]