Inherits ChangesList.
Public Member Functions | |
beginRecentChangesList () | |
Add the JavaScript file for enhanced changeslist @ return string. | |
recentChangesLine (&$baseRC, $watched=false) | |
Format a line for enhanced recentchange (aka with javascript and block of lines). | |
endRecentChangesList () | |
Returns text for the end of RC If enhanced RC is in use, returns pretty much all the text. | |
Protected Member Functions | |
recentChangesBlockGroup ($block) | |
Enhanced RC group. | |
arrow ($dir, $alt='', $title='') | |
Generate HTML for an arrow or placeholder graphic. | |
sideArrow () | |
Generate HTML for a right- or left-facing arrow, depending on language direction. | |
downArrow () | |
Generate HTML for a down-facing arrow depending on language direction. | |
spacerArrow () | |
Generate HTML for a spacer image. | |
spacerIndent () | |
Add a set of spaces. | |
recentChangesBlockLine ($rcObj) | |
Enhanced RC ungrouped line. | |
recentChangesBlock () | |
If enhanced RC is in use, this function takes the previously cached RC lines, arranges them, and outputs the HTML. |
Definition at line 450 of file ChangesList.php.
EnhancedChangesList::arrow | ( | $ | dir, | |
$ | alt = '' , |
|||
$ | title = '' | |||
) | [protected] |
Generate HTML for an arrow or placeholder graphic.
string | $dir one of '', 'd', 'l', 'r' | |
string | $alt text | |
string | $title text |
Definition at line 860 of file ChangesList.php.
References $title, and $wgStylePath.
Referenced by downArrow(), sideArrow(), and spacerArrow().
EnhancedChangesList::beginRecentChangesList | ( | ) |
Add the JavaScript file for enhanced changeslist @ return string.
Reimplemented from ChangesList.
Definition at line 455 of file ChangesList.php.
References $script, $wgJsMimeType, $wgStylePath, $wgStyleVersion, and Xml::tags().
EnhancedChangesList::downArrow | ( | ) | [protected] |
Generate HTML for a down-facing arrow depending on language direction.
Definition at line 884 of file ChangesList.php.
References arrow(), and wfMsg().
Referenced by recentChangesBlockGroup().
EnhancedChangesList::endRecentChangesList | ( | ) |
Returns text for the end of RC If enhanced RC is in use, returns pretty much all the text.
Reimplemented from ChangesList.
Definition at line 1002 of file ChangesList.php.
References recentChangesBlock().
EnhancedChangesList::recentChangesBlock | ( | ) | [protected] |
If enhanced RC is in use, this function takes the previously cached RC lines, arranges them, and outputs the HTML.
Definition at line 977 of file ChangesList.php.
References recentChangesBlockGroup(), recentChangesBlockLine(), wfProfileIn(), and wfProfileOut().
Referenced by endRecentChangesList(), and recentChangesLine().
EnhancedChangesList::recentChangesBlockGroup | ( | $ | block | ) | [protected] |
Enhanced RC group.
Definition at line 622 of file ChangesList.php.
References $bot, $classes, $count, $n, $text, $u, $wgContLang, $wgLang, $wgRCShowChangedSize, LogPage::DELETED_ACTION, Revision::DELETED_TEXT, downArrow(), ChangesList::insertAction(), ChangesList::insertArticleLink(), ChangesList::insertComment(), ChangesList::insertRollback(), ChangesList::insertTags(), ChangesList::isDeleted(), ChangesList::maybeWatchedLink(), ChangesList::numberofWatchingusers(), ChangesList::recentChangesFlags(), sideArrow(), spacerIndent(), ChangesList::userCan(), wfMsg(), wfMsgExt(), wfMsgHtml(), wfProfileIn(), and wfProfileOut().
Referenced by recentChangesBlock().
EnhancedChangesList::recentChangesBlockLine | ( | $ | rcObj | ) | [protected] |
Enhanced RC ungrouped line.
Definition at line 908 of file ChangesList.php.
References $classes, $wgContLang, $wgRCShowChangedSize, LogPage::actionText(), LogPage::DELETED_ACTION, LogPage::extractParams(), ChangesList::insertArticleLink(), ChangesList::insertComment(), ChangesList::insertRollback(), ChangesList::insertTags(), ChangesList::isDeleted(), LogPage::logName(), Title::newFromText(), ChangesList::numberofWatchingusers(), ChangesList::recentChangesFlags(), spacerArrow(), wfMsgHtml(), wfProfileIn(), and wfProfileOut().
Referenced by recentChangesBlock().
EnhancedChangesList::recentChangesLine | ( | &$ | baseRC, | |
$ | watched = false | |||
) |
Format a line for enhanced recentchange (aka with javascript and block of lines).
Definition at line 470 of file ChangesList.php.
References $msg, $title, $wgContLang, $wgLang, $wgUser, Revision::DELETED_TEXT, Revision::DELETED_USER, SpecialPage::getTitleFor(), ChangesList::isDeleted(), LogPage::logName(), RCCacheEntry::newFromParent(), recentChangesBlock(), SpecialPage::resolveAliasWithSubpage(), ChangesList::userCan(), wfDebug(), wfMsg(), wfMsgHtml(), wfProfileIn(), and wfProfileOut().
EnhancedChangesList::sideArrow | ( | ) | [protected] |
Generate HTML for a right- or left-facing arrow, depending on language direction.
Definition at line 873 of file ChangesList.php.
References $wgContLang, arrow(), and wfMsg().
Referenced by recentChangesBlockGroup().
EnhancedChangesList::spacerArrow | ( | ) | [protected] |
Generate HTML for a spacer image.
Definition at line 892 of file ChangesList.php.
References arrow(), and codepointToUtf8().
Referenced by recentChangesBlockLine().
EnhancedChangesList::spacerIndent | ( | ) | [protected] |
Add a set of spaces.
tag
Definition at line 900 of file ChangesList.php.
Referenced by recentChangesBlockGroup().