WikiPage::insertProtectNullRevision can return Revision objects
It also includes a fallback to $wgUser (the fallback is hard deprecated though)
It should be replaced with a new method that can return RevisionRecord objects, and has no such fallback to $wgUser. I proposed WikiPage::insertNullProtectionRevision
Uses:
- Core
- Translate (deployed)
- ArticleFeedbackv5 (not deployed)