Extension:OOJSPlus/en

From Linux Web Expert


File:MediaWiki Stakeholders' Group Logo.svg <translate> This extension is maintained by a member of the <tvar name=1>MediaWiki Stakeholders' Group </tvar>.</translate>
MediaWiki extensions manual
OOJSPlus
Release status: stable
Description OOJSPlus is an extension for generic OOJSUI widgets.
Author(s) Hallo Welt! GmbH
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 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 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

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/OOJSPlus</tvar>|Download]] and move the extracted <tvar name=name>OOJSPlus</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/OOJSPlus
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'OOJSPlus' );
    
  • 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>

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

External links

  • Extension reference: OOJSPlus
  • Issue tracker for bug reports and feature requests: [1]