On 02/08/06, Frederich, Eric P2173 <eric.frederich(a)siemens.com> wrote:
It appears as though running the reassignedits script
in the maintenance
directory actually does update the archive, revision, and recentchanges
tables.
Would someone please explain why there is an option to not update the
recent changes table?
(sigh) Well, to stop speculation on the issue, I'll return from the
dead long enough to explain that updating recentchanges on a large
site is a hellish operation which causes deadlocks and all sorts of
other pleasant things like that when it's done. For instance, if it
was used on the English Wikipedia, then it would raise the database
server load to an unreasonable level.
Does the --norc option even do anything? In the
reassignEdits function
I see $rc = false.
Assuming I didn't remove it and forget to update the function, and
assuming no idiot has gone and messed up the code since, then the
answer is going to be "yes".
function reassignEdits( &$from, &$to, $rc =
false, $report = false )
I don't know PHP but does this initialize the rc parameter to false?
This is an excellent chance to read
http://www.php.net and discover
all about default parameter values, isn't it?
Rob Church