X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialVersion.php;h=2ad0deff017d1c5187f5c133515927e22936d069;hb=c7b0bb2459a6b14590b252935eccc2edfccae13b;hp=c99a422e1f49f9afc4ea6a3b7377d001c351bb03;hpb=ac0ab2c03a12756b0965f250c174e228348ec459;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialVersion.php b/includes/specials/SpecialVersion.php index c99a422e1f..2ad0deff01 100644 --- a/includes/specials/SpecialVersion.php +++ b/includes/specials/SpecialVersion.php @@ -1177,9 +1177,9 @@ class SpecialVersion extends SpecialPage { foreach ( $entryPoints as $message => $value ) { $url = wfExpandUrl( $value, PROTO_RELATIVE ); $out .= Html::openElement( 'tr' ) . - // ->text() looks like it should be ->parse(), but this function + // ->plain() looks like it should be ->parse(), but this function // returns wikitext, not HTML, boo - Html::rawElement( 'td', [], $this->msg( $message )->text() ) . + Html::rawElement( 'td', [], $this->msg( $message )->plain() ) . Html::rawElement( 'td', [], Html::rawElement( 'code', [], "[$url $value]" ) ) . Html::closeElement( 'tr' ); }