X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fparser%2FCoreTagHooks.php;h=cbc060a926ac2137c3c1544fe7d4f2c4e6f03104;hb=a90f1a2d790dc00fe9bf50ed978bd8365f9d1431;hp=296be66f5b6e4a58568bf227fd78257bbdbd16ad;hpb=a97f5a11348706b415883d6a3679d3ec253eb0db;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/parser/CoreTagHooks.php b/includes/parser/CoreTagHooks.php index 296be66f5b..cbc060a926 100644 --- a/includes/parser/CoreTagHooks.php +++ b/includes/parser/CoreTagHooks.php @@ -72,11 +72,12 @@ class CoreTagHooks { * @param $content string * @param $attributes array * @param $parser Parser + * @throws MWException * @return array */ static function html( $content, $attributes, $parser ) { global $wgRawHtml; - if( $wgRawHtml ) { + if ( $wgRawHtml ) { return array( $content, 'markerType' => 'nowiki' ); } else { throw new MWException( ' extension tag encountered unexpectedly' ); @@ -106,7 +107,7 @@ class CoreTagHooks { * Renders a thumbnail list of the given images, with optional captions. * Full syntax documented on the wiki: * - * http://www.mediawiki.org/wiki/Help:Images#Gallery_syntax + * https://www.mediawiki.org/wiki/Help:Images#Gallery_syntax * * @todo break Parser::renderImageGallery out here too. *