X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fspecialpage%2FPageQueryPage.php;h=97f004f2437abf365e8cf9f7852f27a73bed57ae;hb=f82b0e76306a9feca014e563a5fac0688cf876dc;hp=afc02271c5a11d314ad24207c41a56030f1609a1;hpb=552125ee3880f1341b96fe828771847174550538;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specialpage/PageQueryPage.php b/includes/specialpage/PageQueryPage.php index afc02271c5..97f004f243 100644 --- a/includes/specialpage/PageQueryPage.php +++ b/includes/specialpage/PageQueryPage.php @@ -32,7 +32,7 @@ abstract class PageQueryPage extends QueryPage { * like page existence and information for stub color and redirect hints. * This should be done for live data and cached data. * - * @param DatabaseBase $db + * @param IDatabase $db * @param ResultWrapper $res */ public function preprocessResults( $db, $res ) { @@ -65,7 +65,7 @@ abstract class PageQueryPage extends QueryPage { $text = $wgContLang->convert( $title->getPrefixedText() ); return Linker::link( $title, htmlspecialchars( $text ) ); } else { - return Html::element( 'span', array( 'class' => 'mw-invalidtitle' ), + return Html::element( 'span', [ 'class' => 'mw-invalidtitle' ], Linker::getInvalidTitleDescription( $this->getContext(), $row->namespace, $row->title ) ); } }