User:WindBOT/Filters: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{User:WindBOT/Header}} == How to disable a filter == If the bot is malfunctioning, chances are that the problem lies in one of these blocks of code. Thus, instead of shutting d...") |
(No difference)
|
Revision as of 21:04, 26 April 2011
How to disable a filter
If the bot is malfunctioning, chances are that the problem lies in one of these blocks of code. Thus, instead of shutting down the whole bot, it would be wiser to disable only the chunk of code that is misbehaving. To make the bot ignore a certain line, add a "#" in front of it:
# This line will be ignored
If there are multiple lines, wrap them inside triple-quotes (you still need to put the two spaces at the beginning of the line:
"""This line will be ignored and this one as well and this one is cake and the previous one was a lie but it was still ignored"""
If all else fails, you can simply delete the block from the page. The bot can't come up with code by itself yet, so it won't run anything. Or, if the problem really is elsewhere, block the bot.
No filters yet!