Topic on Extension talk:FlaggedRevs

How to make stable version by default ?

5
201.217.152.82 (talkcontribs)
84.253.4.90 (talkcontribs)

actually it should be enough to simply set

 $wgDefaultUserOptions['flaggedrevsstable'] = false; 

to true; found in \extensions\FlaggedRevs\FlaggedRevs.php

The bad thing about this solution is, that the users could change this behaviour in their preferences.

Dadai12 (talkcontribs)

In case someone runs into the same problem with MW 1.20 or 1.21.

I set the default user options like described above:

$wgDefaultUserOptions['flaggedrevsstable'] = true; 

It worked, but I got an error when I tried to access the preferences with some users (they had the default settings for FlaggedRevs):

Fatal exception of type MWException 

My solution was to set the default options to this:

$wgDefaultUserOptions['flaggedrevsstable'] = 1;

Maybe there was a change since the above solution was written. Hope this helps. :-)

Jiou7 (talkcontribs)

Eight years later, this helps as I have the same "Fatal exception of type MWException" with MW 1.36.0 and replacing "true" by "1" works!

Is there any explanation or better solution since then?

64.251.40.242 (talkcontribs)

Apologize if I am reviving the old question but want to check if there is a better way than changing the default user option for this question...

Reply to "How to make stable version by default ?"