Page MenuHomePhabricator

Give sysops deletelogentry and deleterevision rights by default
Open, LowPublicFeature

Description

Currently, DefaultSettings.php has this commented-out line:

#$wgGroupPermissions['sysop']['deleterevision'] = true;

I propose that this be reinstated. If sysops can delete pages, why not individual revisions?


Version: 1.24rc
Severity: enhancement

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:33 AM
bzimport set Reference to bz68298.

Change 148229 had a related patch set uploaded by leucosticte:
Give sysops the deleterevision right by default

https://gerrit.wikimedia.org/r/148229

If that was done, wouldn't it make sense to add "deletelogentry" as a default right as well? It's a closely related permission which could be added under the same rationale, as far as I can tell.

(In reply to Vogone from comment #2)

If that was done, wouldn't it make sense to add "deletelogentry" as a
default right as well? It's a closely related permission which could be
added under the same rationale, as far as I can tell.

I'd prefer that it be dealt with as a separate bug. I think that sysops will have more occasion to delete revisions than log entries. Someone could put a lengthy copyright violation in a revision, but copyrighted text in a log entry comment would probably be fair use, given the space constraints.

I think it would be reasonable to give bureaucrats deletelogentry rights, though; that would strike a good balance between transparency and enabling necessary deletions.

(In reply to Nathan Larson from comment #3)

(In reply to Vogone from comment #2)

I'd prefer that it be dealt with as a separate bug. I think that sysops will
have more occasion to delete revisions than log entries. Someone could put a
lengthy copyright violation in a revision, but copyrighted text in a log
entry comment would probably be fair use, given the space constraints.

Fair use is US law and doesn't apply to large parts of this world, for example the European Union. As admins currently have the passive right (deletedhistory) anyway, they could also actively hide log entries after bug 18674 is resolved.

I think it would be reasonable to give bureaucrats deletelogentry rights,
though; that would strike a good balance between transparency and enabling
necessary deletions.

I disagree as the bureaucrat group cannot be seen as a superset of the sysop one. And revision deletion is clearly something which only admins should be able to do by default.

TTO set Security to None.

At Wikimedia Wikis, at least, sysops have access to revision delete globally now. Don't know if this bug refers on making this avalaible for non-WMF wikis.

Yes, this is about the default in MediaWiki itself.

Change 313767 had a related patch set uploaded (by Tjlsangria):
Give sysops the deleterevision right by default.

https://gerrit.wikimedia.org/r/313767

Change 313767 abandoned by Tjlsangria:
Give sysops the deleterevision right by default.

https://gerrit.wikimedia.org/r/313767

Change 313767 restored by Tjlsangria:
Give sysops the deleterevision right by default.

https://gerrit.wikimedia.org/r/313767

Tjlsangria renamed this task from Give sysops deleterevision rights by default to Give sysops deletelogentry and deleterevision rights by default.Oct 2 2016, 6:00 PM

Change 313767 abandoned by TTO:
Give sysops the deletelogentry and deleterevision rights by default.

https://gerrit.wikimedia.org/r/313767

Change 584202 had a related patch set uploaded (by Gerrit Patch Uploader; owner: Gerrit Patch Uploader):
[mediawiki/core@master] Give sysops the deletelogentry and deleterevision rights by default

https://gerrit.wikimedia.org/r/584202

Change 584202 had a related patch set uploaded (by Gerrit Patch Uploader; owner: Gerrit Patch Uploader):
[mediawiki/core@master] Give sysops the deletelogentry and deleterevision rights by default

https://gerrit.wikimedia.org/r/584202

Umm, someone should review this.

At Wikimedia Wikis, at least, sysops have access to revision delete globally now. Don't know if this bug refers on making this avalaible for non-WMF wikis.

Yes, this is about the default in MediaWiki itself.

If this is the case, and we want to resolve that, we need to make sure it doesn't change on Wikimedia wikis

At Wikimedia Wikis, at least, sysops have access to revision delete globally now. Don't know if this bug refers on making this avalaible for non-WMF wikis.

Yes, this is about the default in MediaWiki itself.

If this is the case, and we want to resolve that, we need to make sure it doesn't change on Wikimedia wikis

groupOverrides2 currently grants sysops both deleterevision and deletelogentry, so my understanding is that this shouldn't change any behaviour on Wikimedia wikis. I gave the patch a +1, but would appreciate a sanity check / +2 from someone else

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:13 AM
Aklapper removed a subscriber: leucosticte.