Run "patch-remove_unique_ref_indices.sql" then phase 1 of "Segregate Reference objects by source wiki." on officewiki.
I checked flow_wiki_ref and flow_ext_ref in production (not all the other tables so far) to see if there are any other discrepancies, which is how I noticed the patch-remove_unique_ref_indices.sql issue as well.
2015-09-02 21:37:11 mw1142 officewiki exception ERROR: [0e0b7b4a] /w/api.php DBQueryError from line 1131 of /srv/mediawiki/php-1.26wmf21/includes/db/Database.php: A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script Query: INSERT INTO `flow_wiki_ref` (ref_src_wiki,ref_src_workflow_id,ref_src_namespace,ref_src_title,ref_src_object_type,ref_src_object_id,ref_type,ref_target_namespace,ref_target_title) VALUES ('officewiki','>?����9�g','2600','So6nhpnp33j53lnr','post','>?�系Ŝ','link','2','[removed]'),('officewiki','>?����9�g','2600','So6nhpnp33j53lnr','post','>?�系Ŝ','link','0','[removed]'),('officewiki','>?����9�g','2600','So6nhpnp33j53lnr','post','>?�系Ŝ','template','10','[removed]') Function: Flow\Data\Storage\BasicDbStorage::insert (flow_wiki_ref) Error: 1054 Unknown column 'ref_src_wiki' in 'field list' (10.64.16.27)
This is presumably because officewiki was enabled after phase 1 was originally run in https://gerrit.wikimedia.org/r/#/c/136280 , this was overlooked, and officewiki is private (the only private wiki to currently use Flow)
Original report:
I'm getting messages like [997e5072] Database query error and [0e0b7b4a] Database query error if I save a post that contains a link, on officewiki.
First reported by Whatamidoing, trying to post at officewiki.
Not reproduceable at mediawiki.org
No errors in webconsole.