User:Rutilant/reportSpam

From Wikipedia, the free encyclopedia

A user script to help recent changes patrollers report spambots quickly.

First releasedFebruary 18, 2019; 7 years ago (2019-02-18)
Quick facts reportSpam, Author ...
User script
reportSpam
AuthorUser:Rutilant
First releasedFebruary 18, 2019; 7 years ago (2019-02-18)
BrowsersGoogle Chrome, Firefox
SourceUser:Rutilant/reportSpam.js
GitHub repositoryreportSpam
Close

Installation

Usage

Configuration

For optional configurations, create a global object named reportSpam_customconfig.

More information Key, Type ...
Key Type Default Detail
debug boolean false If set to true, all error messages and logs will be printed to the browser console.
disable_notification boolean false If set to true, the "mw.notify()"—the popup-ish thing—will be disabled.
report_page string "Wikipedia:Administrator intervention against vandalism" The page to submit reports to. There's no reason to modify this unless you want to run it on your sandbox.
edit_summary string "Added report for a possible spambot: [[Special:Contributions/$username|$username]] ([[User:Rutilant/reportSpam|reportSpam]])" The $username is a placeholder which gets replaced by the username of the user being reported.
Close

Example

var reportSpam_customconfig = {
  debug: true,
  edit_summary: "Added report for $username."
};

Related Articles

Wikiwand AI