summaryrefslogtreecommitdiff
path: root/maintenance/ourusers.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2008-08-15 01:29:47 +0200
committerPierre Schmitz <pierre@archlinux.de>2008-08-15 01:29:47 +0200
commit370e83bb0dfd0c70de268c93bf07ad5ee0897192 (patch)
tree491674f4c242e4d6ba0d04eafa305174c35a3391 /maintenance/ourusers.php
parentf4debf0f12d0524d2b2427c55ea3f16b680fad97 (diff)
Update auf 1.13.0
Diffstat (limited to 'maintenance/ourusers.php')
-rw-r--r--maintenance/ourusers.php15
1 files changed, 12 insertions, 3 deletions
diff --git a/maintenance/ourusers.php b/maintenance/ourusers.php
index 8f1e7c06..620393fb 100644
--- a/maintenance/ourusers.php
+++ b/maintenance/ourusers.php
@@ -1,7 +1,14 @@
<?php
/**
+ * Wikimedia specific
+ *
+ * This script generates SQL used to update MySQL users on a hardcoded
+ * list of hosts. It takes care of setting the wikiuser for every
+ * database as well as setting up wikiadmin.
+ *
* @todo document
- * @addtogroup Maintenance
+ * @file
+ * @ingroup Maintenance
*/
/** */
@@ -40,15 +47,17 @@ if ( @$argv[1] == 'yaseo' ) {
'localhost',
'10.0.%',
'66.230.200.%',
+ '208.80.152.%',
);
}
$databases = array(
'%wik%',
+ 'centralauth',
);
-print "/*!40100 set old_passwords=1 */;";
-print "/*!40100 set global old_passwords=1 */;";
+print "/*!40100 set old_passwords=1 */;\n";
+print "/*!40100 set global old_passwords=1 */;\n";
foreach( $hosts as $host ) {
print "--\n-- $host\n--\n\n-- wikiuser\n\n";