Extension talk:FlaggedRevs/Restricting unapproved revisions

212.59.225.135: 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;