* (bug 6023) Fixed mismatch of 0/NULL for wl_notificationtimestamp; now notification
[lhc/web/wiklou.git] / maintenance / ourusers.php
index 241e153..e244578 100644 (file)
@@ -39,45 +39,18 @@ if ( @$argv[1] == 'yaseo' ) {
 } else {
        $hosts = array(
                'localhost',
-               '207.142.131.194',
-               '207.142.131.195',
-               '207.142.131.196',
-               '207.142.131.197',
-               '207.142.131.198',
-               '207.142.131.199',
-               '207.142.131.221',
-               '207.142.131.226',
-               '207.142.131.227',
-               '207.142.131.228',
-               '207.142.131.229',
-               '207.142.131.230',
-               '207.142.131.231',
-               '207.142.131.232',
-               '207.142.131.233',
-               '207.142.131.234',
-               '207.142.131.237',
-               '207.142.131.238',
-               '207.142.131.239',
-               '207.142.131.243',
-               '207.142.131.244',
-               '207.142.131.249',
-               '207.142.131.250',
-               '207.142.131.216',
                '10.0.%',
+               '66.230.200.%',
        );
 }
 
 $databases = array(
-       '%wikibooks',
-       '%wiki',
-       '%wikiquote',
-       '%wiktionary',
-       '%wikisource',
-       '%wikinews',
-       '%wikiversity',
-       '%wikimedia',
+       '%wik%',
 );
 
+print "/*!40100 set old_passwords=1 */;";
+print "/*!40100 set global old_passwords=1 */;";
+
 foreach( $hosts as $host ) {
        print "--\n-- $host\n--\n\n-- wikiuser\n\n";
        print "GRANT REPLICATION CLIENT,PROCESS ON *.* TO 'wikiuser'@'$host' IDENTIFIED BY '$wikiuser_pass';\n";
@@ -118,3 +91,4 @@ EOS;
        }
        print "\n";
 }
+?>