X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcleanupCaps.php;h=e0a0f494fb4aac0748f70a3edb750c1b476ba3a6;hb=0a0b02b56c2c9f03918eab099d1e196ac513fa10;hp=6234db48cacf118cc0adc5d1827277ae2ed44227;hpb=a5aa9f0b95bad2e1a5f1cefdbe11372e9748257c;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/cleanupCaps.php b/maintenance/cleanupCaps.php index 6234db48ca..e0a0f494fb 100644 --- a/maintenance/cleanupCaps.php +++ b/maintenance/cleanupCaps.php @@ -53,7 +53,7 @@ class CapsCleanup extends TableCleanup { $this->error( "\$wgCapitalLinks is on -- no need for caps links cleanup.", true ); } - $this->user = User::newFromName( 'Conversion script' ); + $this->user = User::newSystemUser( 'Conversion script', array( 'steal' => true ) ); $this->namespace = intval( $this->getOption( 'namespace', 0 ) ); $this->dryrun = $this->hasOption( 'dry-run' );