* @author Brian Wolff
*/
+use stdClass;
+
/**
* @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
*/
* @param ResultWrapper $res
*/
public function preprocessResults( $dbr, $res ) {
+ $this->executeLBFromResultWrapper( $res );
$this->totalCount = $this->totalBytes = 0;
foreach ( $res as $row ) {
$mediaStats = $this->splitFakeTitle( $row->title );