Last modified: 2010-05-15 15:37:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 2520 - SpecialPreferences page Misc issue (Misc shows options, which have no effect) incl. Patch
SpecialPreferences page Misc issue (Misc shows options, which have no effect)...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
User preferences (Other open bugs)
1.5.x
All All
: High major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
Blocks: 1002
  Show dependency treegraph
 
Reported: 2005-06-26 02:22 UTC by T. Gries
Modified: 2010-05-15 15:37 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description T. Gries 2005-06-26 02:22:12 UTC
Problem arises e.g. with Enotif global switches.

Currently, the User Preference page Misc lists per default all toggles, which
have not been shown (used before in the algorithmic flow) on the other pages.

This is a problem, when for example $wgEnotifWatchList is set to false. The
corresponding user option must _not_ be shown, because checking the box would
not have any effect (because it is fully disabled).

As a work-around, you can apply this patch

add these lines at the beginning of function mainPrefsForm():

$this->mUsedToggles[ 'shownumberswatching' ] = true;
$this->mUsedToggles[ 'rccurrevonly' ] = true;
$this->mUsedToggles[ 'showupdated' ] = true;
$this->mUsedToggles[ 'enotifwatchlistpages' ] = true;
$this->mUsedToggles[ 'enotifusertalkpages' ] = true;
$this->mUsedToggles[ 'enotifminoredits' ] = true;
$this->mUsedToggles[ 'enotifrevealaddr' ] = true;

Effect:
these toggles are marked as "used" (even when they are not shown), so that the
Misc page code doesn't show them at the end.
Comment 1 Brion Vibber 2005-06-26 09:35:41 UTC
Applied to HEAD.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links