Jump to content

Talk:Countervandalism Network: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Latest comment: 14 years ago by Krinkle in topic Slashes in titles
Content deleted Content added
Mike.lifeguard (talk | contribs)
Line 28: Line 28:
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)
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)
: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)

Revision as of 23:22, 28 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

Slashes in titles

I've confirmed in several channels (#cvn-wp-enconnect and #cvn-wp-nlconnect) 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 ? Krinkle 16:50, 23 May 2010 (UTC)Reply

Sorry, no. Fairly serious bug... Who do we know that knows the bot source code well enough to track this down and fix it?  — mikelifeguard@meta:~$  15:40, 25 May 2010 (UTC)Reply
Though I can't say for sure, I think it's got something to do with the following line 47 in RCReader.cs in SWMTBOt 1.18
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$");

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)

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

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 "/". Krinkle 16:50, 28 May 2010 (UTC)Reply

AFAICT, the (?<title>.+?) part is what captures the page title, and it is correct.  — mikelifeguard@meta:~$  22:10, 28 May 2010 (UTC)Reply
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. Krinkle 23:22, 28 May 2010 (UTC)Reply