The vector-simplesearch preference is enabled by default since version 1.22.
The option is removed to decrease the clutter in the preference page
Bug: 52815
Change-Id: I6d8dd997a4c4a6b8fb06b4674dda5f306432c6af
altered to reset all rate-limited thumbnails at once.
* (bug 56572) Builds of the OOjs and OOjs UI libraries are now available.
* mw.loader.go and mw.loader.version have been removed.
+* (bug 52815) Preference "Enable simplified search bar (Vector skin only)"
+ was removed.
==== Removed classes ====
* FakeMemCachedClient (deprecated in 1.18)
'underline' => 2,
'uselivepreview' => 0,
'usenewrc' => 0,
- 'vector-simplesearch' => 1,
'watchcreations' => 1,
'watchdefault' => 1,
'watchdeletion' => 0,
* @param $defaultPreferences Array
*/
static function searchPreferences( $user, IContextSource $context, &$defaultPreferences ) {
- global $wgContLang, $wgVectorUseSimpleSearch;
-
- if ( $wgVectorUseSimpleSearch ) {
- $defaultPreferences['vector-simplesearch'] = array(
- 'type' => 'toggle',
- 'label-message' => 'vector-simplesearch-preference',
- 'section' => 'searchoptions/displaysearchoptions',
- );
- }
+ global $wgContLang;
$defaultPreferences['searcheverything'] = array(
'type' => 'toggle',
'vector-action-protect' => 'Protect',
'vector-action-undelete' => 'Undelete',
'vector-action-unprotect' => 'Change protection',
-'vector-simplesearch-preference' => 'Enable simplified search bar (Vector skin only)',
'vector-view-create' => 'Create',
'vector-view-edit' => 'Edit',
'vector-view-history' => 'View history',
'vector-action-protect',
'vector-action-undelete',
'vector-action-unprotect',
- 'vector-simplesearch-preference',
'vector-view-create',
'vector-view-edit',
'vector-view-history',
<div id="p-search" role="search">
<h3<?php $this->html( 'userlangattributes' ) ?>><label for="searchInput"><?php $this->msg( 'search' ) ?></label></h3>
<form action="<?php $this->text( 'wgScript' ) ?>" id="searchform">
- <?php if ( $wgVectorUseSimpleSearch && $this->getSkin()->getUser()->getOption( 'vector-simplesearch' ) ) { ?>
+ <?php if ( $wgVectorUseSimpleSearch ) { ?>
<div id="simpleSearch">
<?php } else { ?>
<div>