Here's a script we use to copy preferences from one user to all users for MW
1.4.x. YMMV.
mysql_connect($wgDBserver,$wgDBuser,$wgDBpassword);
@mysql_select_db($wgDBname);
$query="SELECT * FROM " . $wgDBprefix . "user WHERE LOWER(user_name) =
'" . strtolower($name) . "'";
$result = mysql_query($query);
$row = mysql_fetch_array($result, MYSQL_ASSOC);
mysql_close();
mysql_connect($wgDBserver,$wgDBuser,$wgDBpassword);
@mysql_select_db($wgDBname);
$query="UPDATE " . $wgDBprefix . "user SET user_options = '" .
$row[user_options] . "'";
$result = mysql_query($query);
mysql_close();
Al.
-----Original Message-----
From: Rob Church [mailto:robchur@gmail.com]
Not a quick one, that I know of. A custom PHP script might do it.
On 20/12/05, Isaac Gonzalez <youngi(a)comcast.net> wrote:
> is there a way to change to user preferences for all users?