[feature requests] "Protection conflicts" like "edit conflicts"
OpenPublic

Description

I hope I am doing this right, it is my first feature request:

When multiple people try to save a page, the MediaWiki software creates an "edit conflict" window to warn them that the page has just been changed.
I would like a similar behavior for protections. For example, this page on Wikipedia was protected four times in a row with the same length: http://en.wikipedia.org/w/index.php?title=Special:Log&page=User_talk%3AEast718
So I think the software should output a warning if 1.) the page has been protected while one was on the protection page or 2.) one chose the same protection level that already is applied (e.g. if it's already indef protected, selecting indef protection should generate a warning).

Regards
SoWhy


Version: 1.14.x
Severity: enhancement

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz16441.
SoWhy created this task.Via LegacyNov 23 2008, 7:41 PM
bzimport added a comment.Via ConduitOct 20 2010, 2:51 PM

Amalthea.wikimedia wrote:

Personally, I think it should trigger the conflict if the page was touched at all since opening the form because the basis for the action might changed or gone.

It's actually more important that the API offers such a conflict protection. Often a number of such actions are batched, and will be processed based on outdated information. It should allow guarding against such protection/deletion conflicts if the timestamp of the last revision is passed in, just like it does with editing.

It might be prudent to allow overriding the conflict in the webform as well, otherwise Bad People could theoretically prevent protection/deletion of a page through distributed high-frequency editing.

Krinkle added a comment.Via ConduitOct 20 2010, 2:56 PM

I agree with Amalthea.

To make it like "edit":

  • If the new settings are equal to the current settings, ignore it (aka "null edit") (with same I mean: same protection and same end date. Duration may differ.)
  • If settings are not the same, and between the current time and wpStarttime (time of opening form page) was a 'protect' action on this page, show the new 'protection conflict' page.

Krinkle

Krenair added a comment.Via ConduitDec 8 2012, 1:17 PM
  • Bug 42854 has been marked as a duplicate of this bug. ***

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.