Last modified: 2011-11-22 04:03:01 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 T6646, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4646 - dumpHTML doCategories() fails, terminating dump
dumpHTML doCategories() fails, terminating dump
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.5.x
PC Windows XP
: Normal blocker (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-01-18 00:27 UTC by Brett Adam
Modified: 2011-11-22 04:03 UTC (History)
0 users

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


Attachments

Description Brett Adam 2006-01-18 00:27:28 UTC
dumpHTMP.inc doCategories() function doesn't map the logical table name
categroylinks to the physical table correctly, resulting in fatal script failure
(no index.html gen'd, etc.)

Fix is trivial. Change

		$categorylinks = $dbr->tableName( 'categorylinks' );
		print "Selecting categories...";
		$sql = 'SELECT DISTINCT cl_to FROM categorylinks';


to
		$categorylinks = $dbr->tableName( 'categorylinks' );
		print "Selecting categories...";
		$sql = 'SELECT DISTINCT cl_to FROM '.$categorylinks;
Comment 1 Rob Church 2006-01-18 00:29:07 UTC
Fixed prior to this being mentioned. It hasn't replicated to the anonymous CVS
servers yet.

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


Navigation
Links