Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

MediaWiki-Akismet

This is a project to add Akismet support to MediaWiki. It will currently run all page edits through the Akismet servers and disallow saving if Akismet decides an edit is spam. There is the beginning of an admin interface to mark edits as spam or ham, but it doesn't allow submitting to the Akismet servers.

Requirements

MediaWiki-Akismet requires a working installation of MediaWiki, PHP 5, and an Akismet account. The extension has been tested with MediaWiki 1.19 and PHP 5.4, but it may work on earlier versions.

Installing

  1. Install MediaWiki and verify that it's working.

  2. Create the directory INSTALLDIR/extensions/Akismet on the server and copy the MediaWiki-Akismet files to the directory.

  3. Edit LocalSettings.php in the MediaWiki root directory. Add these three lines near the end of the file, but before the ?>:

    // Akismet extension
    include( $IP . '/extensions/Akismet/Akismet.php' );
    $wgMWAkismetKey = '1234567890ab';
    $wgMWAkismetURL = 'http://www.example.com/';
  4. Edit the $wgMWAkismetKey and $wgMWAkismetURL variables to match the API key you got from Akismet and the location of your MediaWiki installation. If you don't have an Akismet API key yet, you can create a free or paid account on the Akismet site and get one.

  5. Run php ./maintenance/update.php on the command line from the top MediaWiki directory. This will create the akismet_edits database table.

  6. Make page edits and let Akismet catch the spam.

License

This code is released under the GPL 2 License. See the COPYING file for details.

About

A MediaWiki extension that adds support for Akismet spam filtering.

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.