Last modified: 2010-05-15 15:33:39 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 1027 - Moving page fails with DB table prefix (wiki_)
Moving page fails with DB table prefix (wiki_)
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2004-12-07 05:28 UTC by John Miller
Modified: 2010-05-15 15:33 UTC (History)
0 users

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


Description John Miller 2004-12-07 05:28:15 UTC
A database query syntax error has occurred. This may 
indicate a bug in the software. The last attempted 
database query was: 
UPDATE categorylinks SET cl_sortkey='CWiki:Sandbox2' 
WHERE cl_from='919' AND cl_sortkey='CWiki:Sandbox'
from within function "SpecialMovepage::doSubmit". 
MySQL returned error "1146: 
Table 'creature.categorylinks' doesn't exist".
from "

Fixed by changing instances of 'categorylinks' to 
$categorylinks in includes/LinksUpdate.php.
Comment 1 John Miller 2004-12-07 05:43:10 UTC
Oops... also had to go into includes/Title.php and add a line 
($categorylinks = $dbw->tableName("categorylinks");) before the 
query, and then change categorylinks to $categorylinks
Comment 2 John Miller 2004-12-07 05:49:25 UTC
And... the original 'fix' wasn't the problem, and actually breaks 
other things.
Comment 3 Brion Vibber 2004-12-07 08:04:06 UTC
Comment #1 sounds like the correct fix, which I've checked in to 1.5 and 1.4 branches. Don't touch LinksUpdate, which 
looks right already.

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