Jump to content

Extension:SimilarEditors

From mediawiki.org
MediaWiki extensions manual
SimilarEditors
Release status: experimental
Author(s) Wikimedia Anti-harassment tools team
Latest version 0.0.0
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki >= 1.43
License MIT License
Download
Help Help:Extension:SimilarEditors
  • $wgSimilarEditorsApiPassword
  • $wgSimilarEditorsApiUrl
  • $wgSimilarEditorsApiUser
  • similareditors
Quarterly downloads 0
Translate the SimilarEditors extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The Similar Editors extension is a feature for discovering editors with similar edit histories. The feature was built by the Anti-harassment tools team as part of the IP masking project. It is currently in an experimental phase, and development has paused.

The extension provides an interface to the similar users tool, so that trusted users can experiment with it and provide feedback. Feedback is provided via the QuickSurveys tool.

Dependencies

[edit]

Installation

[edit]
  • Download and move the extracted SimilarEditors 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/SimilarEditors
  • Only when installing from Git, run Composer to install PHP dependencies, by issuing composer install --no-dev in the extension directory. (See task T173141 for potential complications.)
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'SimilarEditors' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

SimilarEditors uses the Similarusers service to analyse the similarity of edit histories between users. For installation instructions, see the Similarusers documentation.

Configuration

[edit]

Granting right to use SimilarEditors

[edit]

To grant the right to use the SimilarEditors extension.

$wgGroupPermissions['sysop']['similareditors'] = true;

Add those values in your localSettings file.

Setting name Default value Description
$wgSimilarEditorsApiUrl string Url to the API
$wgSimilarEditorsApiUser string Username of the account owner
$wgSimilarEditorsApiPassword string Password of the account owner

This first version of SimilarEditors is just for gathering feedback, please install the QuickSurveys extension to enable SimilarEditors.

Usage

[edit]
  1. Go to Special:SimilarEditors.
  2. In the Usernames and IP addresses field, type in a username or IP address.
Columns description
Day Overlap
The level of temporal overlap (editing the same days of the week) with the user.
Hour Overlap
The level of temporal overlap (editing the same hours of the day) with the user.
Edit Overlap
The number of overlapping edited pages divided by the number of pages edited by the user that was queried (between 0 and 1)
Inverse Edit Overlap
The number of overlapping edited pages divided by the number of pages edited by the neighbor (between 0 and 1)
Edits in data
The number of edits made by the neighbor in the data

Data collection

[edit]

User data may be collected by QuickSurveys. The precise data collected will depend on how QuickSurveys is configured.