function formatRow( $row ) {
if ( $this->mLastRow ) {
- $latest = $this->mCounter == 1 && $this->mOffset == '' && !$this->mIsBackwards;
+ $latest = $this->mCounter == 1 && $this->mIsFirst;
$firstInList = $this->mCounter == 1;
$s = $this->mPageHistory->historyLine( $this->mLastRow, $row, $this->mCounter++,
$this->mPageHistory->getNotificationTimestamp(), $latest, $firstInList );
function getEndBody() {
if ( $this->mLastRow ) {
- $latest = $this->mCounter == 1 && $this->mOffset == 0 && !$this->mIsBackwards;
+ $latest = $this->mCounter == 1 && $this->mIsFirst;
$firstInList = $this->mCounter == 1;
if ( $this->mIsBackwards ) {
# Next row is unknown, but for UI reasons, probably exists if an offset has been specified