From: Bartosz DziewoƄski Date: Sun, 8 Nov 2015 16:13:12 +0000 (+0100) Subject: SpecialPagesWithProp: Use 'combobox' field and convert to OOUI X-Git-Tag: 1.31.0-rc.0~8693^2 X-Git-Url: http://git.cyclocoop.org/%27-%20%20.%20url_absolue%28find_in_path%28%27spip_style.css%27%29%29%20%20%20.%20url_absolue%28find_in_path%28%27prive/spip_style.css%27%29%29%20.%20%27?a=commitdiff_plain;h=8d8920501a9acf4b603e8f856299f0fe5940c138;p=lhc%2Fweb%2Fwiklou.git SpecialPagesWithProp: Use 'combobox' field and convert to OOUI Bug: T117730 Change-Id: I7d1d05cf7f96bd3b0bbc3650bf4ea4d411e46daf --- diff --git a/includes/specials/SpecialPagesWithProp.php b/includes/specials/SpecialPagesWithProp.php index f211ec9b4f..374f156a23 100644 --- a/includes/specials/SpecialPagesWithProp.php +++ b/includes/specials/SpecialPagesWithProp.php @@ -50,9 +50,9 @@ class SpecialPagesWithProp extends QueryPage { $propnames = $this->getExistingPropNames(); - $form = new HTMLForm( array( + $form = HTMLForm::factory( 'ooui', array( 'propname' => array( - 'type' => 'selectorother', + 'type' => 'combobox', 'name' => 'propname', 'options' => $propnames, 'default' => $propname,