https://bugzilla.wikimedia.org/show_bug.cgi?id=73454

            Bug ID: 73454
           Summary: missing.php relies on native CDB handling, which is
                    not supported by HHVM
           Product: Wikimedia
           Version: wmf-deployment
          Hardware: All
                OS: All
            Status: NEW
          Keywords: hhvm
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
       Web browser: ---
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to