(Bug 19725) Do not include suppressed edits in the "View X deleted edits" message...
authorBrian Wolff <bawolff@users.mediawiki.org>
Wed, 6 Jul 2011 16:47:29 +0000 (16:47 +0000)
committerBrian Wolff <bawolff@users.mediawiki.org>
Wed, 6 Jul 2011 16:47:29 +0000 (16:47 +0000)
commit5ce6ddebb4290124ddd875f4b02e1152c5a69019
tree2073d5133225356f2340623e6b514942b871657a
parentefc5144e7a88922724f1ef5937c62caf11944804
(Bug 19725) Do not include suppressed edits in the "View X deleted edits" message, and when doing prefix search of special:undelete.

I'm not 100% sure this is the right thing to do, see the bug for the details. But basically this doesn't include an edit in the count if its text is hidden and its hidden from admins. (Not sure if it should not be included only if everything is hidden). Its also weird to show people different things depending if they have suppress rights, without really indicating that.

Minor db note: This causes the query to no longer use a covering index. I don't think that matters but just thought i'd mention.

p.s. The upload page show deleted edits link is broken right now, (from before) I'll fix in a follow-up.
RELEASE-NOTES-1.18
includes/Skin.php
includes/SkinTemplate.php
includes/Title.php
includes/specials/SpecialUndelete.php
includes/specials/SpecialUpload.php