Page MenuHomePhabricator

Setting "Revision displayed on default page view" does not work; blanking $wgFlaggedRevsExceptions helps
Open, MediumPublic

Description

Author: koem

Description:
Hi,

I use FlaggedRevs REL1_22

Setting the above mentioned option does not have any effect at all. When I set it to "the stable version" I still get the "Pending changes" Tab displayed.

In my personal prefs I set "Use the default settings for each page" and this is my config in LocalPreferences.php:

Extension:FlaggedRevs

$wgFlaggedRevsStatsAge = false;
require_once("$IP/extensions/FlaggedRevs/FlaggedRevs.php");
$wgGroupPermissions['sysop']['autoreview'] = false;
$wgGroupPermissions['editor']['autoreview'] = false;
$wgGroupPermissions['bot']['autoreview'] = false;
$wgGroupPermissions['reviewer']['autoreview'] = false;
$wgFlaggedRevsTags = array(

'accuracy' => array( 'levels' => 1, 'quality' => 1, 'pristine' => 1 ),

);
$wgFlaggedRevsAutoReview = false;

Best, Koem


Version: REL1_22-branch
Severity: major
OS: Linux
Platform: PC

Details

Reference
bz65574

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:10 AM
bzimport set Reference to bz65574.
bzimport added a subscriber: Unknown Object (MLST).

koem wrote:

I found out something:

FlaggedRevs.config.php has this line:

$wgFlaggedRevsExceptions = array( 'user' ); // @TODO: remove when ready (and expand pref)

when I set this in LocalPreferences.php:

$wgFlaggedRevsExceptions = array( );

then it works.

Please cross-check ...

Best,
Koem