http://www.mediawiki.org/wiki/Special:Code/MediaWiki/58269
Revision: 58269 Author: overlordq Date: 2009-10-28 18:24:04 +0000 (Wed, 28 Oct 2009) Log Message: ----------- (bug 13453) Fix rebuildrecentchanges for DB's with FK constraints Modified Paths: -------------- trunk/phase3/RELEASE-NOTES trunk/phase3/maintenance/rebuildrecentchanges.php Modified: trunk/phase3/RELEASE-NOTES =================================================================== --- trunk/phase3/RELEASE-NOTES 2009-10-28 18:18:34 UTC (rev 58268) +++ trunk/phase3/RELEASE-NOTES 2009-10-28 18:24:04 UTC (rev 58269) @@ -666,6 +666,7 @@ * (bug 21085) list=deletedrevs no longer returns only one revision when drcontinue param is passed * (bug 21106) Deprecated parameters now tagged in action=paraminfo +* (bug 13453) rebuildrecentchanges maintenance script works on PG again === Languages updated in 1.16 === Modified: trunk/phase3/maintenance/rebuildrecentchanges.php =================================================================== --- trunk/phase3/maintenance/rebuildrecentchanges.php 2009-10-28 18:18:34 UTC (rev 58268) +++ trunk/phase3/maintenance/rebuildrecentchanges.php 2009-10-28 18:24:04 UTC (rev 58269) @@ -186,7 +186,7 @@ 'rc_this_oldid' => 0, 'rc_last_oldid' => 0, 'rc_type' => RC_LOG, - 'rc_cur_id' => 'COALESCE(page_id, 0)', + 'rc_cur_id' => $dbw->cascadingDeletes() ? 'page_id' : 'COALESCE(page_id, 0)', 'rc_log_type' => 'log_type', 'rc_log_action' => 'log_action', 'rc_logid' => 'log_id', _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs