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





--- Comment #4 from Roan Kattouw <[email protected]>  2009-02-02 15:26:32 
UTC ---
Created an attachment (id=5768)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=5768)
Proposed patch

Attached patch that:
* adds the rev_bot and rev_patrolled fields to the revision table
* adds the populateRevBotPatrolled.php script that populates them
(automatically run from update.php)
* adds support for the fields in the Revision class
** deprecates isUnpatrolled() which seems to be unused in core
* sets rev_bot and rev_patrolled appropriately when creating new revision
entries

This patch doesn't synchronize rev_bot and rc_bot for new moves, deletions and
protections, because the interface for moving/deleting/protecting with the bot
flag sucks (I intend to fix that) and doesn't sync them for old ones either
because the recentchanges entry and the associated null revision aren't linked
in any way (rc_this_oldid == 0 for these entries). It also doesn't use the
newly added fields in any way.

I intend to address the concerns mentioned above in a new patch, but in the
meantime, some review would be nice.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
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