Revert "Add a MediaWiki preference for enabling ULS IME"
This reverts commit 6ae0fe3e44.
The commit was duplicating the preferences in 2 places
making the syncing hard.
As per discussion with Pau, we will try alternate approach.
Bug: 48642
Change-Id: I5c97838ed875364dc35b66a3d6c33d9975b5107e
This commit is contained in:
committed by
Nikerabbit
parent
eb99c5139d
commit
2174740bb6
@@ -295,20 +295,10 @@ class UniversalLanguageSelectorHooks {
|
||||
}
|
||||
|
||||
public static function onGetPreferences( $user, &$preferences ) {
|
||||
// The detailed preferences for different layouts.
|
||||
// Saved as JSON and modifiable through the ULS screens.
|
||||
$preferences['uls-preferences'] = array(
|
||||
'type' => 'api',
|
||||
);
|
||||
|
||||
// A checkbox in the general MediaWiki preferences screen
|
||||
// to enable or disable IME in ULS
|
||||
$preferences['uls-ime-enable'] = array(
|
||||
'type' => 'toggle',
|
||||
'label-message' => 'uls-ime-enable-preferences-label',
|
||||
'section' => 'editing/advancedediting', // under 'Advanced options' section of 'Editing' tab
|
||||
);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user