r76656 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76655‎ | r76656 | r76657 >
Date:11:13, 14 November 2010
Author:maxsem
Status:ok
Tags:
Comment:
Removed outdated comments. Yay, RL managed to fix some things along with breaking the others! :P
Modified paths:
  • /trunk/extensions/Gadgets/Gadgets_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Gadgets/Gadgets_body.php
@@ -164,14 +164,10 @@
165165 private static function applyScript( $page, $out ) {
166166 global $wgJsMimeType;
167167
168 - //FIXME: stuff added via $out->addScript appears below usercss and userjs
169 - // but we'd want it to appear above explicit user stuff, so it can be overwritten.
170 -
171168 $t = Title::makeTitleSafe( NS_MEDIAWIKI, $page );
172169 if ( !$t ) return;
173170
174171 $u = $t->getLocalURL( 'action=raw&ctype=' . $wgJsMimeType );
175 - //switched to addScriptFile call to support scriptLoader
176172 $out->addScriptFile( $u, $t->getLatestRevID() );
177173 }
178174

Status & tagging log