Page MenuHomePhabricator

RC bots of irc.wikimedia.org
Closed, ResolvedPublic

Description

This bug is a request to modify the output of the RC bot operating on
irc.wikimedia.org

Currently special are reported as below

<rc> [[Special:Log/block]]
http://en.wikipedia.org/w/index.php?title=Special:Log/block&diff=0&oldid=0 *
BorgQueen * blocked "User:68.98.203.241" with an expiry time of 24 hours: vandalism

This creates a number of problems. Firstly [[Special:Log/block]] is translated
to diferent languages and hence I cant simply look for a "Special" to check if
this is a spesific log event.

My suggestion for a fix is a single character, B for block:

<rc> [[Special:Log/block]] B
http://en.wikipedia.org/w/index.php?title=Special:Log/block&diff=0&oldid=0 *
BorgQueen * blocked "User:68.98.203.241" with an expiry time of 24 hours: vandalism

All rc bots reading this feed are instructed to parse by color codes. The "red"
color code (M (for minor), N (new pages)) is unused for special/log events and
using it should not affect any existing bots.

This is useful in creating a database of blocked vandals, other malicious users
as well as open proxies.


Also the current block summaries are problematic.

Example: blocked "User:68.98.203.241" with an expiry time of 24 hours: vandalism

Users can pick wierd usernames, the following is a valid username:
User:User:User:"User:User:Vandal"24 hours:User:Typehere

This makes it imposible to successfully parse all the time. Hence I propose a
more bot friendly scheme

How it is now: blocked "User:68.98.203.241" with an expiry time of 24 hours:
vandalism

What I propose: [blocked][User:68.98.203.241][24 hours][vandalism]

I personaly dont care if it is [ ] or some other character, but it is
imperative the seperating character cannot be used in usernames.


Version: unspecified
Severity: normal

Details

Reference
bz5145

Related Objects

StatusSubtypeAssignedTask
ResolvedNone
ResolvedNone

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:08 PM
bzimport set Reference to bz5145.
bzimport added a subscriber: Unknown Object (MLST).

URL on special/log enents is useless and does not need to be reported

Regarding the second item: you can't have a different summary between RC and the IRC feed.
The problem is that the summary that comes out of LogPage, which is used by both feeds, is
ambiguous.

"URL on special/log enents is useless and does not need to be reported"!

I was very annoyed just now, as a picture was uploaded that could be deleted
right away, but there was no link. Please change that back. The RC channel is
mostly for human activity, at least on the smaller projects.