Merge "Remove "or other" option for stubtreshold"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 8 Jan 2014 21:31:11 +0000 (21:31 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 8 Jan 2014 21:31:11 +0000 (21:31 +0000)
1  2 
includes/Preferences.php

diff --combined includes/Preferences.php
@@@ -748,7 -748,7 +748,7 @@@ class Preferences 
                }
  
                $defaultPreferences['stubthreshold'] = array(
-                       'type' => 'selectorother',
+                       'type' => 'select',
                        'section' => 'rendering/advancedrendering',
                        'options' => $stubThresholdOptions,
                        'size' => 20,
        static function searchPreferences( $user, IContextSource $context, &$defaultPreferences ) {
                global $wgContLang, $wgVectorUseSimpleSearch;
  
 -              ## Search #####################################
 -              $defaultPreferences['searchlimit'] = array(
 -                      'type' => 'int',
 -                      'label-message' => 'resultsperpage',
 -                      'section' => 'searchoptions/displaysearchoptions',
 -                      'min' => 0,
 -              );
 -
                if ( $wgVectorUseSimpleSearch ) {
                        $defaultPreferences['vector-simplesearch'] = array(
                                'type' => 'toggle',