MediaWiki  REL1_19
EnhancedChangesList Class Reference

Generate a list of changes using an Enhanced system (uses javascript). More...

Inheritance diagram for EnhancedChangesList:
Collaboration diagram for EnhancedChangesList:

List of all members.

Public Member Functions

 beginRecentChangesList ()
 Add the JavaScript file for enhanced changeslist.
 endRecentChangesList ()
 Returns text for the end of RC If enhanced RC is in use, returns pretty much all the text.
 recentChangesLine (&$baseRC, $watched=false)
 Format a line for enhanced recentchange (aka with javascript and block of lines).

Protected Member Functions

 arrow ($dir, $alt='', $title='')
 Generate HTML for an arrow or placeholder graphic.
 downArrow ()
 Generate HTML for a down-facing arrow depending on language direction.
 recentChangesBlock ()
 If enhanced RC is in use, this function takes the previously cached RC lines, arranges them, and outputs the HTML.
 recentChangesBlockGroup ($block)
 Enhanced RC group.
 recentChangesBlockLine ($rcObj)
 Enhanced RC ungrouped line.
 sideArrow ()
 Generate HTML for a right- or left-facing arrow, depending on language direction.
 spacerArrow ()
 Generate HTML for a spacer image.

Protected Attributes

 $rc_cache

Detailed Description

Generate a list of changes using an Enhanced system (uses javascript).

Definition at line 615 of file ChangesList.php.


Member Function Documentation

EnhancedChangesList::arrow ( dir,
alt = '',
title = '' 
) [protected]

Generate HTML for an arrow or placeholder graphic.

Parameters:
$dirString: one of '', 'd', 'l', 'r'
$altString: text
$titleString: text
Returns:
String: HTML tag

Definition at line 1056 of file ChangesList.php.

References $dir, $title, and $wgStylePath.

Referenced by downArrow(), sideArrow(), and spacerArrow().

Here is the caller graph for this function:

Add the JavaScript file for enhanced changeslist.

Returns:
String

Reimplemented from ChangesList.

Definition at line 623 of file ChangesList.php.

References ContextSource\getOutput().

Here is the call graph for this function:

Generate HTML for a down-facing arrow depending on language direction.

Returns:
String: HTML tag

Definition at line 1080 of file ChangesList.php.

References arrow(), and wfMsg().

Here is the call graph for this function:

Returns text for the end of RC If enhanced RC is in use, returns pretty much all the text.

Returns:
string

Reimplemented from ChangesList.

Definition at line 1207 of file ChangesList.php.

References recentChangesBlock().

Here is the call graph for this function:

If enhanced RC is in use, this function takes the previously cached RC lines, arranges them, and outputs the HTML.

Returns:
string

Definition at line 1181 of file ChangesList.php.

References recentChangesBlockGroup(), recentChangesBlockLine(), wfProfileIn(), and wfProfileOut().

Referenced by endRecentChangesList(), and recentChangesLine().

Here is the call graph for this function:

Here is the caller graph for this function:

Enhanced RC ungrouped line.

Parameters:
$rcObjRecentChange
Returns:
String: a HTML formatted line (generated using $r)

Definition at line 1098 of file ChangesList.php.

References $wgRCShowChangedSize, Sanitizer\escapeClass(), SpecialPage\getTitleFor(), ChangesList\insertArticleLink(), ChangesList\insertComment(), ChangesList\insertLogEntry(), ChangesList\insertRollback(), ChangesList\insertTags(), Linker\linkKnown(), LogPage\logName(), ChangesList\numberofWatchingusers(), Html\openElement(), ChangesList\recentChangesFlags(), spacerArrow(), wfProfileIn(), and wfProfileOut().

Referenced by recentChangesBlock().

Here is the call graph for this function:

Here is the caller graph for this function:

Generate HTML for a right- or left-facing arrow, depending on language direction.

Returns:
String: HTML tag

Definition at line 1069 of file ChangesList.php.

References $dir, $wgLang, arrow(), and wfMsg().

Here is the call graph for this function:

Generate HTML for a spacer image.

Returns:
String: HTML tag

Definition at line 1088 of file ChangesList.php.

References arrow(), and codepointToUtf8().

Referenced by recentChangesBlockLine().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

EnhancedChangesList::$rc_cache [protected]

Definition at line 617 of file ChangesList.php.


The documentation for this class was generated from the following file: