Thread:Extension talk:FlaggedRevs/Enabled (I think) but not doing anything .../reply (6)

'k, first, just did a fresh install of mediawiki 1.20, and installed FlaggedRevs using:

cd extensions

git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/FlaggedRevs.git

Set the following in my LocalSettings.php:

require_once("$IP/extensions/FlaggedRevs/FlaggedRevs.php");

$wgDefaultUserOptions['flaggedrevsviewdiffs'] = true;

$wgFlaggedRevsStatsAge = false;

$wgFlaggedRevsExceptions = array;

$wgFlaggedRevsAutoReview = FR_AUTOREVIEW_NONE;

Steps followed:


 * 1) Go to a non-existent page
 * 2) Click Edit / Create
 * 3) Enter text, click Save
 * 4) Go to page as Reviewer (I see a Review this Revision at bottom of page, and an 'Unchecked' at the top)
 * 5) Click Accept Revision, and it generates the following error in the database:

ERROR: invalid input syntax for type timestamp with time zone: "" at character 195 STATEMENT: SELECT /* FlaggableWikiPage::updatePendingList OpenStudent Sup... */ fr_rev_id,rev_timestamp  FROM "flaggedrevs","revision"  WHERE fr_page_id = '2' AND fr_quality = '1' AND (fr_rev_timestamp >   ) AND (rev_id = fr_rev_id) AND (rev_page = fr_page_id) AND rev_deleted & 1 = '0'  ORDER BY fr_rev_timestamp DESC LIMIT 1

And nothing seems to happen past that ... so, if I'm reading what you've said previously accurately, the reason I'm not seeing anything in any of the flaggedrev tables is because I need to click Accept Revision on page creation to effectively get it into the workflow, and the error above is preventing that from processing properly ... ?

So, how to fix that bug?