https://bugzilla.wikimedia.org/show_bug.cgi?id=41586

--- Comment #34 from Aaron Schulz <[email protected]> ---
(In reply to comment #33)
> I'll take a look at making resetUserTokens.php more efficient, and then we
> can
> find someone to run it for the affected wikis.
> 
> Aaron, could you find out which wikis had the wrong column definition?

It really should just be run on all wikis.

The script can be made faster by:
(a) Batching the SELECT by user_id
(b) Avoiding the User function to update the token and doing it directly
(c) Batching these token updates
(d) A script option can be added to skip rows with valid tokens (the bad ones
are all \0, good ones should have the right length and hex chars)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to