Page MenuHomePhabricator

Make user_editcount field unsigned
Closed, ResolvedPublic

Description

It should be impossible to have a negative number of edits.
Inspired by T305329 where there was such a negative edit count, which has been fixed - per T305329#7827210 there should be no other such negative numbers on any wiki, so it should be safe to change to unsigned

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Hi guys, can I have steps to reproduce this bug!

@Diesel_kapasule: Hi, can you please describe what you've tried already and what exactly is unclear and why? There's not much to reproduce here, this is about the database scheme of MediaWiki core. (PS: Please also see https://www.mediawiki.org/wiki/Inclusive_language ) Thanks!

Diesel_kapasule changed the task status from Open to In Progress.Apr 4 2022, 2:29 PM
Diesel_kapasule claimed this task.

Change 776970 had a related patch set uploaded (by Diesel kapasule; author: Diesel kapasule):

[mediawiki/core@master] Updating user_editcount field to unsigned

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

Change 776970 abandoned by Diesel kapasule:

[mediawiki/core@master] Updating user_editcount field to unsigned

Reason:

Merge Conflict

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

Change 780974 had a related patch set uploaded (by Diesel kapasule; author: Diesel kapasule):

[mediawiki/core@master] Updating user_editcount field to unsigned

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

Change 776970 restored by Diesel kapasule:

[mediawiki/core@master] Updating user_editcount field to unsigned

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

Change 780974 abandoned by Diesel kapasule:

[mediawiki/core@master] Updating user_editcount field to unsigned

Reason:

Merge conflict

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

Change 780974 restored by Diesel kapasule:

[mediawiki/core@master] Updating user_editcount field to unsigned

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

Change 776970 abandoned by Diesel kapasule:

[mediawiki/core@master] Updating user_editcount field to unsigned

Reason:

Merge conflict

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

Change 780974 abandoned by Diesel kapasule:

[mediawiki/core@master] Updating user_editcount field to unsigned

Reason:

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

Change 782011 had a related patch set uploaded (by Diesel kapasule; author: Diesel kapasule):

[mediawiki/core@master] Updating user_editcount field to unsigned

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

Change 780974 restored by Diesel kapasule:

[mediawiki/core@master] Updating user_editcount field to unsigned

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

Change 780974 abandoned by Diesel kapasule:

[mediawiki/core@master] Updating user_editcount field to unsigned

Reason:

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

Change 776970 restored by Diesel kapasule:

[mediawiki/core@master] Updating user_editcount field to unsigned

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

Change 782011 abandoned by Diesel kapasule:

[mediawiki/core@master] Updating user_editcount field to unsigned

Reason:

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

Change 776970 abandoned by Diesel kapasule:

[mediawiki/core@master] Updating user_editcount field to unsigned

Reason:

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

Change 783825 had a related patch set uploaded (by Diesel kapasule; author: Diesel kapasule):

[mediawiki/core@master] Schema:Updating user_editcount field to unsigned

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

Change 785123 had a related patch set uploaded (by Diesel kapasule; author: Diesel kapasule):

[mediawiki/core@master] Schema:Updating user_editcount field to unsigned

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

Change 785123 merged by jenkins-bot:

[mediawiki/core@master] Schema: Updating user_editcount field to unsigned

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

Change 783825 abandoned by Zabe:

[mediawiki/core@master] Schema:Updating user_editcount field to unsigned

Reason:

https://gerrit.wikimedia.org/r/c/mediawiki/core/+/785123

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

@MNadrofsky This is not the first time S&F just half done tickets (and unresponsive to pings). I finish it but this is not sustainable.

@MNadrofsky This is not the first time S&F just half done tickets (and unresponsive to pings). I finish it but this is not sustainable.

Thank you for your work and for posting this. I'll follow up directly with S&F and share this ticket with them for comment/feedback.