Revision: 43640
Author:   harddisk
Date:     2008-11-17 21:28:42 +0000 (Mon, 17 Nov 2008)

Log Message:
-----------
Disabled auto-completion for password in Special:Preferences. Should resolve 
the behaviour described at 
http://lists.wikimedia.org/pipermail/wikitech-l/2008-November/040067.html

Modified Paths:
--------------
    trunk/phase3/includes/specials/SpecialPreferences.php

Modified: trunk/phase3/includes/specials/SpecialPreferences.php
===================================================================
--- trunk/phase3/includes/specials/SpecialPreferences.php       2008-11-17 
21:27:00 UTC (rev 43639)
+++ trunk/phase3/includes/specials/SpecialPreferences.php       2008-11-17 
21:28:42 UTC (rev 43640)
@@ -759,20 +759,20 @@
                                $this->tableRow( Xml::element( 'h2', null, 
wfMsg( 'changepassword' ) ) ) .
                                $this->tableRow(
                                        Xml::label( wfMsg( 'oldpassword' ), 
'wpOldpass' ),
-                                       Xml::password( 'wpOldpass', 25, 
$this->mOldpass, array( 'id' => 'wpOldpass' ) )
+                                       Xml::password( 'wpOldpass', 25, 
$this->mOldpass, array( 'id' => 'wpOldpass', 'autocomplete' => 'off' ) )
                                ) .
                                $this->tableRow(
                                        Xml::label( wfMsg( 'newpassword' ), 
'wpNewpass' ),
-                                       Xml::password( 'wpNewpass', 25, 
$this->mNewpass, array( 'id' => 'wpNewpass' ) )
+                                       Xml::password( 'wpNewpass', 25, 
$this->mNewpass, array( 'id' => 'wpNewpass', 'autocomplete' => 'off' ) )
                                ) .
                                $this->tableRow(
                                        Xml::label( wfMsg( 'retypenew' ), 
'wpRetypePass' ),
-                                       Xml::password( 'wpRetypePass', 25, 
$this->mRetypePass, array( 'id' => 'wpRetypePass' ) )
+                                       Xml::password( 'wpRetypePass', 25, 
$this->mRetypePass, array( 'id' => 'wpRetypePass', 'autocomplete' => 'off' ) )
                                )
                        );
                        if( $wgCookieExpiration > 0 ){
                                $wgOut->addHTML(
-                                       $this->tableRow( $this->getToggle( 
"rememberpassword" ) )                               
+                                       $this->tableRow( $this->getToggle( 
"rememberpassword" ) )       
                                );
                        } else {
                                $this->mUsedToggles['rememberpassword'] = true;



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to