r82667 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82666‎ | r82667 | r82668 >
Date:13:44, 23 February 2011
Author:demon
Status:deferred
Tags:
Comment:
Update to use ResourceLoader, per liangent on IRC :)
Modified paths:
  • /trunk/extensions/EditUser/EditUser_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/EditUser/EditUser_body.php
@@ -45,9 +45,10 @@
4646 $this->showResetForm();
4747 return;
4848 }
49 -
50 - $wgOut->addScriptFile( 'prefs.js' );
51 -
 49+
 50+ $wgOut->addModules( 'mediawiki.legacy.prefs' );
 51+ $wgOut->addModules( 'mediawiki.special.preferences' );
 52+
5253 //$this->loadGlobals( $this->target );
5354 $wgOut->addHtml( $this->makeSearchForm() . '<br />' );
5455 #End EditUser additions

Status & tagging log