Difference between revisions of "Set a user preference"

From Organic Design wiki
(New page: {{procedure |description = This proced...)
 
(redirect)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{procedure
+
#redirect [[MediaWiki SQL queries#Set a user preference]]
|description = This procedure allows you to directly modify a wiki user's preference from the database
 
|role = sysop
 
}}
 
You can change a preference such as the skin with the following SQL query. Remove the WHERE clause to apply to all users.
 
<pre>
 
UPDATE user SET user_options = REPLACE(user_options,'skin=monobook','skin=organicdesign') WHERE user_name = 'Foo';
 
</pre>
 

Latest revision as of 11:07, 22 July 2019