MediaWiki REL1_39
|
Format a notification as a human-readable string using IRC colour codes. 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. | |
Format a notification as a human-readable string using IRC colour codes.
Parameters:
add_interwiki_prefix
: Whether the titles should be prefixed with the first entry in the $wgLocalInterwikis array (or the value of $wgLocalInterwiki, if set). Default: false.Definition at line 38 of file IRCColourfulRCFeedFormatter.php.
|
static |
Remove newlines, carriage returns and decode html entities.
string | $text |
Definition at line 149 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 46 of file IRCColourfulRCFeedFormatter.php.
References $title, cleanupForIRC(), RecentChange\getAttributes(), RecentChange\getTitle(), NS_SPECIAL, RC_CATEGORIZE, RC_LOG, and RC_NEW.