r36337 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r36336‎ | r36337 | r36338 >
Date:15:02, 16 June 2008
Author:demon
Status:old
Tags:
Comment:
Helps to declare the global.
Modified paths:
  • /trunk/extensions/ImageMap/ImageMap_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ImageMap/ImageMap_body.php
@@ -27,7 +27,7 @@
2828 const NONE = 4;
2929
3030 static function render( $input, $params, $parser ) {
31 - global $wgScriptPath, $wgUser, $wgUrlProtocols, $wgNoFollowLinks;
 31+ global $wgScriptPath, $wgUser, $wgUrlProtocols, $wgNoFollowLinks, $wgAllowExternalImages;
3232 wfLoadExtensionMessages( 'ImageMap' );
3333
3434 $lines = explode( "\n", $input );

Status & tagging log