1
Dominion Strategy Wiki Feedback / Go away, StuBot!
« on: May 18, 2015, 01:04:04 pm »
So we had a few occasions where the bot edited something that it shouldn't, mostly it was transforming
[[$Card]] to {{Card|Card}}.
I excluded some generic cases where this is not a good idea, like in <gallery> and in infoboxes, but I think it is a good idea to think about having something in the code that prevents the bot from editing something that it usually would. Last time we had some [[Chancellor]] in the beginning of the article that wero didn't like to get transformed. Usually I track what the bot edits, and if it looks suspicious I look up the history to see if someone doesn't want the edit. But this doesn't really work well, because if someone will edit the same page somewhere else, the bot will revisit and this time the last edit does not say: "Go away!".
Anyway, there is an --exceptinside:regex option, which I already use a lot, which could be used by this. I think we could use something like a <noBot> tag for this. This would just be exceptinside:<noBot>[^<]*<\/noBot>. But new tags does not seem to be easily implemented if I understand the documentation correctly. One could use comments to emulate tags, but that gets super ugly. Any other ideas?
[[$Card]] to {{Card|Card}}.
I excluded some generic cases where this is not a good idea, like in <gallery> and in infoboxes, but I think it is a good idea to think about having something in the code that prevents the bot from editing something that it usually would. Last time we had some [[Chancellor]] in the beginning of the article that wero didn't like to get transformed. Usually I track what the bot edits, and if it looks suspicious I look up the history to see if someone doesn't want the edit. But this doesn't really work well, because if someone will edit the same page somewhere else, the bot will revisit and this time the last edit does not say: "Go away!".
Anyway, there is an --exceptinside:regex option, which I already use a lot, which could be used by this. I think we could use something like a <noBot> tag for this. This would just be exceptinside:<noBot>[^<]*<\/noBot>. But new tags does not seem to be easily implemented if I understand the documentation correctly. One could use comments to emulate tags, but that gets super ugly. Any other ideas?