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

--- Comment #3 from Bawolff <bawolff...@gmail.com> 2010-11-12 19:01:26 UTC ---

> I haven't traced yet how MediaWiki's Special:Log/patrol extracts the
> information to append or not append "(automatic)" to the log entry, but in my
> toolserver tools I do this by digging through log_params *after* the query in 
> a
> foreach loop since I noticed in the second or third line of that string is a
> '1' that indicates whether it's autopatrolled or not.

As it stands the first parameter is the current revision id, the second
parameter is the revision id of the previous revision, and the third parameter
is if its Automatic or not.

The code for displaying this mostly happens at PatrolLog::makeActionText in
PatrolLog.php. You're right that the processing takes place after the query.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to