Topic on Extension talk:Password Reset

Broken by trunk version of mediawiki 1.19?

7
P858snake (talkcontribs)

Version tested is: 1.19alpha (Version 93922), here the link during login "Forgotten your login details?" points to a form

Reset password: 
Complete this form to receive an e-mail reminder of your account details. 
Username: [     ]  
[e-mail new password].

which is the page: Special:PasswordReset. This page exists WITHOUT Extension:Password Reset being installed. It seems a (different) core functionality uses the same special page name now? Any insights?

This post was posted by Peachey88, but signed as G.Hagedorn.

99.235.80.226 (talkcontribs)

Could someone confirm it was working with versions 1.15-1.17? Just post here if you can - thank you!

SPQRobin (talkcontribs)

Yes, Password Reset is now a core functionality (since 1.19).

SPQRobin (talkcontribs)

No, since 1.18.

G.Hagedorn (talkcontribs)

Just for public record, issue was already discussed with SPQRobin: While it is correct that the extension is no longer working, this leaves many users without an option to upgrade to 1.18, since the functionality of the extension (admins reset passwords for internal wikis where no email is known, either because not necessary internally, or because authentication methods like OpenID are used) is not covered by the core functionality. See https://bugzilla.wikimedia.org/show_bug.cgi?id=30636 . Should the notice box be different? It is not obsolete in the sense of "no longer needed", but obsolete in the sense "needed, but made impossible to function".

Wikinaut (talkcontribs)

Just to add: as maintainer of the OpenID-Extension I recently added a method to reset passwords even if there is no password (when users created their account by OpenID account creation, which does not set a password by default). The OpenID version (trunk) works stable with MediaWiki trunk.

Hoggle42 (talkcontribs)

To fix (have it working in 1.23)

  1. Rename all the files and folder and the config lines from passwordreset to passwordreset2
  2. do a global find and replace likewise within the files
  3. Change both special page functions as below:
class PasswordReset2 extends SpecialPage {
	function __construct() {
		parent::__construct( "PasswordReset2", "passwordreset2" );
	}

and

class Disabledusers extends SpecialPage {
	///StalePages Class Constructor
	public function __construct() {
		parent::__construct( 'Disabledusers', 'passwordreset2' );
	}
Reply to "Broken by trunk version of mediawiki 1.19?"