if ( !is_null( $this->params['continue'] ) ) {
$this->parseContinueParam();
} else {
- $this->rootTitle = $this->getTitleOrPageId( $this->params );
+ $this->rootTitle = $this->getTitleOrPageId( $this->params )->getTitle();
}
// only image titles are allowed for the root in imageinfo mode