r76536 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76535‎ | r76536 | r76537 >
Date:19:23, 11 November 2010
Author:maxsem
Status:ok
Tags:
Comment:
More gadgets fixage
Modified paths:
  • /trunk/extensions/Gadgets/Gadgets_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Gadgets/Gadgets_body.php
@@ -168,7 +168,7 @@
169169 // but we'd want it to appear above explicit user stuff, so it can be overwritten.
170170
171171 $t = Title::makeTitleSafe( NS_MEDIAWIKI, $page );
172 - if ( !$t ) continue;
 172+ if ( !$t ) return;
173173
174174 $u = $t->getLocalURL( 'action=raw&ctype=' . $wgJsMimeType );
175175 //switched to addScriptFile call to support scriptLoader

Status & tagging log