Last modified: 2008-08-06 17:41:37 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 6795 - Usable Skin Names Logic Belongs in Skin Class
Usable Skin Names Logic Belongs in Skin Class
Product: MediaWiki
Classification: Unclassified
User preferences (Other open bugs)
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-07-23 21:41 UTC by Gregory Szorc
Modified: 2008-08-06 17:41 UTC (History)
1 user (show)

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

Moves logic to Skin class as new method (1.91 KB, patch)
2006-07-23 21:42 UTC, Gregory Szorc

Description Gregory Szorc 2006-07-23 21:41:27 UTC
The logic to see if a skin is usable (not in $wgSkipSkins) should be in the skin
class, not in the code that powers Special:UserPreferences.
Comment 1 Gregory Szorc 2006-07-23 21:42:38 UTC
Created attachment 2143 [details]
Moves logic to Skin class as new method

Attached patch moves logic to skin class as getUsableSkinNames(). 
SpecialPreferences is updated to use this function.
Comment 2 Chad H. 2008-08-06 17:41:37 UTC
Fixed in r38729

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