Help:Maintenance and Setup

From Marspedia
Jump to: navigation, search

Note: this is the public domain MediaWiki FAQ from 13 September 2006

Only,

Great site. Keep doing.,

Your Site Is Great,

Nise site,

Incredible site!,

I want to say thanks!,

Very interesting sites.,

Anti-spam

Where do I get the spam blacklist from and how do I install it?

The spam blacklist extension can be found in Subversion. For installation instructions, consult the README file.

How do I whitelist domains from the spam blacklist?

You can list the domains you wish to whitelist on your local [[Mediawiki:Spam-whitelist]]-page.

For the format you need to use take the whitelist of the English language Wikipedia as example; wikimedia:w:en:MediaWiki:Spam-whitelist

How do I use $wgSpamRegex to block more than one string?

$wgSpamRegex is a powerful filter for page content. Adding multiple items to the regex, however, can be awkward. Consider this snippet:

$wgSpamRegexLines[] = 'display\s*:\s*none';
$wgSpamRegexLines[] = 'overflow:\s*\s*auto';
[...]
$wgSpamRegex = '/(' . implode( '|', $wgSpamRegexLines ) . ')/i';

This example code allows convenient addition of additional items to the regex without fiddling about each time. It also demonstrates two popular filters, which block some of the most common spam attacks.

Where Now?

I've found a bug or have a feature request. Where do I post it?

Bugs and feature requests should be posted on MediaZilla, our implementation of Bugzilla. Please search the database prior to posting, to avoid creating duplicate entries.

I have a question not answered here. Where do I go next?

If you've exhausted the FAQ above, please try the following:

Recommended reading