Extension:Athena

From mediawiki.org
MediaWiki extensions manual
Athena
Release status: experimental
Implementation Special page
Description Context-based learning anti-spam tool
Author(s) Richard Cook (Cook879talk)
Latest version 0.0.4
MediaWiki >= 1.36.0
Database changes Yes
Tables athena_log
athena_page_details
athena_calculations
athena_stats
License GNU General Public License 3.0 only
Download
README
  • $wgAthenaTraining
  • $wgAthenaSpamThreshold
  • athena
Quarterly downloads 4 (Ranked 140th)
Translate the Athena extension if it is available at translatewiki.net

The Athena extension is an experimental anti-spam tool, which uses a series of context-based filters to try and identify spam. The tool uses a learning algorithm and user reinforcement to adapt to new spam. While the tool has shown some promising results, it is not production ready. You can read more about the results in this report. Bug tracking is currently managed through ShoutWiki's Phabricator.

Installation[edit]

  • Download and move the extracted Athena folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Athena
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'Athena' );
    
  • Run the update script which will automatically create the necessary database tables that this extension needs.
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration parameters[edit]

$wgAthenaSpamThreshold
Unused: While important to the original algorithm, this variable is no longer used and is due to be removed
$wgAthenaTraining
If true, then Athena will be in training mode - it will record statistics, but will not make any calculations or declare the article as spam or not.


User rights[edit]

athena
This allows the user access to Special:Athena, the page to view Athena's logs and reinforce the system