Extension:SpamDiffTool/cs

Category:GPL licensed extensions/cs
Příručka k rozšířením MediaWiki
SpamDiffTool
Stav rozšíření: stabilníCategory:Stable extensions/cs
Implementace Uživatelská aktivita Category:User activity extensions/cs, Akce stránky Category:Page action extensions/cs
Popis Umožňuje privilegovaným uživatelům přidávat položky na černou listinu spamu přímo ze stránky rozdílu
Autoři
Nejnovější verze 1.8
MediaWiki 1.43+Category:Extensions with manual MediaWiki version
Licence GNU General Public License 2.0 nebo novější
Stáhnout Category:Extensions in Wikimedia version control/cs
  • $wgSpamBlacklistArticle
Čtvrtletní stahování 0
Přeložte rozšíření SpamDiffTool, používá-li lokalizaci z translatewiki.net
Problémy Otevřené úkoly · Nahlásit chybu
Category:All extensions/cs

The SpamDiffTool extension allows users to add URLs to the SpamBlacklist extension easily without learning how to format entries for the blacklist and copy and paste, etc.

By inserting a link on each diff page, if an editor sees that a given page has been the victim of spam, they can click on "add to spam", which extracts all of the URLs the spammer has placed on the page, going back over their most recent edits on the article (similar to Rollback). Then, for each URL detected, the tool prompts the user the degree to which they want to blacklist the URL. The options are block:

  1. all links from the domain
  2. all links from the specific subdomain
  3. all links from the subdirectory and subdomain
  4. nothing - don't add this to the blacklist

The idea is to try to streamline the process of cleaning up spam, rolling back spam edits and blocking users. When the spam addition process is finished, the user is taken back to the diff page they were on to begin with. From there, they can rollback the edits as required.

Pre-requisites

This extension was tested with MediaWiki 1.43. You must have the SpamBlacklist extension already installed for this extension to do anything, because this is merely a more graphical, easier-to-use front-end for the functionality provided by SpamBlacklist.

Installation

  • Stáhněte soubor/y a vložte je do adresáře pojmenovaného SpamDiffTool ve vaší složce extensions/.
    Vývojáři a přispěvatelé kódu by si místo toho měli nainstalovat rozšíření from Git pomocí:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/SpamDiffTool
  • Na konec vašeho souboru LocalSettings.php přidejte následující kód:
    wfLoadExtension( 'SpamDiffTool' );
    
  • Configure as required
  • Yes Dokončeno – Přejděte na stránku Special:Version vaší wiki a zkontrolujte, zda bylo rozšíření úspěšně nainstalováno.

Configuration

To specify which article you use as a spam block list, change the $wgSpamBlacklistArticle variable in your wiki's LocalSettings.php. The default is to use the page called Project:Spam Blacklist.

Bugs and enhancements

Bugs or feature requests can be sent via Phabricator. There is a good chance the regular expressions are not 100% perfect.

See also

Category:Edit extensions/cs Category:Spam management extensions/cs Category:Extensions by wikiHow/cs
Category:All extensions/cs Category:DifferenceEngineViewHeader extensions/cs Category:Edit extensions/cs Category:Extensions by wikiHow/cs Category:Extensions in Wikimedia version control/cs Category:Extensions with manual MediaWiki version Category:GPL licensed extensions/cs Category:Page action extensions/cs Category:Spam management extensions/cs Category:Stable extensions/cs Category:User activity extensions/cs