| This is a new feature on Wikia!
- This extension is enabled by default on Wikia.
What is Phalanx?Edit
Phalanx is an integrated spam defense mechanism, adapted from various features such as Regex Block, Spam Regex, and the spam and title blacklists along with a couple other new options using regular expressions. This tool allows all of these actions to be performed on a single page, allowing for greater flexibility and convenience when combating spam or vandalism.
In order to establish a block, you will first need to insert the type of filter you want to block, the filter being a username or IP address, an article title, a phrase used in page content or an edit summary, wiki name, or question title (for answer wikis). Underneath the filter box there are three options: "regex", "case sensitive" and "exact". All of these options allow greater customization of the block.
- If checked, this will apply the given filter using regular expressions (or regex). So for example, if you entered "(Hello|Hello there|Hi there)$" it would block anything ending with one of the encapsulated phrases in the block type (eg. title, user, summary). Regex filters are slower to apply, so they should be replaced by exact blocks if possible.
- Case sensitive
- If checked, only filters matching the given case will be blocked. For example, if you want to block a similar username used for vandalism, except that uses different casing to “impersonate”, this will be helpful in that regard (e.g. Wikiadmin vs. WikiAdmIn). Keep in mind on Wikia, article titles and usernames will never begin with a lowercase character.
- If checked, only exact matches will be blocked. This also means the filter will be case sensitive. For example, if "spam" is the filter, only "spam" will be blocked. You must check only this option for a single username being blocked if you are making a case-insensitive block without the use of regular expressions (i.e. in most cases).
After entering the filter, a duration may be chosen. This can range from 1 hour to infinite.
The following options are available using this tool:
The reason field is what will be displayed to a user when they are blocked. If no reason is given, a default generic reason will be displayed instead and will vary between an anonymous user and a logged-in user.
If a certain language is chosen, it will only be blocked on wiki's of that language. So if "Spam" is blocked on German wiki's only, it won't be at English ones.
Testing your blockEdit
After entering a block, the best thing to do is visit the "Test filter" tab in order to see if the correct options are chosen. If you blocked "Spam", enter "Spam" in the box to see what filters are working on "Spam".