X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Factions%2FInfoAction.php;h=62f7ddfc1a90e914fccdd0d3e4d3059dc1d47e51;hp=68dda37b6d6a569afaa8fe1e0fcbe6011bddc382;hb=7b28f7756ed046c9ee62931e7c63d133beea0bf0;hpb=fd6e9ef2d481209b01fa6e1bb1c863b8257f0272 diff --git a/includes/actions/InfoAction.php b/includes/actions/InfoAction.php index 68dda37b6d..62f7ddfc1a 100644 --- a/includes/actions/InfoAction.php +++ b/includes/actions/InfoAction.php @@ -128,7 +128,7 @@ class InfoAction extends FormlessAction { // pageinfo-header-basic, pageinfo-header-edits, pageinfo-header-restrictions, // pageinfo-header-properties, pageinfo-category-info $content .= $this->makeHeader( - $this->msg( "pageinfo-${header}" )->escaped(), + $this->msg( "pageinfo-${header}" )->text(), "mw-pageinfo-${header}" ) . "\n"; $table = "\n"; @@ -153,6 +153,7 @@ class InfoAction extends FormlessAction { * Creates a header that can be added to the output. * * @param string $header The header text. + * @param string $canonicalId * @return string The HTML. */ protected function makeHeader( $header, $canonicalId ) { @@ -848,7 +849,7 @@ class InfoAction extends FormlessAction { $linkRenderer = MediaWikiServices::getInstance()->getLinkRenderer(); # Sift for real versus user names - /** @var $user User */ + /** @var User $user */ foreach ( $contributors as $user ) { $page = $user->isAnon() ? SpecialPage::getTitleFor( 'Contributions', $user->getName() )