Topic on Project:Support desk

GTrang (talkcontribs)

While rev_deleted (or log_deleted or ar_deleted or rc_deleted, for that matter) could theoretically be equal to 8, having it equal to 8 is pointless and should never actually occur, right?

If you ever find a live edit (or log entry or deleted edit) with rev_deleted (or log_deleted or ar_deleted) equal to 8 on any wiki, rev_deleted (or log_deleted or ar_deleted) and rc_deleted (for recent edits or log entries) should both be changed to 0.

MarkAHershberger (talkcontribs)

Why shouldn't it be equal to 8? Why do you think it should be 0?

Bawolff (talkcontribs)

8 is indeed an invalid value

MarkAHershberger (talkcontribs)

Why? I'm confused.

GTrang (talkcontribs)

If rev_deleted were to equal 8 (DELETED_RESTRICTED), then the text, edit summary, and editor's username or IP address would all still be visible to everyone. That clearly makes rev_deleted = 8 pointless.

MarkAHershberger (talkcontribs)

Thank you!

Ammarpad (talkcontribs)

While rev_deleted (or log_deleted or ar_deleted or rc_deleted, for that matter) could theoretically be equal to 8...

How?. It would be easier to make informed comment if you explain how that could happen. Or better open a phabricator task to explain the issue clearly if you think there's actionable bug.

Bawolff (talkcontribs)

hmm. Well maybe if you set everything restricted, and then uncheck all the restrictions, you might be left with 8.


I dont think having an 8 there would cause any problems.

Reply to "rev_deleted = 8"