function historyLine( $row, $next, $counter = '', $notificationtimestamp = false, $latest = false, $firstInList = false ) {
global $wgUser;
$rev = new Revision( $row );
+ $rev->setTitle( $this->mTitle );
$s = '<li>';
$curlink = $this->curLink( $rev, $latest );
'wl_user' => $wgUser->getID()
),
$fname);
+
+ // Don't use the special value reserved for telling whether the field is filled
+ if ( is_null( $this->mNotificationTimestamp ) ) {
+ $this->mNotificationTimestamp = false;
+ }
return $this->mNotificationTimestamp;
}
*/
function feedItem( $row ) {
$rev = new Revision( $row );
+ $rev->setTitle( $this->mTitle );
$text = rcFormatDiffRow( $this->mTitle,
$this->mTitle->getPreviousRevisionID( $rev->getId() ),
$rev->getId(),
array( 'page_namespace', 'page_title' ),
array( 'page_id=rev_page',
'rev_id' => $this->mId ),
- 'Revision::getTItle' );
+ 'Revision::getTitle' );
if( $row ) {
$this->mTitle = Title::makeTitle( $row->page_namespace,
$row->page_title );
return $this->mTitle;
}
+ /**
+ * Set the title of the revision
+ * @param Title $title
+ */
+ function setTitle( $title ) {
+ $this->mTitle = $title;
+ }
+
/**
* @return int
*/