https://bugzilla.wikimedia.org/show_bug.cgi?id=56591
--- Comment #1 from Sam Reed (reedy) <[email protected]> --- The code as is sorta suggests (or reads like, at least) we shouldn't be using the php version... public static function open( $fileName ) { if ( self::haveExtension() ) { return new CdbReader_DBA( $fileName ); } else { wfDebug( "Warning: no dba extension found, using emulation.\n" ); return new CdbReader_PHP( $fileName ); } } Cdb_PHP.php looks standalone enough, so we can presumably reuse that (without having to initialize mediawiki to read a cdb, which would lead to some nice recursion - what version of mediawiki should we load?)... Is it worth us copying this into multiversion? Or just use require/include ../php/includes/Cdb.php and ../php/includes/Cdb_PHP.php -- 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
