MediaWiki
1.30.0
|
Generates a colourful notification intended for humans on IRC. More...
Public Member Functions | |
getLine (array $feed, RecentChange $rc, $actionComment) | |
Static Public Member Functions | |
static | cleanupForIRC ( $text) |
Remove newlines, carriage returns and decode html entites. More... | |
Generates a colourful notification intended for humans on IRC.
Definition at line 28 of file IRCColourfulRCFeedFormatter.php.
|
static |
Remove newlines, carriage returns and decode html entites.
string | $text |
Definition at line 136 of file IRCColourfulRCFeedFormatter.php.
Referenced by LogFormatterTest\assertIRCComment(), and getLine().
IRCColourfulRCFeedFormatter::getLine | ( | array | $feed, |
RecentChange | $rc, | ||
$actionComment | |||
) |
array | $feed | |
RecentChange | $rc | |
string | null | $actionComment |
Implements RCFeedFormatter.
Definition at line 36 of file IRCColourfulRCFeedFormatter.php.
References $attribs, $query, $title, $user, $wgCanonicalServer, $wgLocalInterwikis, $wgScript, $wgUseNPPatrol, $wgUseRCPatrol, cleanupForIRC(), RecentChange\getAttributes(), RecentChange\getTitle(), global, Title\newFromText(), CommentStore\newKey(), NS_SPECIAL, RC_CATEGORIZE, RC_LOG, RC_NEW, Hooks\run(), and text.