if ( $title === null ) {
$title = $this->getTitle( $rev->getPageId(), $rev->getId() );
}
- $title = $this->getTitle( $rev->getPageId(), $rev->getId() );
$next = $title->getNextRevisionID( $rev->getId() );
if ( $next ) {
return $this->getRevisionByTitle( $title, $next );