Go to the documentation of this file.
34 global $wgRCShowChangedSize;
37 # Should patrol-related stuff be shown?
44 if ( $linenumber & 1 ) {
45 $classes[] =
'mw-line-odd';
47 $classes[] =
'mw-line-even';
53 $classes[] = $watched && $rc->mAttribs[
'rc_timestamp'] >= $watched
54 ?
'mw-changeslist-line-watched' :
'mw-changeslist-line-not-watched';
59 } elseif ( $rc->mAttribs[
'rc_log_type'] ) {
61 $this->
insertLog(
$s, $logtitle, $rc->mAttribs[
'rc_log_type'] );
63 } elseif ( $rc->mAttribs[
'rc_namespace'] ==
NS_SPECIAL ) {
65 if (
$name ==
'Log' ) {
71 # M, N, b and ! (minor, new, bot and unpatrolled)
74 'newpage' => $rc->mAttribs[
'rc_type'] ==
RC_NEW,
75 'minor' => $rc->mAttribs[
'rc_minor'],
76 'unpatrolled' => $unpatrolled,
77 'bot' => $rc->mAttribs[
'rc_bot']
85 # Bytes added or removed
86 if ( $wgRCShowChangedSize ) {
89 $s .= $cd .
' <span class="mw-changeslist-separator">. .</span> ';
93 if ( $rc->mAttribs[
'rc_type'] ==
RC_LOG ) {
98 # LTR/RTL direction mark
110 # How many users watch this page
111 if ( $rc->numberofWatchingusers > 0 ) {
115 if ( $this->watchlist ) {
117 $rc->mAttribs[
'rc_namespace'] .
'-' . $rc->mAttribs[
'rc_title'] );
120 if ( !
wfRunHooks(
'OldChangesListRecentChangesLine',
array( &$this, &
$s, $rc, &$classes ) ) ) {
131 return "$dateheader<li class=\"" . implode(
' ', $classes ) .
"\">" .
$s .
"</li>\n";
insertComment( $rc)
Insert a formatted comment.
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
const RC_MOVE_OVER_REDIRECT
wfProfileIn( $functionname)
Begin profiling of a function.
insertLog(&$s, $title, $logtype)
static getTitleFor( $name, $subpage=false, $fragment='')
Get a localised Title object for a specified special page name.
static escapeClass( $class)
Given a value, escape it so that it can be used as a CSS class and return it.
recentChangesLine(&$rc, $watched=false, $linenumber=null)
Format a line using the old system (aka without any javascript).
formatCharacterDifference(RecentChange $old, RecentChange $new=null)
Format the character difference of one or several changes.
getLanguage()
Get the Language object.
insertDateHeader(&$s, $rc_timestamp)
insertArticleLink(&$s, &$rc, $unpatrolled, $watched)
insertLogEntry( $rc)
Insert a formatted action.
wfProfileOut( $functionname='missing')
Stop profiling of a function.
insertTags(&$s, &$rc, &$classes)
wfRunHooks( $event, array $args=array(), $deprecatedVersion=null)
Call hook functions defined in $wgHooks.
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
when a variable name is used in a it is silently declared as a new masking the global
insertUserRelatedLinks(&$s, &$rc)
Insert links to user page, user talk page and eventually a blocking link.
deferred txt A few of the database updates required by various functions here can be deferred until after the result page is displayed to the user For updating the view updating the linked to tables after a etc PHP does not yet have any way to tell the server to actually return and disconnect while still running these but it might have such a feature in the future We handle these by creating a deferred update object and putting those objects on a global list
Allows to change the fields on the form that will be generated $name
insertTimestamp(&$s, $rc)
Insert time timestamp string from $rc into $s.
numberofWatchingusers( $count)
Returns the string which indicates the number of watching users.
showAsUnpatrolled(RecentChange $rc)
static resolveAlias( $alias)
Given a special page name with a possible subpage, return an array where the first element is the spe...
recentChangesFlags( $flags, $nothing=' ')
Returns the appropriate flags for new page, minor change and patrolling.
insertExtra(&$s, &$rc, &$classes)
insertRollback(&$s, &$rc)
Inserts a rollback link.
insertDiffHist(&$s, &$rc, $unpatrolled)