[17:24:15] if I have a revid in code, what is the best way to perform an undo of said revision now? [17:28:10] addshore: action=edit with undo=, I think? [17:28:31] just call the api?, lame, but yeh, maybe [17:28:43] Welcome to MW's darkest corner. [17:29:06] screenscrape [17:41:53] Reedy: shh [18:56:11] addshore: From inside MediaWiki? Before MCR it was a little easier since there was just the one Content object, so you could have used ContentHandler::getUndoContent(). Right now you'd have to do like McrUndoAction::getNewRevision(). What I had started on in https://gerrit.wikimedia.org/r/c/mediawiki/core/+/460436 has EditController::fillUndoEdit() as a public interface.