* (bug 31089) Fix regression in Special:Block reasons list (MediaWiki:Ipbreason-dropd...
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 22 Sep 2011 22:10:41 +0000 (22:10 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 22 Sep 2011 22:10:41 +0000 (22:10 +0000)
commit7faf8d357ea2539faeb249475b8bc11976e02efc
tree29305605968e7903f807f728f130161a2ab7995d
parent94e140fc687c43babe44722fa068a966ddbe38ee
* (bug 31089) Fix regression in Special:Block reasons list (MediaWiki:Ipbreason-dropdown parsing)

Followup to r83298: makes HTMLSelectAndOtherField backwards-compatible with Xml::listDropDown as it was apparently intended to be.

Also fixed double-escaping in the options for HTMLSelectAndOtherField.

Followup to r83795: fixes regression in Special:Block by fixing HTMLSelectAndOtherField which got used in place of Xml::listDropDown, but wasn't compatible.

Note that this removes the clever thing that lets you have separate values and texts in your dropdown; since Xml::listDropDown had no such feature and actual usage includes texts containing links and other stuch where the pipe character is a legit part of the content.
includes/HTMLForm.php