Last modified: 2009-03-13 19:47:30 UTC
Hi To respect ISO, I needed to do : - Do not show page which is not reviewed : I don 't find how to do this. Did plan it or have you an idea or tips to help me ? - reviewed page as default page for everybody : I made a patch to show, by default (when you arrive to a page), for all users, the reviewed version. (For mediawiki 1.13) : diff -Naur FlaggedRevs/FlaggedArticle.php FlaggedRevs.sfl/FlaggedArticle.php --- FlaggedRevs/FlaggedArticle.php 2008-08-08 15:00:28.000000000 -0400 +++ FlaggedRevs.sfl/FlaggedArticle.php 2009-02-18 14:03:16.000000000 -0500 @@ -73,6 +73,12 @@ */ public function pageOverride() { global $wgUser, $wgRequest; + global $wgFlaggedRevsReviewedOnly; + if ( $wgFlaggedRevsReviewedOnly ){ + return true; + } # This only applies to viewing content pages $action = $wgRequest->getVal( 'action', 'view' ); if( ($action !='view' && $action !='purge') || !$this->isReviewable() ) diff -Naur FlaggedRevs/FlaggedRevs.php FlaggedRevs.sfl/FlaggedRevs.php --- FlaggedRevs/FlaggedRevs.php 2009-01-21 02:00:31.000000000 -0500 +++ FlaggedRevs.sfl/FlaggedRevs.php 2009-02-18 14:03:16.000000000 -0500 @@ -57,6 +57,11 @@ # IMPORTANT: # When configuring globals, add them to localsettings.php and edit them THERE +# Reviewed pages is shown by default +$wgFlaggedRevsReviewedOnly = true; + # This will only distinguish "sigted", "quality", and unreviewed # A small icon will show in the upper right hand corner $wgSimpleFlaggedRevsUI = false;
See http://www.mediawiki.org/wiki/Extension:FlaggedRevs#Site_access set $wgFlaggedRevsExceptions = array(); Add these to localsettings.php, not flaggedrevs.php