Last modified: 2013-01-06 11:50:13 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 24391 - ContactPage does not check if user is blocked
ContactPage does not check if user is blocked
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ContactPage (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
: easy, patch, patch-reviewed
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-15 18:01 UTC by Roan Kattouw
Modified: 2013-01-06 11:50 UTC (History)
4 users (show)

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


Attachments
Proposed patch to block blocked users from accessing the ContactPage (1.20 KB, patch)
2010-08-16 11:26 UTC, Thomas Shone
Details
Proposed patch to block blocked users from accessing the ContactPage (1.18 KB, patch)
2010-08-16 12:26 UTC, Thomas Shone
Details

Description Roan Kattouw 2010-07-15 18:01:40 UTC
Per bug 22741 comment #14
Comment 1 Thomas Shone 2010-08-16 11:26:46 UTC
Created attachment 7631 [details]
Proposed patch to block blocked users from accessing the ContactPage
Comment 2 Thomas Shone 2010-08-16 12:26:59 UTC
Created attachment 7632 [details]
Proposed patch to block blocked users from accessing the ContactPage

Corrected the function to check blocked status. I meant to call isBlocked() not isBlockedFromCreateAccount().
Comment 3 Siebrand Mazeland 2010-08-29 12:32:04 UTC
Applied with changes in r71882. Thanks.
Comment 4 p858snake 2010-08-30 00:38:01 UTC
s/need-review/reviewed/ 
Patch has been applied (with some minor changes) so it has been reviewed.
Comment 5 Siebrand Mazeland 2010-08-30 06:57:47 UTC
Only deny use of contact form if sending e-mail is blocked instead of blocking it when the user is blocked from regular editing. Follows-up r71882 code review comments.
Comment 6 Huib abigor Laurens 2010-08-30 07:33:40 UTC
This extension is used on wiki's to let blocked people contact the moderators by sending the email to the OTRS team, this new function that blocks (email)blocked user from sending emails will make it useless...

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


Navigation
Links