Merge "ContributionsPager: Format all rows if the pager only has revisions"
This commit is contained in:
commit
3a4b9fe3f1
1 changed files with 1 additions and 1 deletions
|
|
@ -969,7 +969,7 @@ abstract class ContributionsPager extends RangeChronologicalPager {
|
|||
// ContributionsLineEnding hook below.
|
||||
// FIXME: have some better way for extensions to provide formatted rows.
|
||||
$this->currentRevRecord = $this->tryCreatingRevisionRecord( $row, $this->currentPage );
|
||||
if ( $this->currentRevRecord && $this->currentPage ) {
|
||||
if ( $this->revisionsOnly || ( $this->currentRevRecord && $this->currentPage ) ) {
|
||||
$attribs['data-mw-revid'] = $this->currentRevRecord->getId();
|
||||
|
||||
$link = $this->formatArticleLink( $row );
|
||||
|
|
|
|||
Loading…
Reference in a new issue