Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -484,12 +484,6 @@ |
485 | 485 | $wgPasswordSender = 'MediaWiki Mail <apache@' . $wgServerName . '>'; |
486 | 486 | |
487 | 487 | /** |
488 | | - * Determines if password autocompletion should be enabled in Special:Userlogin |
489 | | - * Defaults to true. If false, autocomplete="off" will be injected in the form tag. |
490 | | - */ |
491 | | -$wgLoginAutocomplete = true; |
492 | | - |
493 | | -/** |
494 | 488 | * dummy address which should be accepted during mail send action |
495 | 489 | * It might be necessay to adapt the address or to set it equal |
496 | 490 | * to the $wgEmergencyContact address |
Index: trunk/phase3/includes/specials/SpecialUserlogin.php |
— | — | @@ -791,7 +791,6 @@ |
792 | 792 | global $wgUser, $wgOut, $wgAllowRealName, $wgEnableEmail; |
793 | 793 | global $wgCookiePrefix, $wgAuth, $wgLoginLanguageSelector; |
794 | 794 | global $wgAuth, $wgEmailConfirmToEdit, $wgCookieExpiration; |
795 | | - global $wgLoginAutocomplete; |
796 | 795 | |
797 | 796 | $titleObj = SpecialPage::getTitleFor( 'Userlogin' ); |
798 | 797 | |
— | — | @@ -871,8 +870,7 @@ |
872 | 871 | $template->set( 'canreset', $wgAuth->allowPasswordChange() ); |
873 | 872 | $template->set( 'canremember', ( $wgCookieExpiration > 0 ) ); |
874 | 873 | $template->set( 'remember', $wgUser->getOption( 'rememberpassword' ) or $this->mRemember ); |
875 | | - $template->set( 'autocomplete', $wgLoginAutocomplete ); |
876 | | - |
| 874 | + |
877 | 875 | # Prepare language selection links as needed |
878 | 876 | if( $wgLoginLanguageSelector ) { |
879 | 877 | $template->set( 'languages', $this->makeLanguageSelector() ); |
Index: trunk/phase3/includes/templates/Userlogin.php |
— | — | @@ -25,7 +25,7 @@ |
26 | 26 | |
27 | 27 | <div id="loginstart"><?php $this->msgWiki( 'loginstart' ); ?></div> |
28 | 28 | <div id="userloginForm"> |
29 | | -<form name="userlogin" method="post" action="<?php $this->text('action') ?>" <?PHP if( !$this->data['autocomplete'] ) echo 'autocomplete="off"'; ?>> |
| 29 | +<form name="userlogin" method="post" action="<?php $this->text('action') ?>"> |
30 | 30 | <h2><?php $this->msg('login') ?></h2> |
31 | 31 | <p id="userloginlink"><?php $this->html('link') ?></p> |
32 | 32 | <?php $this->html('header'); /* pre-table point for form plugins... */ ?> |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -63,8 +63,6 @@ |
64 | 64 | * Image namespace and accompanying talk namespace renamed to File. For backward |
65 | 65 | compatibility purposes, Image still works. External tools may need to be |
66 | 66 | updated. |
67 | | -* Added $wgLoginAutocomplete to let wiki owner disable password autocompletion |
68 | | - in Special:Userlogin by setting it to false. Defaults to true. |
69 | 67 | |
70 | 68 | === Migrated extensions === |
71 | 69 | The following extensions are migrated into MediaWiki 1.14: |