Extension:OOJSPlus

![]() リリースの状態: 安定 |
|
---|---|
作者 | Hallo Welt! GmbH |
最新バージョン | 1.2-alpha |
互換性の方針 | 長期間サポート リリースであるすべての MediaWiki リリースについて、拡張機能に対応するブランチが存在します。 |
MediaWiki | 1.31+ |
Composer | mediawiki/oojsplus |
ライセンス | GNU 一般公衆利用許諾書 3.0 のみ |
ダウンロード | |
Quarterly downloads | 83 (Ranked 100th) |
translatewiki.net で翻訳を利用できる場合は、OOJSPlus 拡張機能の翻訳にご協力ください | |
This extension acts as a library for other extensions. It provides additional OOUI components and widgets.
インストール
- ダウンロードして、ファイルを
extensions/
フォルダー内のOOJSPlus
という名前のディレクトリ内に配置します。 - 以下のコードを
LocalSettings.php
の末尾に追加します:wfLoadExtension( 'OOJSPlus' );
- 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。
ウィジェット
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