Add Html::listDropdownOptionsCodex() that takes a bulleted list like [[MediaWiki:Ipbreason-dropdown]] and adapts the data struture for use with a Codex Select component. Currently optgroups are not supported (T367241) so we show the optgroup labels as disabled options instead. URL query string parameters do not yet prefill any fields. This will be tackled as part of T368583. Bug: T362912 Change-Id: Ib89dcf35ca2a1cd74404c42f5411d7c095b98952 |
||
|---|---|---|
| .. | ||
| HtmlTest.php | ||