Last modified: 2014-02-26 15:32:11 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 T47898, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45898 - Unbundle certain user deletions so that any user can do them
Unbundle certain user deletions so that any user can do them
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Page deletion (Other open bugs)
1.22.0
All All
: Low enhancement (vote)
: ---
Assigned To: Tyler Romeo
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-08 13:43 UTC by WereSpielChequers
Modified: 2014-02-26 15:32 UTC (History)
3 users (show)

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


Attachments

Description WereSpielChequers 2013-03-08 13:43:25 UTC
After some discussion as to how we handle the declining number of admins on the English language Wikipedia we got consensus for one proposal to reduce our need for admins by allowing anyone to delete their own mistakes. http://en.wikipedia.org/wiki/Wikipedia:Requests_for_adminship/2013_RfC/2#Unbundling_-_some_U1_and_G7s

All logged in editors would be able to delete pages if:

Either: They were in their userspace and had not been moved there from somewhere else, or edited by someone else (ignoring bot edits and edits flagged as minor)(This does not allow you to delete anything in user talk or any other namespace).

Or: Any page that the editor created and which is less than three months old, unless it has been moved or has been edited by another editor (ignoring bot edits and edits flagged as minor).

The three months might well be a variable that admins will want to vary by project.

Limiting this to logged in editors reflects the reality that there may be several people editing under the same IP address.

I suspect that many other projects will also use this feature if it were enabled on EN wiki. As well as helping with the declining number of admins this change would contribute to the WMF's agenda of making the projects more open by empowering more editors.
Comment 1 Platonides 2013-03-08 13:46:56 UTC
Should be implemented as an extension. Not hard to do, though.
Comment 2 p858snake 2013-03-08 13:50:36 UTC
(In reply to comment #1)
> Should be implemented as an extension. Not hard to do, though.

We don't store bot edit markers like that iirc so would be need to rely on revtags or similar (unless we've changed that recently)
Comment 3 Tyler Romeo 2013-03-08 16:06:50 UTC
(In reply to comment #1)
> Should be implemented as an extension. Not hard to do, though.

AFAIK this is not possible via extension, because Title::userCan first checks quick permissions before running hooks, which means it would fail out early before extensions have a chance to fix it.
Comment 4 Tyler Romeo 2013-03-08 16:52:11 UTC
https://gerrit.wikimedia.org/r/52811
Comment 5 Platonides 2013-03-08 19:49:57 UTC
(In reply to comment #2)
> We don't store bot edit markers like that iirc so would be need to rely on
> revtags or similar (unless we've changed that recently)

That condition could safely be changed “to edited by an account in the bots group”
Comment 6 Platonides 2013-03-08 19:50:57 UTC
Tyler, the conditions of this bug are too specific to be implemented by core, including your deleteown permission.
Comment 7 Tyler Romeo 2013-03-08 19:52:39 UTC
(In reply to comment #6)
> Tyler, the conditions of this bug are too specific to be implemented by core,
> including your deleteown permission.

OK, but how should I implement it in the core? If a user doesn't have the delete permission, it will fail out after the quick permissions check.

(In reply to comment #5)
> (In reply to comment #2)
> > We don't store bot edit markers like that iirc so would be need to rely on
> > revtags or similar (unless we've changed that recently)
> 
> That condition could safely be changed “to edited by an account in the bots
> group”

Or rather, edited by any group with the bot permission.
Comment 8 Tyler Romeo 2013-03-08 20:17:20 UTC
OK, if https://gerrit.wikimedia.org/r/52910 gets merged then it's possible.
Comment 9 Andre Klapper 2013-07-25 07:39:02 UTC
(In reply to comment #8 by Tyler Romeo)
> OK, if https://gerrit.wikimedia.org/r/52910 gets merged then it's possible.

Merged on 2013-06-01
Comment 10 Andre Klapper 2014-02-18 15:04:14 UTC
Tyler: You set this ticket to ASSIGNED and yourself as assignee a year ago.
Do you still plan to work on this?

For the records:
https://gerrit.wikimedia.org/r/#/c/52811/ was abandoned.
https://gerrit.wikimedia.org/r/#/c/52910/ was merged.
Comment 11 Tyler Romeo 2014-02-18 17:58:48 UTC
(In reply to Andre Klapper from comment #10)
> Tyler: You set this ticket to ASSIGNED and yourself as assignee a year ago.
> Do you still plan to work on this?
> 
> For the records:
> https://gerrit.wikimedia.org/r/#/c/52811/ was abandoned.
> https://gerrit.wikimedia.org/r/#/c/52910/ was merged.

Well Extension:DeleteOwn is what I made in order to provide this functionality. Maybe this could be marked as FIXED?

https://gerrit.wikimedia.org/r/#/q/project:mediawiki/extensions/DeleteOwn,n,z
Comment 12 Andre Klapper 2014-02-26 15:32:11 UTC
(In reply to Tyler Romeo from comment #11)
> Extension:DeleteOwn is what I made in order to provide this
> functionality. Maybe this could be marked as FIXED?
> 
> https://gerrit.wikimedia.org/r/#/q/project:mediawiki/extensions/DeleteOwn,n,z

That sounds like a good WORKSFORME. :)
Thanks for the update!

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


Navigation
Links