Merge "SpecialPagesWithProp: Use 'combobox' field and convert to OOUI"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 14 Dec 2015 01:08:12 +0000 (01:08 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 14 Dec 2015 01:08:12 +0000 (01:08 +0000)
includes/specials/SpecialPagesWithProp.php

index f211ec9..374f156 100644 (file)
@@ -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,