Last modified: 2008-09-28 22:08:58 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 T17565, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15565 - add option to protect user and/or talk page when blocking
add option to protect user and/or talk page when blocking
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
User blocking (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Matt Johnston
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-11 19:18 UTC by Kimon Berlin (gribeco)
Modified: 2008-09-28 22:08 UTC (History)
2 users (show)

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


Attachments
Proposed patch (4.42 KB, patch)
2008-09-12 05:22 UTC, Matt Johnston
Details
Proposed patch v2 (3.80 KB, patch)
2008-09-17 04:44 UTC, Matt Johnston
Details
Proposed patch v2 (proper version) (4.05 KB, patch)
2008-09-17 04:52 UTC, Matt Johnston
Details

Description Kimon Berlin (gribeco) 2008-09-11 19:18:50 UTC
When blocking a user or IP address for a long time, admins often protect the user page and/or talk page to prevent further vandalism, and to make sure that templates added there (such as sockpuppet or open proxy templates) are not tampered with.

This enhancement would save admins a few steps (navigating to each page and then protecting it).
Comment 1 Matt Johnston 2008-09-12 05:22:55 UTC
Created attachment 5320 [details]
Proposed patch

This should do the trick, just adds two checkboxes which do the same as if the admins had manually protected the pages. Automatically uses the maximum protection available (in a default setup, sysop-only). Only available to those also with the protect permission.
Comment 2 Matt Johnston 2008-09-12 05:53:10 UTC

*** This bug has been marked as a duplicate of bug 8440 ***
Comment 3 Matt Johnston 2008-09-12 09:33:39 UTC
Per comment by Huji on bug 8440, this isn't a duplicate, as they are slightly different things. Reopening
Comment 4 Aaron Schulz 2008-09-12 09:40:18 UTC
You could probably check $wgBlockAllowsUTEdit and not show this if that is set to false.
Comment 5 Matt Johnston 2008-09-12 09:45:11 UTC
This is also used by admins (at least it was on enwiki when I was there) when indefblocking, mainly for archiving and to stop other users posting there as well. Although if you think that's unnecessary, i'll happily add it in.
Comment 6 Aaron Schulz 2008-09-12 11:36:23 UTC
(In reply to comment #5)
> This is also used by admins (at least it was on enwiki when I was there) when
> indefblocking, mainly for archiving and to stop other users posting there as
> well. Although if you think that's unnecessary, i'll happily add it in.
> 

Remember that the block form is pretty bloated as is, so helper options should be for things that are fairly common. People can still protect with the tab in other cases.
Comment 7 Matt Johnston 2008-09-17 04:44:52 UTC
Created attachment 5337 [details]
Proposed patch v2

Fixed patch, only shows if UT editing enabled, and also condensed into one option (to protect both).
Comment 8 Matt Johnston 2008-09-17 04:52:30 UTC
Created attachment 5338 [details]
Proposed patch v2 (proper version)

Uploaded wrong patch
Comment 9 Matt Johnston 2008-09-28 22:08:58 UTC
Equivalent behaviour in Bug 8440 implemented, protecting user/usertalk is a rare enough occasion that it doesn't need more bloat onto the block form.

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


Navigation
Links