Remove "or other" option for stubtreshold
authorChad Horohoe <chadh@wikimedia.org>
Thu, 26 Dec 2013 07:47:54 +0000 (02:47 -0500)
committerChad Horohoe <chadh@wikimedia.org>
Thu, 26 Dec 2013 07:49:51 +0000 (02:49 -0500)
People use this to set it to absolutely insane values.

Enwiki-Stats: http://p.defau.lt/?1j4omOrfCZzQvIJ_z_dOEQ
Change-Id: I88212703c69d0540f3134f661beee6c1428932a9

includes/Preferences.php

index 3ff99fc..8e08fc1 100644 (file)
@@ -748,7 +748,7 @@ class Preferences {
                }
 
                $defaultPreferences['stubthreshold'] = array(
-                       'type' => 'selectorother',
+                       'type' => 'select',
                        'section' => 'rendering/advancedrendering',
                        'options' => $stubThresholdOptions,
                        'size' => 20,