Last modified: 2012-10-02 16:17:54 UTC
PHP Fatal error: Call to undefined method WikiPage::getOldID() in /usr/local/apache/common-local/php-1.21wmf1/extensions/Collection/Collection.body.php on line 817 if ( $oldid < 0 ) { $article = new WikiPage( $articleTitle ); } else { $article = new Article( $articleTitle, $oldid ); } if ( !$article->exists() ) { return null; } $revision = Revision::newFromTitle( $articleTitle, $article->getOldID() ); Article has the getOldID method, WikiPage doesn't.. So if we've had $oldid < 0, we've got a wikipage object, and then we can't pull the old id from that
https://gerrit.wikimedia.org/r/26331