Last modified: 2014-11-17 00:01:37 UTC
I just noticed that some code I added to missing.php a while ago calls dba_open directly to read interwiki.cdb, rather than going through the DB abstraction layer. (I did this because missing.php doesn't run in a MediaWiki context.) However, HHVM doesn't support dba_open. Before the server(s) running missing.php are switched to HHVM, these function calls need to be switched to use the PHP CDB implementation from MW core. Otherwise things like [[vi:v:fr:Foo]] [1] will start to fail mysteriously at some time in the future. See bug 56591, exactly the same issue with presumably the same fix. [1] Not as silly as it looks. A link like "v:fr:Foo" is quite plausible on Vietnamese Wikipedia.
We already include (an old version, I should probably update it) a version of this into multiversion... I guess we can/should reuse that easily enough
Change 173487 had a related patch set uploaded by Reedy: Update CDB code from upstream (mediawiki core) https://gerrit.wikimedia.org/r/173487
There's https://gerrit.wikimedia.org/r/#/c/173488/ too now... Seems the bot doesn't want to notify for the dependant change
Change 173488 had a related patch set uploaded by TTO: Swap missing.php to use CDB reader wrappers https://gerrit.wikimedia.org/r/173488
Change 173487 merged by jenkins-bot: Update CDB code from upstream (mediawiki core) https://gerrit.wikimedia.org/r/173487
Change 173488 merged by jenkins-bot: Swap missing.php to use CDB reader wrappers https://gerrit.wikimedia.org/r/173488
Thanks Reedy!!