Index: trunk/extensions/EditUser/EditUser_body.php |
— | — | @@ -45,9 +45,10 @@ |
46 | 46 | $this->showResetForm(); |
47 | 47 | return; |
48 | 48 | } |
49 | | - |
50 | | - $wgOut->addScriptFile( 'prefs.js' ); |
51 | | - |
| 49 | + |
| 50 | + $wgOut->addModules( 'mediawiki.legacy.prefs' ); |
| 51 | + $wgOut->addModules( 'mediawiki.special.preferences' ); |
| 52 | + |
52 | 53 | //$this->loadGlobals( $this->target ); |
53 | 54 | $wgOut->addHtml( $this->makeSearchForm() . '<br />' ); |
54 | 55 | #End EditUser additions |