Last modified: 2010-05-15 15:33:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T4755, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2755 - watchlist error - no table prefix
watchlist error - no table prefix
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.4.x
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
: 2813 2869 2873 2917 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-08 11:02 UTC by Thomas Burgstaller
Modified: 2010-05-15 15:33 UTC (History)
4 users (show)

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


Attachments
patch for SpecialPages.php in MediaWiki 1.4.6 (164 bytes, patch)
2005-07-08 11:14 UTC, Thomas Burgstaller
Details
REL1_4 patch for SpecialWatchlist.php from prev diff (1.09 KB, patch)
2005-07-08 14:38 UTC, Zigger
Details

Description Thomas Burgstaller 2005-07-08 11:02:38 UTC
Error:
----------
 A database query syntax error has occurred. This may indicate a bug in the software. The last 
attempted database query was:

    (SQL query hidden)

from within function "wfSpecialWatchlist". MySQL returned error "1146: Table 'wiki.watchlist' 
doesn't exist (localhost)".
-----------

Reason: table has a prefix: mw_watchlist

Fix:
In SpecialWatchlist.php on line 156 and 164 change
-FROM watchlist,recentchanges
to
+FROM $watchlist,$recentchanges
Comment 1 Antoine "hashar" Musso (WMF) 2005-07-08 11:07:25 UTC
This is fixed in 1.5.
Comment 2 Thomas Burgstaller 2005-07-08 11:14:06 UTC
Created attachment 680 [details]
patch for SpecialPages.php in MediaWiki 1.4.6
Comment 3 Zigger 2005-07-08 14:38:22 UTC
Created attachment 682 [details]
REL1_4 patch for SpecialWatchlist.php from prev diff

(patch made from diff by Thomas Burgstaller)
The problem was introduced in MediaWiki 1.4.5.
Comment 4 Zigger 2005-07-08 14:39:28 UTC
(In reply to comment #3)
> The problem was introduced in MediaWiki 1.4.5.
The problem was introduced after MediaWiki 1.4.5 (released in 1.4.6).
Comment 5 Zigger 2005-07-10 01:58:38 UTC
Fixed in REL1_4 cvs by Domas as part of SpecialWatchlist.php 1.39.2.8 changes.
Comment 6 Brion Vibber 2005-07-15 22:54:48 UTC
*** Bug 2873 has been marked as a duplicate of this bug. ***
Comment 7 Zigger 2005-07-16 08:17:59 UTC
*** Bug 2813 has been marked as a duplicate of this bug. ***
Comment 8 Zigger 2005-07-16 08:18:47 UTC
*** Bug 2869 has been marked as a duplicate of this bug. ***
Comment 9 Zigger 2005-07-20 21:52:03 UTC
*** Bug 2917 has been marked as a duplicate of this bug. ***

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


Navigation
Links