blob: 093e39e1fa2fedfd800b7cb4118dd6ec155eea51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<?php
/**
* Do it all maintenance account
*
* @file
* @author Niklas Laxström
* @copyright Copyright © 2012-2013, Niklas Laxström
* @license GPL-2.0-or-later
*/
/**
* FuzzyBot - the misunderstood workhorse.
* @since 2012-01-02
*/
class FuzzyBot {
public static function getUser() {
return User::newSystemUser( self::getName(), [ 'steal' => true ] );
}
public static function getName() {
global $wgTranslateFuzzyBotName;
return $wgTranslateFuzzyBotName;
}
}
|