Extension:SpamRegex
From Linux Web Expert
SpamRegex Release status: stable |
|
---|---|
File:Special.spamregex.png | |
Implementation | Special page |
Description | Adds a special page to filter out unwanted expressions. |
Author(s) | |
Latest version | 1.7.0 (2020-03-10) |
MediaWiki | 1.39+ |
Database changes | Yes |
License | GNU General Public License 2.0 or later |
Download | |
|
|
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 SpamRegex extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
The SpamRegex extension creates a new page, "Special:SpamRegex", to filter out unwanted links or text. A full list of currently blocked links or text can be viewed on this same special page. The spamregexed expressions cannot be used in page content, edit summaries or page move summaries, depending on what was chosen by the user who blocked links or text.
Installation
- <translate> [[<tvar name=2>Special:ExtensionDistributor/SpamRegex</tvar>|Download]] and move the extracted <tvar name=name>
SpamRegex
</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/SpamRegex - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'SpamRegex' );
- <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>
- This extension uses Memcached - please check if Memcached is configured properly in Global/LocalSettings.php .
- Ensure the
spamregex
user right is given to a group that exists; by default this user right is given to thestaff
user group (which does not exist in a default MediaWiki installation). - 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>
Usage
- Go to "Special:SpamRegex"
- Enter the phrase to be blocked into the "Phrase to block" box
- Supply a reason for blocking the phrase
- Select one or both of the available options: block phrase in page text & block phrase in summary (edit summaries, page move summaries)
- Press the "Block this phrase" button
See also
Categories:
- Pages with script errors
- Pages with broken file links
- Stable extensions
- Special page extensions
- Extensions without a compatibility policy
- Extensions with manual MediaWiki version
- GPL licensed extensions
- Extensions in Wikimedia version control
- EditFilter extensions
- LoadExtensionSchemaUpdates extensions
- MovePageCheckPermissions extensions
- ProblemReportsContentCheck extensions
- RenameUserComplete extensions
- All extensions
- Extensions by Fandom
- Extensions by ShoutWiki
- Spam management extensions