dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for specifying options multiple times in Maintenance scripts.
[lhc/web/wiklou.git]
/
maintenance
/
checkUsernames.php
diff --git
a/maintenance/checkUsernames.php
b/maintenance/checkUsernames.php
index
777c833
..
a64bc49
100644
(file)
--- a/
maintenance/checkUsernames.php
+++ b/
maintenance/checkUsernames.php
@@
-56,7
+56,7
@@
class CheckUsernames extends Maintenance {
foreach ( $res as $row ) {
if ( !User::isValidUserName( $row->user_name ) ) {
foreach ( $res as $row ) {
if ( !User::isValidUserName( $row->user_name ) ) {
- $this->
error( sprintf( "%s: %6d: '%s'\n", wfWikiID()
, $row->user_id, $row->user_name ) );
+ $this->
output( sprintf( "Found: %6d: '%s'\n"
, $row->user_id, $row->user_name ) );
wfDebugLog( 'checkUsernames', $row->user_name );
}
}
wfDebugLog( 'checkUsernames', $row->user_name );
}
}