Last modified: 2007-11-19 18:34:32 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 11914 - Change the 'userrights' requirement by 'passwordreset' in the PasswordReset extension
Change the 'userrights' requirement by 'passwordreset' in the PasswordReset e...
Product: MediaWiki extensions
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-11-09 22:13 UTC by Robin Pepermans (SPQRobin)
Modified: 2007-11-19 18:34 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---

The file for PasswordReset_body.php (5.42 KB, text/plain)
2007-11-09 22:13 UTC, Robin Pepermans (SPQRobin)
The file for PasswordReset_body.php (new) (5.33 KB, text/plain)
2007-11-10 15:51 UTC, Robin Pepermans (SPQRobin)

Description Robin Pepermans (SPQRobin) 2007-11-09 22:13:53 UTC
Created attachment 4316 [details]
The file for PasswordReset_body.php

To use the PasswordReset extension, you need the right 'userrights' (bureaucrats by default).
Please replace the 'userrights' right by the 'passwordreset' right because with the new $wgAddGroups and $wgRemoveGroups it is possible that users who should not have access to Special:PasswordReset, can have access to it.

See the attachment for the changed PasswordReset_body.php file, and also the extension credits in PasswordReset.php has to be changed:
'description'=>"Resets Wiki user's passwords - requires 'userrights' privileges",
'description'=>"Resets Wiki user's passwords - requires 'passwordreset' privileges",

Thank you, [[meta:User:SPQRobin]]
Comment 1 Robin Pepermans (SPQRobin) 2007-11-10 15:51:51 UTC
Created attachment 4318 [details]
The file for PasswordReset_body.php (new)

I saw 'wfMsgForContent' was used, while it's much better to use 'wfMsg', so I changed that in this new attachment.
Comment 2 Tim Laqua 2007-11-19 18:34:32 UTC
Fixed in r27638

Note You need to log in before you can comment on or make changes to this bug.