Translate extension for MediaWiki
Loading...
Searching...
No Matches
FuzzyBot.php
1
<?php
2
declare( strict_types = 1 );
3
4
namespace
MediaWiki\Extension\Translate\SystemUsers;
5
6
use MediaWiki\User\User;
7
15
class
FuzzyBot
{
16
public
static
function
getUser(): User {
17
return
User::newSystemUser( self::getName(), [
'steal'
=>
true
] );
18
}
19
20
public
static
function
getName():
string
{
21
global $wgTranslateFuzzyBotName;
22
23
return
$wgTranslateFuzzyBotName;
24
}
25
}
MediaWiki\Extension\Translate\SystemUsers\FuzzyBot
FuzzyBot - the misunderstood workhorse.
Definition
FuzzyBot.php:15
src
SystemUsers
FuzzyBot.php
Generated by
1.10.0