-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
aaron@svn.wikimedia.org wrote:
$nullRevision->insertOn( $dbw );
$nullRevId = $nullRevision->insertOn( $dbw );# Update page record$dbw->update( 'page',array( /* SET */'page_touched' => $dbw->timestamp(),'page_latest' => $nullRevId), array( /* WHERE */'page_id' => $title->getArticleId()), __METHOD__);
Please use Article::updateRevisionOn() rather than hacking the database directly here.
- -- brion vibber (brion @ wikimedia.org)
wikitech-l@lists.wikimedia.org