User talk:Full-date unlinking bot/code

HTML Comment

edit

I could be wrong, but I don't think you actually write the HTML comment anywhere (though you check for its existance). - Jarry1250 [ In the UK? Sign the petition! ] 10:36, 23 August 2009 (UTC)Reply

I must fix this. Thank you. @harej 10:39, 23 August 2009 (UTC)Reply

exclusion compliance

edit

Sorry, I meant to get back to you about this earlier but haven't had a chance. To make the bot exclusion compliant add the following code in the unlinker function, just before the $objwiki->edit line:

global $botuser;
if (!$objwiki->nobots($link,$botuser,$contents)) {
	return false;
}

--Chris 12:30, 23 August 2009 (UTC)Reply

It's probably more worthwhile to put that in checktoprocess() so that the bot does not have to go through the rigamarole of parsing all the dates to figure out that it wasn't allowed to do that to begin with. That is what I have done. @harej 18:06, 23 August 2009 (UTC)Reply