Page MenuHomePhabricator

API allows viewing of oversighted diffs
Closed, InvalidPublic


Author: it_is_me_here

wikiEd diff-view of an OSed diff to a non-OSer

The green-triangle diff button (I think it's part of wikiEd: appears to allow you to see a Hidden (OSed) diff (see the attached). I'm a sysop but not an OS on, and, at the very least, pressing the green triangle button did *something*; I'm not sure if it actually displayed any Hidden material, but it might be worth a look.

Version: unspecified
Severity: normal




Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 12:14 AM
bzimport added a project: WikiEditor.
bzimport set Reference to bz35153.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Mar 11 2012, 2:21 PM

confirmed. probably a difference in what the API is doing versus the regular diff. Updating summary for clarity.

Cacycle's script gets the text of the old revision (which is public), tries to get the text of the next revision (which is deleted, so falls back to an empty string) and then displays the diff between those two (which looks like the page just was blanked). There is no data visible which should be hidden. So where is the bug, apart from the fact, that it is not really sensible to show the button with the delta? That is a problem with Cacycle's script, not with MediaWiki (and the WikiEditor extension has nothing to do with this). You can inform Cacycle on [[User talk:Cacycle/wikEd]].

I'm assuming this isn't a bug in MediaWiki, per the last comment, so resolving.

GOIII moved this task from Backlog to Closed on the WikiEditor board.Apr 3 2016, 9:24 AM