$this->mComment = $revision->getComment();
$this->mTimestamp = wfTimestamp( TS_MW, $revision->getTimestamp() );
- $this->mRevIdFetched = $revision->getID();
+ $this->mRevIdFetched = $revision->getId();
$this->mContentLoaded = true;
$this->mRevision =& $revision;
$this->mTimestamp = $this->mLastRevision->getTimestamp();
$this->mComment = $this->mLastRevision->getComment();
$this->mMinorEdit = $this->mLastRevision->isMinor();
- $this->mRevIdFetched = $this->mLastRevision->getID();
+ $this->mRevIdFetched = $this->mLastRevision->getId();
}
}
$checkBox = wfRadio( "mergepoint", $ts, false );
$pageLink = $this->sk->makeKnownLinkObj( $rev->getTitle(),
- htmlspecialchars( $wgLang->timeanddate( $ts ) ), 'oldid=' . $rev->getID() );
+ htmlspecialchars( $wgLang->timeanddate( $ts ) ), 'oldid=' . $rev->getId() );
if( $rev->isDeleted( Revision::DELETED_TEXT ) ) {
$pageLink = '<span class="history-deleted">' . $pageLink . '</span>';
}
);
if( $this->deleteKey=='oldid' ) {
foreach( $revObjs as $rev )
- $hidden[] = wfHidden( 'oldid[]', $rev->getID() );
+ $hidden[] = wfHidden( 'oldid[]', $rev->getId() );
} else {
foreach( $revObjs as $rev )
$hidden[] = wfHidden( 'artimestamp[]', $rev->getTimestamp() );
function updateArchFiles( $file, $bitfield ) {
$this->dbw->update( 'filearchive',
array( 'fa_deleted' => $bitfield ),
- array( 'fa_id' => $file->getID() ),
+ array( 'fa_id' => $file->getId() ),
__METHOD__ );
}