$page_id = $dbw->nextSequenceValue( 'page_page_id_seq' );
$dbw->insert( 'page', array(
'page_id' => $page_id,
$page_id = $dbw->nextSequenceValue( 'page_page_id_seq' );
$dbw->insert( 'page', array(
'page_id' => $page_id,
$updates = $content->getSecondaryDataUpdates(
$this->getTitle(), null, $recursive, $editInfo->output );
foreach ( $updates as $update ) {
$updates = $content->getSecondaryDataUpdates(
$this->getTitle(), null, $recursive, $editInfo->output );
foreach ( $updates as $update ) {
// Clone the title, so we have the information we need when we log
$logTitle = clone $this->mTitle;
// Clone the title, so we have the information we need when we log
$logTitle = clone $this->mTitle;
$logtype = $suppress ? 'suppress' : 'delete';
$logEntry = new ManualLogEntry( $logtype, 'delete' );
$logtype = $suppress ? 'suppress' : 'delete';
$logEntry = new ManualLogEntry( $logtype, 'delete' );
DeferredUpdates::addCallableUpdate( function() use ( $title, $revid ) {
InfoAction::invalidateCache( $title, $revid );
} );
DeferredUpdates::addCallableUpdate( function() use ( $title, $revid ) {
InfoAction::invalidateCache( $title, $revid );
} );