* More accurate list of used templates on the edit page
* More reliable cache invalidation when templates outside the template
namespace are changed
+* Respect database prefix in dumpHTML.inc
Documentation:
* (bug 3306) Document $wgLocalTZoffset
$this->setupGlobals();
$dbr =& wfGetDB( DB_SLAVE );
- $categorylinks = $dbr->tableName( 'categorylinks' );
print "Selecting categories...";
- $sql = 'SELECT DISTINCT cl_to FROM categorylinks';
+ $sql = 'SELECT DISTINCT cl_to FROM ' . $dbr->tableName( 'categorylinks' );
$res = $dbr->query( $sql, $fname );
print "\nWriting " . $dbr->numRows( $res ). " category pages\n";