* @param OutputPage $out OutputPage to print to
* @param Skin $skin User skin to use [unused]
* @param IDatabase $dbr (read) connection to use
* @param OutputPage $out OutputPage to print to
* @param Skin $skin User skin to use [unused]
* @param IDatabase $dbr (read) connection to use
$title = Title::makeTitleSafe( $namespace, $row->title );
if ( $title instanceof Title && $title->getNamespace() == NS_FILE ) {
$gallery->add( $title, $this->getCellHtml( $row ) );
$title = Title::makeTitleSafe( $namespace, $row->title );
if ( $title instanceof Title && $title->getNamespace() == NS_FILE ) {
$gallery->add( $title, $this->getCellHtml( $row ) );