(bug 14990) Don't hardcode MySQL backticks in table names for parser tests. Instead...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 31 Jul 2008 17:04:56 +0000 (17:04 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 31 Jul 2008 17:04:56 +0000 (17:04 +0000)
commit1172eb10714dfb85d2f6891a70ceff0a19fe6081
tree30e3607d011584f758ca93da903aff04c75443ca
parent8a416bdc652567ded9a456c065b8bfb9e688786c
(bug 14990) Don't hardcode MySQL backticks in table names for parser tests.  Instead, switch the database prefix back and forth.  This doesn't seem to either trash my wiki or change how well the parser tests run, but if you run this on Wikipedia without testing please don't blame me if it drops all tables on the   :)

  Of course, $wgDBprefix is not meant to be changed a few dozen times every time a script is run, but I don't think it will cause problems.  If it does, an alternative would be supporting a $prefix parameter to Database::tableName().
maintenance/parserTests.inc