Extension talk:FlaggedRevs/Restricting unapproved revisions
DW: I tried to use the restriction in MediaWiki 1.18 and I found a bug in function efFlaggedRevsHooks_userCanView: Instead of:
$view = FlaggedArticleView::singleton();
there should be:
$view = FlaggedPageView::singleton();