Last modified: 2011-01-05 09:51:34 UTC
As well as connecting to WikimediaCommons by ForeignAPIRepo (working ok) we also connect to a local shared image repository using ForeignDBRepo. While working in a previous version (r69050), the ForeignDBRepo in the current 1.18alpha (r79256) fails with the message (when connecting to a repo with db name openmedia): „1146: Table 'openmedia.16page' doesn't exist (localhost:PORT)“. Maintenance/update.php worked ok. I cannot find information about a mediawiki table named 16. Any clues? With $wgShowSQLErrors = true; the following is shown: SELECT page_id FROM `16page` WHERE page_namespace = '6' AND page_title = 'zzzzzzz.jpg' LIMIT 1 Function „LocalRepo::getArticleID“.
Further testing of svn revs revealed that the error is yet absent in r75380 but present in r75400
Sorry, correction to the above: r75300 is ok, but already r75350 is broken (claimed 75380 still wrongly claimed ok in previous comment).
Could you check if r75340 is ok?
Found it, r75343.
Right, simplest possible "fix" for this is r79591 It will fix the errors you're getting, but I'm leaving this bug open while I hunt around for other instances of this...
r79595, r79593
I confirm that our problems are solved with r79596!