Jump to content

Talk:Countervandalism Network: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Latest comment: 14 years ago by Mike.lifeguard in topic CVNbots triggers
Content deleted Content added
Line 13: Line 13:
Hi!, I don't know if I'm in the right place so forgive if I'm not. I've noticed the CVNbots are triggered by specific words and notify the use of them in summary (like "pirate" or "shit" etc). Is it possible that some similar greek words are added? (I can provide a list of them). Thank you. --[[User:Egmontaz|<b><font color="#082567">Egmontaz</font></b><font color="black">♤</font>]]<i><font color="teal"> <sup>[[User_talk:Egmontaz|talk]]</sup></font></i> 16:55, 7 February 2010 (UTC)
Hi!, I don't know if I'm in the right place so forgive if I'm not. I've noticed the CVNbots are triggered by specific words and notify the use of them in summary (like "pirate" or "shit" etc). Is it possible that some similar greek words are added? (I can provide a list of them). Thank you. --[[User:Egmontaz|<b><font color="#082567">Egmontaz</font></b><font color="black">♤</font>]]<i><font color="teal"> <sup>[[User_talk:Egmontaz|talk]]</sup></font></i> 16:55, 7 February 2010 (UTC)
:Anyone voiced in a CVN channel can do this for you. Ask in IRC &nbsp;&mdash;&nbsp;<span style="color:#4B0082; font-weight:bold;">[[User:Mike.lifeguard|mikelifeguard]]@[[User talk:Mike.lifeguard|meta]]:&#126;$&nbsp;</span> 15:41, 25 May 2010 (UTC)
:Anyone voiced in a CVN channel can do this for you. Ask in IRC &nbsp;&mdash;&nbsp;<span style="color:#4B0082; font-weight:bold;">[[User:Mike.lifeguard|mikelifeguard]]@[[User talk:Mike.lifeguard|meta]]:&#126;$&nbsp;</span> 15:41, 25 May 2010 (UTC)

== Slashes in titles ==

I've confirmed in several channels ({{irc|cvn-wp-en}} and {{irc|cvn-wp-nl}}) that pages that contain a slash in their title (ie. "Wikipedia:Sandbox/Subpage" or "Sand/box" are NOT reported by CVNBot. I've been unable to find in the SWMTBot sourcecode why this is. Does anyone know more about this ? [[User:Krinkle|Krinkle]] 16:50, 23 May 2010 (UTC)
:Sorry, no. Fairly serious bug... Who do we know that knows the bot source code well enough to track this down and fix it? &nbsp;&mdash;&nbsp;<span style="color:#4B0082; font-weight:bold;">[[User:Mike.lifeguard|mikelifeguard]]@[[User talk:Mike.lifeguard|meta]]:&#126;$&nbsp;</span> 15:40, 25 May 2010 (UTC)
:: Though I can't say for sure, I think it's got something to do with the following line 47 in <tt>RCReader.cs</tt> in SWMTBOt 1.18
<pre>
static Regex fullString = new Regex(@"^\x03" + @"14\[\[\x03" + @"07(?<title>.+?)\x03" + @"14\]\]\x03" + @"4 (?<flag>.*?)\x03" + @"10 \x03" + @"02(?<url>.*)\x03 \x03" + @"5\*\x03 \x03" + @"03(?<user>.*?)\x03 \x03" + @"5\*\x03 (?<szdiff>.*?) \x03" + @"10(?<comment>.*)\x03$");
</pre>
A subpage edit in irc.wikimedia.org/#en.wikipedia looks like the following (without the colors, but check the irc.wikimedia.org-channel to see them)
<pre>rc:
[[User talk:82.74.192.60/Archive]] http://en.wikipedia.org/w/index.php?diff=364691190&oldid=364691134 * 82.74.192.60 * (+2256) test
</pre>
I'm not a master in Regex'es so I didn't see anything wrong with it on first sight, but someone else might understand why it failed the "/". [[User:Krinkle|Krinkle]] 16:50, 28 May 2010 (UTC)
:AFAICT, the <code>(?<title>.+?)</code> part is what captures the page title, and it is correct. &nbsp;&mdash;&nbsp;<span style="color:#4B0082; font-weight:bold;">[[User:Mike.lifeguard|mikelifeguard]]@[[User talk:Mike.lifeguard|meta]]:&#126;$&nbsp;</span> 22:10, 28 May 2010 (UTC)
::right... I'll trace the result of that Regex and see if it goes wrong somewhere else. Note: Deletions of slash-containing-pagetitles do get reported by the bot. And knowing that with Log events the "page" in the irc.wikimedia stream is [[Special:Log/thing]] so it doesn't completely fail at slashes. But edits and creations of such titles seem not to be reported under any circumstances (watching, blacklisting) by the bot. [[User talk:Krinkle|Krinkle]] 23:22, 28 May 2010 (UTC)

== Page protection-action is not reported ==

I've been curious about this one, but AlexZ told me the bot did supported it but it was either never enabled or commented out.
I found in RCReader.cs it does have a case in the switch() for protect on line 255 (SWMT 1.18). But when on line 424 it's sent to the Program.cs: <code>Program.ReactToRCEvent(rce);</code> it goes wrong.

in ReactToRCEvent() there is a <code>switch (r.eventtype)</code> on line 864 in Program.cs but it doesn't have a <code>case</code> for protect. [[User talk:Krinkle|Krinkle]] 23:36, 28 May 2010 (UTC)

Revision as of 13:36, 31 May 2010

Status report

Do we really need this section on changes which were made in 2007 and have long since been completed?  — Mike.lifeguard | @en.wb 03:51, 28 May 2009 (UTC)Reply

Probably some of the info just under the Channel settings standardization section can be removed too.  — Mike.lifeguard | @en.wb 03:52, 28 May 2009 (UTC)Reply
Done — Mike.lifeguard | @en.wb 19:13, 1 February 2010 (UTC)Reply

CVNbots triggers

Hi!, I don't know if I'm in the right place so forgive if I'm not. I've noticed the CVNbots are triggered by specific words and notify the use of them in summary (like "pirate" or "shit" etc). Is it possible that some similar greek words are added? (I can provide a list of them). Thank you. --Egmontaz talk 16:55, 7 February 2010 (UTC)Reply

Anyone voiced in a CVN channel can do this for you. Ask in IRC  — mikelifeguard@meta:~$  15:41, 25 May 2010 (UTC)Reply