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
Revert "Remove Special:ActiveUsers"
[lhc/web/wiklou.git]
/
maintenance
/
cleanupSpam.php
diff --git
a/maintenance/cleanupSpam.php
b/maintenance/cleanupSpam.php
index
9838569
..
a41423a
100644
(file)
--- a/
maintenance/cleanupSpam.php
+++ b/
maintenance/cleanupSpam.php
@@
-44,7
+44,7
@@
class CleanupSpam extends Maintenance {
$username = wfMessage( 'spambot_username' )->text();
$wgUser = User::newFromName( $username );
if ( !$wgUser ) {
$username = wfMessage( 'spambot_username' )->text();
$wgUser = User::newFromName( $username );
if ( !$wgUser ) {
- $this->error( "Invalid username", true );
+ $this->error( "Invalid username
specified in 'spambot_username' message: $username
", true );
}
// Create the user if necessary
if ( !$wgUser->getId() ) {
}
// Create the user if necessary
if ( !$wgUser->getId() ) {