Extension talk:FlaggedRevs/Restricting unapproved revisions

From mediawiki.org
Jump to navigation Jump to search

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();