* @author Brian Wolff
*/
+use Wikimedia\Rdbms\ResultWrapper;
+use Wikimedia\Rdbms\IDatabase;
+
/**
* @ingroup SpecialPage
*/
*/
protected function outputTableRow( $mime, $count, $bytes ) {
$mimeSearch = SpecialPage::getTitleFor( 'MIMEsearch', $mime );
+ $linkRenderer = $this->getLinkRenderer();
$row = Html::rawElement(
'td',
[],
- Linker::link( $mimeSearch, htmlspecialchars( $mime ) )
+ $linkRenderer->makeLink( $mimeSearch, $mime )
);
$row .= Html::element(
'td',
* we need to implement since abstract in parent class.
*
* @param Skin $skin
- * @param stdObject $result Result row
+ * @param stdClass $result Result row
* @return bool|string|void
* @throws MWException
*/