/** @var Title|string|bool */
protected $title;
- /** @var string Text of last error */
+ /** @var string Text of last error */
protected $lastError;
- /** @var string Main part of the title, with underscores (Title::getDBkey) */
+ /** @var string Main part of the title, with underscores (Title::getDBkey) */
protected $redirected;
/** @var Title */
public function getCommonMetaArray() {
$handler = $this->getHandler();
+ if ( !$handler ) {
+ return false;
+ }
+
return $handler->getCommonMetaArray( $this );
}
$this->assertRepoDefined();
return $this->repo->getZonePath( 'thumb' ) . '/' .
- $this->getArchiveThumbRel( $archiveName, $suffix );
+ $this->getArchiveThumbRel( $archiveName, $suffix );
}
/**