-
Copy lib/plugins/importoldchangelog directories into your lib/plugins tree
Make backup copy of indexer.php
cp lib/exe/indexer.php lib/exe/indexer.php.save
copy lib/exe/indexer.php into your tree
Edit the file as follows
// Import old changelog (if needed)
// Uses the imporoldchangelog plugin to upgrade the changelog automaticaly.
// FIXME: Remove this from runTrimRecentChanges when it is no longer needed.
if (isset($conf['changelog_old']) &&
@file_exists($conf['changelog_old']) && !@file_exists($conf['changelog']) &&
!@file_exists($conf['changelog'].'_importing') && !@file_exists($conf['changelog'].'_tmp')) {
$tmp = array(); // no event data
trigger_event('TEMPORARY_CHANGELOG_UPGRADE_EVENT', $tmp);
return true;
}
+ trigger_event('TEMPORARY_CHANGELOG_UPGRADE_EVENT', $tmp);
+ return true;
Make sure you increase the max memory and runtime in your php.ini, and then hit the home page with ?do=check
It may take a while. You probably don't want to do this on a live wiki
Then after it's done (watch your error log to see if it times out or runs out of memory, if so increase the limits), restore the original indexer.php, and remove the plugin
Thanks to Chimeric for help figuring this out!