https://bugzilla.wikimedia.org/show_bug.cgi?id=46352
--- Comment #4 from Daniel Kinzler <daniel.kinz...@wikimedia.de> --- I poked at this a bit; as it turns out, ApiEditPage has it's own undo logic. So instead of diverting that (as suggested above) into Wikibase\EditEntityAction somehow, we should implement EntityContent::getUndoContent() based on EntityDiffer. Note that WikibaseHooks::onApiCheckCanExecute currently prevents ApiEditPage from working on wikibase entities. We'll need to make an exception there: if ( isset( $params['undo'] ) && $params['undo'] > 0 ) { // We don't allow direct editing, but direct undoing is ok! return true; } -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l