MediaWiki REL1_37
|
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 entities. | |
Generates a colourful notification intended for humans on IRC.
Definition at line 30 of file IRCColourfulRCFeedFormatter.php.
|
static |
Remove newlines, carriage returns and decode html entities.
string | $text |
Definition at line 139 of file IRCColourfulRCFeedFormatter.php.
Referenced by getLine().
IRCColourfulRCFeedFormatter::getLine | ( | array | $feed, |
RecentChange | $rc, | ||
$actionComment | |||
) |
array | $feed | |
RecentChange | $rc | |
string | null | $actionComment |
Implements RCFeedFormatter.
Definition at line 38 of file IRCColourfulRCFeedFormatter.php.
References $title, $wgCanonicalServer, $wgLocalInterwikis, $wgScript, $wgUseNPPatrol, $wgUseRCPatrol, cleanupForIRC(), RecentChange\getAttributes(), RecentChange\getTitle(), NS_SPECIAL, RC_CATEGORIZE, RC_LOG, and RC_NEW.