From CodeCodex

Dealing with Spam Users[edit]

Blocking Anonymous IP Accounts[edit]

IPAddress should be blocked based on the following schedule:

  • 1st Offense
    • The IP address should be blocked for 3 days.
  • 2nd Offense
    • The IP address should be blocked for 1 month.
  • 3rd or Greater Offense
    • The IP address should be blocked for 1 year.

Blocking User Accounts[edit]

No current policy.


Blocking of shared NAT IPs (such as AOL's or some college campuses) should be avoided. If a such a case occurs, please contact User:WikiSysop for resolution.

Banned words[edit]

Using MediaWiki's anti-spam features, these words are currently banned from CodeCodex. Trying to use these words in CodeCodex will not ban your account, but instead will just prevent you from saving your changes.

These words are banned because they were used in automated spam attempts on this or other wikis and because they have limited use in a wiki about source code.


All edits to CodeCodex are tested against this regular expression. If an edit matches this expression, the edit is not allowed.

  • "/fuck|bitches|rape|porn|Zyrtec|Ambien|viagra|Zyban|". //These match spammy words
  • "rox\.pl|".
  • "fistanalexperience\.com|".
  • "searchmiracle\.com|".
  • "biblog\.ru|".
  • "gaiax\.com|".
  • "coz\.in|".
  • "jot\.com|".
  • "resanium\.com".
  • "[0-9]{20,50}|". //that weird number spam
  • "overflow:\s*auto;\s*height:\s*[0-4]px;|". //This matches against overflow:auto; hieght:0px; (most CSS hidden spam)

Not all banned sites are listed here. If a site has been banned inappropriately, please notify an admin.

Recommended Additions to the List[edit]

After a spam attack, feel free to add recommendations here.

  • "resanium\.com" [1]
  • "fiskekommunerna\.org" [2]


Feel free to discuss CodeCodex's blacklist policy on this page's talk page.

See also[edit]