Extension:Athena

From Linux Web Expert

MediaWiki extensions manual
Athena
Release status: experimental
File:Athena-screen.png
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 Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
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

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/Athena</tvar>|Download]] and move the extracted <tvar name=name>Athena</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Athena
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'Athena' );
    
  • <translate> Run the [[<tvar name=update>Special:MyLanguage/Manual:Update.php</tvar>|update script]] which will automatically create the necessary database tables that this extension needs.</translate>
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

Configuration parameters

$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

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