Index: trunk/phase3/skins/common/changepassword.js |
— | — | @@ -1,16 +0,0 @@ |
2 | | - |
3 | | -window.onNameChange = function() { |
4 | | - if ( wgUserName == document.getElementById('wpName').value ) { |
5 | | - document.getElementById('wpPassword').disabled = false; |
6 | | - document.getElementById('wpComment').disabled = true; |
7 | | - } else { |
8 | | - document.getElementById('wpPassword').disabled = true; |
9 | | - document.getElementById('wpComment').disabled = false; |
10 | | - } |
11 | | -}; |
12 | | - |
13 | | -window.onNameChangeHook = function() { |
14 | | - document.getElementById( 'wpName' ).onblur = onNameChange; |
15 | | -}; |
16 | | - |
17 | | -addOnloadHook( onNameChangeHook ); |
Index: trunk/phase3/resources/Resources.php |
— | — | @@ -416,10 +416,6 @@ |
417 | 417 | 'scripts' => 'skins/common/block.js', |
418 | 418 | 'dependencies' => 'mediawiki.legacy.wikibits', |
419 | 419 | ), |
420 | | - 'mediawiki.legacy.changepassword' => array( |
421 | | - 'scripts' => 'skins/common/changepassword.js', |
422 | | - 'dependencies' => 'mediawiki.legacy.wikibits', |
423 | | - ), |
424 | 420 | 'mediawiki.legacy.commonPrint' => array( |
425 | 421 | 'styles' => array( 'skins/common/commonPrint.css' => array( 'media' => 'print' ) ), |
426 | 422 | ), |