X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialNewpages.php;h=671ab6fb55b3af324e3e40b4336de5d5eb57a1a8;hb=17e88d99eb768e4181207bbd35656d239ef5d4e8;hp=61590d75675df629c57665dce44453216e67d3da;hpb=34487054ed508a1924832625d9c71dd3960825fc;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialNewpages.php b/includes/specials/SpecialNewpages.php index 61590d7567..671ab6fb55 100644 --- a/includes/specials/SpecialNewpages.php +++ b/includes/specials/SpecialNewpages.php @@ -278,23 +278,18 @@ class SpecialNewpages extends IncludableSpecialPage { } ); $htmlForm->setMethod( 'get' ); - - $out->addHTML( Xml::fieldset( $this->msg( 'newpages' )->text() ) ); - + $htmlForm->setWrapperLegend( true ); + $htmlForm->setWrapperLegendMsg( 'newpages' ); + $htmlForm->addFooterText( Html::rawElement( + 'div', + null, + $this->filterLinks() + ) ); $htmlForm->show(); - - $out->addHTML( - Html::rawElement( - 'div', - null, - $this->filterLinks() - ) . - Xml::closeElement( 'fieldset' ) - ); } /** - * @param stdClass $row Result row from recent changes + * @param stdClass $result Result row from recent changes * @return Revision|bool */ protected function revisionFromRcResult( stdClass $result ) {