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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T13914, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11914 - Change the 'userrights' requirement by 'passwordreset' in the PasswordReset extension
Change the 'userrights' requirement by 'passwordreset' in the PasswordReset e...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


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

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",
'version'=>'1.1'
to
'description'=>"Resets Wiki user's passwords - requires 'passwordreset' privileges",
'version'=>'1.2'

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.


Navigation
Links