https://bugzilla.wikimedia.org/show_bug.cgi?id=25799
Krinkle krinklem...@gmail.com changed:
What|Removed |Added
CC||krinklem...@gmail.com
https://bugzilla.wikimedia.org/show_bug.cgi?id=25799
--- Comment #8 from Bawolff bawolff...@gmail.com 2010-11-13 22:39:15 UTC ---
btw, this is related to Bug 18954 .
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
https://bugzilla.wikimedia.org/show_bug.cgi?id=25799
--- Comment #2 from Krinkle krinklem...@gmail.com 2010-11-12 12:35:36 UTC ---
not quite, as autopatrols and patrols are both saved with the same log_type and
log_action.
I haven't traced yet how MediaWiki's Special:Log/patrol extracts the
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
https://bugzilla.wikimedia.org/show_bug.cgi?id=25799
--- Comment #4 from Krinkle krinklem...@gmail.com 2010-11-12 21:30:51 UTC ---
I remember from last september I did a query on the toolserver to get some
statistics for our edit-patrol team. The results are here:
https://bugzilla.wikimedia.org/show_bug.cgi?id=25799
--- Comment #5 from Bawolff bawolff...@gmail.com 2010-11-12 21:42:16 UTC ---
Well its entirely possible to do something like that in sql, I'm very doubtful
it can be done efficiently, which makes it a moot point. (Although then again I
don't
https://bugzilla.wikimedia.org/show_bug.cgi?id=25799
--- Comment #6 from Krinkle krinklem...@gmail.com 2010-11-12 21:51:27 UTC ---
Well, in the API it is already possible to filter by log_action. So if
autopatrols would be recorded as such, it's possible to use the API to only get
'real' patrols.
https://bugzilla.wikimedia.org/show_bug.cgi?id=25799
--- Comment #7 from Krinkle krinklem...@gmail.com 2010-11-12 21:56:07 UTC ---
I found the query by the way:
// Get patrol statistics
$dbQuery =
SELECT
count(*) AS counter,
log_action,
user_name,
user_registration,
https://bugzilla.wikimedia.org/show_bug.cgi?id=25799
Bawolff bawolff...@gmail.com changed:
What|Removed |Added
CC||bawolff...@gmail.com