public $mDataLoaded = false; // !< Boolean
public $mIsRedirect = false; // !< Boolean
public $mLatest = false; // !< Integer (false means "not loaded")
- public $mPreparedEdit = false; // !< Array
+ public $mPreparedEdit = false; // !< Array
+ /**@}}*/
/**
* @var Title
*/
protected $mLastRevision = null;
- protected $mTimestamp = ''; // !< String
- protected $mTouched = '19700101000000'; // !< String
- /**@}}*/
+ /**
+ * @var string; timestamp of the current revision or empty string of not loaded
+ */
+ protected $mTimestamp = '';
/**
* Constructor and clear the article
$this->mRedirectTarget = null; # Title object if set
$this->mLastRevision = null; # Latest revision
$this->mTimestamp = '';
- $this->mTouched = '19700101000000';
$this->mIsRedirect = false;
$this->mLatest = false;
$this->mPreparedEdit = false;
$this->mTitle->loadFromRow( $data );
- $this->mTouched = wfTimestamp( TS_MW, $data->page_touched );
$this->mIsRedirect = intval( $data->page_is_redirect );
$this->mLatest = intval( $data->page_latest );
} else {
if ( !$this->mDataLoaded ) {
$this->loadPageData();
}
- return $this->mTouched;
+ return $this->mTitle->getTouched();
}
/**