On 19/08/06, Pedro Flores <pflores(a)mcs.anl.gov> wrote:
Hi, after upgrading from 1.5.8 to 1.6.8 the default
skin, which is a
custom one, for my wiki stopped working properly. I've set the default
skin back to monobook in LocalSettings.php but this will only affect new
users. Users that already had the 'damaged' skin set as their skin
continue to have it set that way. Is there a sql query that I can run to set monobook as
the skin for all users? I tried google, and the list archives and couldn't find an
answer to this question. Thanks.
Knocked this up. Not too efficient for a massive user base, but it'll work:
http://www.mediawiki.org/wiki/User:Robchurch/Reset_user_skin_preference
Save contents into /path/to/wiki/maintenance/resetUserSkins.php (or
whatever) and call as per the usage section.
You might also be able to add the "damaged" skin to the $wgSkipSkins
array, causing MediaWiki to ignore it, but that might not take effect
for existing selections.
Rob Church