Last modified: 2007-03-19 08:12:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 9335 - SMW installation breaks parserTests.php, should
SMW installation breaks parserTests.php, should
Status: RESOLVED DUPLICATE of bug 8010
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
PC Windows XP
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-03-19 05:49 UTC by S Page
Modified: 2007-03-19 08:12 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description S Page 2007-03-19 05:49:14 UTC
$ cd mediawiki/maintenance
$ php parserTests.php
This is MediaWiki version 1.9.2 (r19899).
Reading tests from "C:\xampplite\htdocs\mediawiki/maintenance/parserTests.txt"...

Warning: mysql_query(): Table 'wikidb.parsertest_smw_relations' doesn't exist in
C:\xampplite\htdocs\mediawiki\includes\Database.php on line 681
A database query syntax error has occurred.
The last attempted database query was:
"DELETE FROM `parsertest_smw_relations` WHERE subject_id = '1'"
from within function "SMW::deleteSubject::Relations".
MySQL returned error "1146: Table 'wikidb.parsertest_smw_relations' doesn't
exist (localhost)"

It looks like replicates every database table with parser_
prefix, but complains about additions it doesn't know about.

Rob (Church?) commented on #mediawiki IRC: "Yes, but there's a hook that can be
used to tell the parser tester about new tables.  (The extension should use it.)"

This may be the same as bug 8010 which has a patch (which doesn't change any
hook, it just shifts initialization around).
Comment 1 Rob Church 2007-03-19 08:12:56 UTC
Probably, we want a combination of the two solutions. Duping this to bug 8010
since it's more or less the same root cause.

*** This bug has been marked as a duplicate of 8010 ***

Note You need to log in before you can comment on or make changes to this bug.