diff options
Diffstat (limited to 'includes/changes/ChangesList.php')
-rw-r--r-- | includes/changes/ChangesList.php | 39 |
1 files changed, 38 insertions, 1 deletions
diff --git a/includes/changes/ChangesList.php b/includes/changes/ChangesList.php index 932006d4..fdc9944f 100644 --- a/includes/changes/ChangesList.php +++ b/includes/changes/ChangesList.php @@ -204,7 +204,8 @@ class ChangesList extends ContextSource { $code = $lang->getCode(); static $fastCharDiff = array(); if ( !isset( $fastCharDiff[$code] ) ) { - $fastCharDiff[$code] = $config->get( 'MiserMode' ) || $context->msg( 'rc-change-size' )->plain() === '$1'; + $fastCharDiff[$code] = $config->get( 'MiserMode' ) + || $context->msg( 'rc-change-size' )->plain() === '$1'; } $formattedSize = $lang->formatNum( $szdiff ); @@ -371,6 +372,19 @@ class ChangesList extends ContextSource { } /** + * @param RecentChange $rc + * @param bool $unpatrolled + * @param bool $watched + * @return string + * @since 1.26 + */ + public function getArticleLink( RecentChange $rc, $unpatrolled, $watched ) { + $s = ''; + $this->insertArticleLink( $s, $rc, $unpatrolled, $watched ); + return $s; + } + + /** * Get the timestamp from $rc formatted with current user's settings * and a separator * @@ -543,6 +557,17 @@ class ChangesList extends ContextSource { } /** + * @param RecentChange $rc + * @return string + * @since 1.26 + */ + public function getRollback( RecentChange $rc ) { + $s = ''; + $this->insertRollback( $s, $rc ); + return $s; + } + + /** * @param string $s * @param RecentChange $rc * @param array $classes @@ -560,6 +585,18 @@ class ChangesList extends ContextSource { $s .= ' ' . $tagSummary; } + /** + * @param RecentChange $rc + * @param array $classes + * @return string + * @since 1.26 + */ + public function getTags( RecentChange $rc, array &$classes ) { + $s = ''; + $this->insertTags( $s, $rc, $classes ); + return $s; + } + public function insertExtra( &$s, &$rc, &$classes ) { // Empty, used for subclasses to add anything special. } |