https://bugzilla.wikimedia.org/show_bug.cgi?id=52778

--- Comment #1 from Sam Reed (reedy) <[email protected]> ---
effectively: DELETE FROM user_preferences WHERE up_property = 'skin' AND
up_value NOT IN Skin::getSkinNames()

> var_dump( Skin::getSkinNames() );
array(4) {
  ["monobook"]=>
  string(8) "MonoBook"
  ["vector"]=>
  string(6) "Vector"
  ["modern"]=>
  string(6) "Modern"
  ["cologneblue"]=>
  string(11) "CologneBlue"
}


But the up_values need lowercasing to match

Wouldn't take too much to write a script to do something like that...

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to