diff options
Diffstat (limited to 'extensions/SpamBlacklist')
28 files changed, 236 insertions, 178 deletions
diff --git a/extensions/SpamBlacklist/BaseBlacklist.php b/extensions/SpamBlacklist/BaseBlacklist.php index 280a614a..b1958c35 100644 --- a/extensions/SpamBlacklist/BaseBlacklist.php +++ b/extensions/SpamBlacklist/BaseBlacklist.php @@ -87,11 +87,11 @@ abstract class BaseBlacklist { * * @param $type string Code for the blacklist * @return BaseBlacklist - * @throws MWException + * @throws Exception */ public static function getInstance( $type ) { if ( !isset( self::$blacklistTypes[$type] ) ) { - throw new MWException( "Invalid blacklist type '$type' passed to " . __METHOD__ ); + throw new Exception( "Invalid blacklist type '$type' passed to " . __METHOD__ ); } if ( !isset( self::$instances[$type] ) ) { @@ -223,15 +223,12 @@ abstract class BaseBlacklist { function getSharedBlacklists() { global $wgMemc, $wgDBname; $listType = $this->getBlacklistType(); - $fname = 'SpamBlacklist::getRegex'; - wfProfileIn( $fname ); wfDebugLog( 'SpamBlacklist', "Loading $listType regex..." ); if ( count( $this->files ) == 0 ){ # No lists wfDebugLog( 'SpamBlacklist', "no files specified\n" ); - wfProfileOut( $fname ); return array(); } @@ -240,7 +237,6 @@ abstract class BaseBlacklist { $cachedRegexes = $wgMemc->get( "$wgDBname:{$listType}_blacklist_regexes" ); if( is_array( $cachedRegexes ) ) { wfDebugLog( 'SpamBlacklist', "Got shared spam regexes from cache\n" ); - wfProfileOut( $fname ); return $cachedRegexes; } diff --git a/extensions/SpamBlacklist/SpamBlacklist.i18n.php b/extensions/SpamBlacklist/SpamBlacklist.i18n.php deleted file mode 100644 index 7f463b05..00000000 --- a/extensions/SpamBlacklist/SpamBlacklist.i18n.php +++ /dev/null @@ -1,35 +0,0 @@ -<?php -/** - * This is a backwards-compatibility shim, generated by: - * https://git.wikimedia.org/blob/mediawiki%2Fcore.git/HEAD/maintenance%2FgenerateJsonI18n.php - * - * Beginning with MediaWiki 1.23, translation strings are stored in json files, - * and the EXTENSION.i18n.php file only exists to provide compatibility with - * older releases of MediaWiki. For more information about this migration, see: - * https://www.mediawiki.org/wiki/Requests_for_comment/Localisation_format - * - * This shim maintains compatibility back to MediaWiki 1.17. - */ -$messages = array(); -if ( !function_exists( 'wfJsonI18nShime2760ddac42b5b1c' ) ) { - function wfJsonI18nShime2760ddac42b5b1c( $cache, $code, &$cachedData ) { - $codeSequence = array_merge( array( $code ), $cachedData['fallbackSequence'] ); - foreach ( $codeSequence as $csCode ) { - $fileName = dirname( __FILE__ ) . "/i18n/$csCode.json"; - if ( is_readable( $fileName ) ) { - $data = FormatJson::decode( file_get_contents( $fileName ), true ); - foreach ( array_keys( $data ) as $key ) { - if ( $key === '' || $key[0] === '@' ) { - unset( $data[$key] ); - } - } - $cachedData['messages'] = array_merge( $data, $cachedData['messages'] ); - } - - $cachedData['deps'][] = new FileDependency( $fileName ); - } - return true; - } - - $GLOBALS['wgHooks']['LocalisationCacheRecache'][] = 'wfJsonI18nShime2760ddac42b5b1c'; -} diff --git a/extensions/SpamBlacklist/SpamBlacklist.php b/extensions/SpamBlacklist/SpamBlacklist.php index b627e00f..a1e4960d 100644 --- a/extensions/SpamBlacklist/SpamBlacklist.php +++ b/extensions/SpamBlacklist/SpamBlacklist.php @@ -1,77 +1,13 @@ <?php - -# Loader for spam blacklist feature -# Include this from LocalSettings.php - -if ( !defined( 'MEDIAWIKI' ) ) { - exit; +if ( function_exists( 'wfLoadExtension' ) ) { + wfLoadExtension( 'SpamBlacklist' ); + // Keep i18n globals so mergeMessageFileList.php doesn't break + $wgMessagesDirs['SpamBlackList'] = __DIR__ . '/i18n'; + /* wfWarn( + 'Deprecated PHP entry point used for SpamBlacklist extension. Please use wfLoadExtension instead, ' . + 'see https://www.mediawiki.org/wiki/Extension_registration for more details.' + ); */ + return; +} else { + die( 'This version of the SpamBlacklist extension requires MediaWiki 1.25+' ); } - -$wgExtensionCredits['antispam'][] = array( - 'path' => __FILE__, - 'name' => 'SpamBlacklist', - 'author' => array( 'Tim Starling', 'John Du Hart', 'Daniel Kinzler' ), - 'url' => 'https://www.mediawiki.org/wiki/Extension:SpamBlacklist', - 'descriptionmsg' => 'spam-blacklist-desc', -); - -$dir = __DIR__ . '/'; -$wgMessagesDirs['SpamBlackList'] = __DIR__ . '/i18n'; -$wgExtensionMessagesFiles['SpamBlackList'] = $dir . 'SpamBlacklist.i18n.php'; - -// Register the API method -$wgAutoloadClasses['ApiSpamBlacklist'] = "$dir/api/ApiSpamBlacklist.php"; -$wgAPIModules['spamblacklist'] = 'ApiSpamBlacklist'; - -/** - * Array of settings for blacklist classes - */ -$wgBlacklistSettings = array( - 'spam' => array( - 'files' => array( "https://meta.wikimedia.org/w/index.php?title=Spam_blacklist&action=raw&sb_ver=1" ) - ) -); - -/** - * Log blacklist hits to Special:Log - */ -$wgLogSpamBlacklistHits = false; - -/** - * @deprecated - */ -$wgSpamBlacklistFiles =& $wgBlacklistSettings['spam']['files']; - -/** - * @deprecated - */ -$wgSpamBlacklistSettings =& $wgBlacklistSettings['spam']; - -if ( !defined( 'MW_SUPPORTS_CONTENTHANDLER' ) ) { - die( "This version of SpamBlacklist requires a version of MediaWiki that supports the ContentHandler facility (supported since MW 1.21)." ); -} - -// filter pages on save -$wgHooks['EditFilterMergedContent'][] = 'SpamBlacklistHooks::filterMergedContent'; -$wgHooks['APIEditBeforeSave'][] = 'SpamBlacklistHooks::filterAPIEditBeforeSave'; - -// editing filter rules -$wgHooks['EditFilter'][] = 'SpamBlacklistHooks::validate'; -$wgHooks['PageContentSaveComplete'][] = 'SpamBlacklistHooks::pageSaveContent'; - -// email filters -$wgHooks['UserCanSendEmail'][] = 'SpamBlacklistHooks::userCanSendEmail'; -$wgHooks['AbortNewAccount'][] = 'SpamBlacklistHooks::abortNewAccount'; - -$wgAutoloadClasses['BaseBlacklist'] = $dir . 'BaseBlacklist.php'; -$wgAutoloadClasses['EmailBlacklist'] = $dir . 'EmailBlacklist.php'; -$wgAutoloadClasses['SpamBlacklistHooks'] = $dir . 'SpamBlacklistHooks.php'; -$wgAutoloadClasses['SpamBlacklist'] = $dir . 'SpamBlacklist_body.php'; -$wgAutoloadClasses['SpamRegexBatch'] = $dir . 'SpamRegexBatch.php'; - -$wgLogTypes[] = 'spamblacklist'; -$wgLogActionsHandlers['spamblacklist/*'] = 'LogFormatter'; -$wgLogRestrictions['spamblacklist'] = 'spamblacklistlog'; -$wgGroupPermissions['sysop']['spamblacklistlog'] = true; - -$wgAvailableRights[] = 'spamblacklistlog'; diff --git a/extensions/SpamBlacklist/SpamBlacklistHooks.php b/extensions/SpamBlacklist/SpamBlacklistHooks.php index 223c1065..c8a322b6 100644 --- a/extensions/SpamBlacklist/SpamBlacklistHooks.php +++ b/extensions/SpamBlacklist/SpamBlacklistHooks.php @@ -4,6 +4,30 @@ * Hooks for the spam blacklist extension */ class SpamBlacklistHooks { + + /** + * T99257: Extension registration does not properly support 2d arrays so set it as a global for now + */ + public static function registerExtension() { + global $wgSpamBlacklistFiles, $wgBlacklistSettings, $wgSpamBlacklistSettings; + + $wgBlacklistSettings = array( + 'spam' => array( + 'files' => array( "https://meta.wikimedia.org/w/index.php?title=Spam_blacklist&action=raw&sb_ver=1" ) + ) + ); + + /** + * @deprecated + */ + $wgSpamBlacklistFiles =& $wgBlacklistSettings['spam']['files']; + + /** + * @deprecated + */ + $wgSpamBlacklistSettings =& $wgBlacklistSettings['spam']; + } + /** * Hook function for EditFilterMergedContent * @@ -25,8 +49,8 @@ class SpamBlacklistHooks { } // get the link from the not-yet-saved page content. - // no need to generate html to get external links - $pout = $content->getParserOutput( $title, null, null, false ); + $editInfo = $context->getWikiPage()->prepareContentForEdit( $content ); + $pout = $editInfo->output; $links = array_keys( $pout->getExternalLinks() ); // HACK: treat the edit summary as a link diff --git a/extensions/SpamBlacklist/SpamBlacklist_body.php b/extensions/SpamBlacklist/SpamBlacklist_body.php index 15fbc72f..8c270f42 100644 --- a/extensions/SpamBlacklist/SpamBlacklist_body.php +++ b/extensions/SpamBlacklist/SpamBlacklist_body.php @@ -41,9 +41,6 @@ class SpamBlacklist extends BaseBlacklist { * @return Array Matched text(s) if the edit should not be allowed, false otherwise */ function filter( array $links, Title $title = null, $preventLog = false ) { - $fname = 'wfSpamBlacklistFilter'; - wfProfileIn( $fname ); - $blacklists = $this->getBlacklists(); $whitelists = $this->getWhitelists(); @@ -94,7 +91,10 @@ class SpamBlacklist extends BaseBlacklist { wfDebugLog( 'SpamBlacklist', "Match!\n" ); global $wgRequest; $ip = $wgRequest->getIP(); - $imploded = implode( ' ', $matches[0] ); + $fullUrls = array(); + $fullLineRegex = substr( $regex, 0, strrpos( $regex, '/' ) ) . '.*/Sim'; + preg_match_all( $fullLineRegex, $links, $fullUrls ); + $imploded = implode( ' ', $fullUrls[0] ); wfDebugLog( 'SpamBlacklistHit', "$ip caught submitting spam: $imploded\n" ); if( !$preventLog ) { $this->logFilterHit( $title, $imploded ); // Log it @@ -102,7 +102,7 @@ class SpamBlacklist extends BaseBlacklist { if( $retVal === false ){ $retVal = array(); } - $retVal = array_merge( $retVal, $matches[1] ); + $retVal = array_merge( $retVal, $fullUrls[1] ); } } if ( is_array( $retVal ) ) { @@ -111,7 +111,7 @@ class SpamBlacklist extends BaseBlacklist { } else { $retVal = false; } - wfProfileOut( $fname ); + return $retVal; } diff --git a/extensions/SpamBlacklist/api/ApiSpamBlacklist.php b/extensions/SpamBlacklist/api/ApiSpamBlacklist.php index dad9e8e0..9c5ce3db 100644 --- a/extensions/SpamBlacklist/api/ApiSpamBlacklist.php +++ b/extensions/SpamBlacklist/api/ApiSpamBlacklist.php @@ -55,16 +55,25 @@ class ApiSpamBlacklist extends ApiBase { ); } + /** + * @deprecated since MediaWiki core 1.25 + */ public function getParamDescription() { return array( 'url' => 'A pipe-separated list of URLs to validate against the blacklist', ); } + /** + * @deprecated since MediaWiki core 1.25 + */ public function getDescription() { return 'Validate one or more URLs against the SpamBlacklist.'; } + /** + * @deprecated since MediaWiki core 1.25 + */ public function getExamples() { return array( 'api.php?action=spamblacklist&url=http%3A%2F%2Fwww.example.com%2F%7Chttp%3A%2F%2Fwww.example.org%2F', @@ -72,6 +81,16 @@ class ApiSpamBlacklist extends ApiBase { ); } + /** + * @see ApiBase::getExamplesMessages() + */ + protected function getExamplesMessages() { + return array( + 'action=spamblacklist&url=http://www.example.com/|http://www.example.org/' + => 'apihelp-spamblacklist-example-1', + ); + } + public function getHelpUrls() { return array( 'https://www.mediawiki.org/wiki/Extension:SpamBlacklist/API' ); } diff --git a/extensions/SpamBlacklist/extension.json b/extensions/SpamBlacklist/extension.json new file mode 100644 index 00000000..7aec2bca --- /dev/null +++ b/extensions/SpamBlacklist/extension.json @@ -0,0 +1,69 @@ +{ + "name": "SpamBlacklist", + "author": [ + "Tim Starling", + "John Du Hart", + "Daniel Kinzler" + ], + "url": "https://www.mediawiki.org/wiki/Extension:SpamBlacklist", + "descriptionmsg": "spam-blacklist-desc", + "type": "antispam", + "callback": "SpamBlacklistHooks::registerExtension", + "GroupPermissions": { + "sysop": { + "spamblacklistlog": true + } + }, + "AvailableRights": [ + "spamblacklistlog" + ], + "LogTypes": [ + "spamblacklist" + ], + "LogRestrictions": { + "spamblacklist": "spamblacklistlog" + }, + "LogActionsHandlers": { + "spamblacklist/*": "LogFormatter" + }, + "APIModules": { + "spamblacklist": "ApiSpamBlacklist" + }, + "MessagesDirs": { + "SpamBlackList": [ + "i18n" + ] + }, + "AutoloadClasses": { + "ApiSpamBlacklist": "api/ApiSpamBlacklist.php", + "BaseBlacklist": "BaseBlacklist.php", + "EmailBlacklist": "EmailBlacklist.php", + "SpamBlacklistHooks": "SpamBlacklistHooks.php", + "SpamBlacklist": "SpamBlacklist_body.php", + "SpamRegexBatch": "SpamRegexBatch.php" + }, + "Hooks": { + "EditFilterMergedContent": [ + "SpamBlacklistHooks::filterMergedContent" + ], + "APIEditBeforeSave": [ + "SpamBlacklistHooks::filterAPIEditBeforeSave" + ], + "EditFilter": [ + "SpamBlacklistHooks::validate" + ], + "PageContentSaveComplete": [ + "SpamBlacklistHooks::pageSaveContent" + ], + "UserCanSendEmail": [ + "SpamBlacklistHooks::userCanSendEmail" + ], + "AbortNewAccount": [ + "SpamBlacklistHooks::abortNewAccount" + ] + }, + "config": { + "@doc": "BlacklistSettings are set in SpamBlacklistHooks.php", + "LogSpamBlacklistHits": false + } +} diff --git a/extensions/SpamBlacklist/i18n/ar.json b/extensions/SpamBlacklist/i18n/ar.json index 121a890e..ccfe1038 100644 --- a/extensions/SpamBlacklist/i18n/ar.json +++ b/extensions/SpamBlacklist/i18n/ar.json @@ -3,7 +3,8 @@ "authors": [ "Asaifm", "Meno25", - "OsamaK" + "OsamaK", + "Abanima" ] }, "spam-blacklist": " # الوصلات الخارجية التي تطابق هذه القائمة سيتم منعها عند إضافتها لصفحة.\n # هذه القائمة تؤثر فقط على هذه الويكي؛ ارجع أيضا للقائمة السوداء العامة.\n # للوثائق انظر https://www.mediawiki.org/wiki/Extension:SpamBlacklist\n #<!-- اترك هذا السطر تماما كما هو --> <pre>\n#\n# الصيغة كالتالي:\n# * كل شيء من علامة \"#\" إلى آخر السطر هو تعليق\n# * كل سطر غير فارغ هو تعبير منتظم يوافق فقط المضيفين داخل الوصلات الخارجية\n\n #</pre> <!-- اترك هذا السطر تماما كما هو -->", @@ -15,6 +16,7 @@ "spam-blacklist-desc": "أداة ضد السخام تعتمد على التعبيرات النمطية وتسمح بمنع روابط في الصفحات وعنواين البريد الإلكتروني للمستخدمين المسجلين", "log-name-spamblacklist": "سجل السخام المدرج على القائمة السوداء", "log-description-spamblacklist": "هذا الأحداث توثق مشاهدات القائمة السوداء للسخام.", + "logentry-spamblacklist-hit": "أدى التعديل الذي {{GENDER:$2|قام|قامت}} به $1 إلى تفعيل القائمة السوداء لوصلات السبام في $3 عندما {{GENDER:$2|حاول|حاولت}} إضافة $4.", "right-spamblacklistlog": "اعرض سجل السخام المدرج على القائمة السوداء", "action-spamblacklistlog": "اعرض سجل السخام المدرج على القائمة السوداء" } diff --git a/extensions/SpamBlacklist/i18n/bcc.json b/extensions/SpamBlacklist/i18n/bcc.json index 603b262d..87b7bd8b 100644 --- a/extensions/SpamBlacklist/i18n/bcc.json +++ b/extensions/SpamBlacklist/i18n/bcc.json @@ -1,8 +1,10 @@ { "@metadata": { "authors": [ - "Mostafadaneshvar" + "Mostafadaneshvar", + "Baloch Afghanistan" ] }, + "spam-blacklist": " # از درج پیوندهای بیرونی که با این فهرست مطابقت کنند جلوگیری میشود.\n # این فهرست فقط روی همین ویکی اثر دارد؛ به فهرست سیاه سراسری نیز مراجعه کنید.\n # برای مستندات به https://www.mediawiki.org/wiki/Extension:SpamBlacklist مراجعه کنید\n #<!-- این سطر را همانگونه که هست رها کنید --> <pre>\n# دستورات به این شکل هستند:\n# * همه چیز از «#» تا پایان سطر به عنوان توضیح در نظر گرفته میشود\n# * هر سطر از متن به عنوان یک دستور از نوع عبارت باقاعده در نظر گرفته میشود که فقط با نام میزبان در نشانی اینترنتی مطابقت داده میشود\n\n #</pre> <!-- این سطر را همانگونه که هست رها کنید -->", "spam-blacklist-desc": "وسیله په ضد اسپم په اساس عبارات منظم: [[MediaWiki:Spam-blacklist]] و [[MediaWiki:Spam-whitelist]]" } diff --git a/extensions/SpamBlacklist/i18n/bg.json b/extensions/SpamBlacklist/i18n/bg.json index e1a42f94..1aa242c4 100644 --- a/extensions/SpamBlacklist/i18n/bg.json +++ b/extensions/SpamBlacklist/i18n/bg.json @@ -1,9 +1,11 @@ { "@metadata": { "authors": [ - "Spiritia" + "Spiritia", + "Borislav" ] }, "spam-invalid-lines": "{{PLURAL:$1|Следният запис|Следните записи}} от черния списък на спама {{PLURAL:$1|е невалиден регулярен израз|са невалидни регулярни изрази}} и трябва да {{PLURAL:$1|бъде коригиран|бъдат коригирани}} преди съхраняване на страницата:", - "spam-blacklist-desc": "Инструмент за защита от спам, използващ регулярни изрази: [[МедияУики:Spam-blacklist]] и [[МедияУики:Spam-whitelist]]" + "spam-blacklist-desc": "Инструмент за защита от спам, използващ регулярни изрази: [[МедияУики:Spam-blacklist]] и [[МедияУики:Spam-whitelist]]", + "log-name-spamblacklist": "Дневник на черния списък против спам" } diff --git a/extensions/SpamBlacklist/i18n/de.json b/extensions/SpamBlacklist/i18n/de.json index 076bc029..64e31b45 100644 --- a/extensions/SpamBlacklist/i18n/de.json +++ b/extensions/SpamBlacklist/i18n/de.json @@ -12,7 +12,7 @@ }, "spam-blacklist": " # Externe URLs, die in dieser Liste enthalten sind, blockieren das Speichern einer Seite.\n # Diese Liste hat nur Auswirkungen auf dieses Wiki. Siehe ggf. auch die globale Blockierliste.\n # Siehe auch https://www.mediawiki.org/wiki/Extension:SpamBlacklist für die Dokumentation dieser Funktion. \n #<!-- Diese Zeile darf nicht verändert werden! --> <pre>\n#\n# Syntax:\n# * Alles ab dem „#“-Zeichen bis zum Ende der Zeile ist ein Kommentar\n# * Jede nicht-leere Zeile ist ein regulärer Ausdruck, der gegen die Host-Namen in den URLs geprüft wird.\n\n #</pre> <!-- Diese Zeile darf nicht verändert werden! -->", "spam-whitelist": " #<!-- Diese Zeile darf nicht verändert werden! --> <pre>\n# Externe URLs, die in dieser Liste enthalten sind, blockieren das Speichern einer Seite nicht, \n# auch wenn sie in der lokalen oder ggf. globalen Blockierliste enthalten sind.\n#\n# Syntax:\n# * Alles ab dem „#“-Zeichen bis zum Ende der Zeile ist ein Kommentar\n# * Jede nicht-leere Zeile ist ein regulärer Ausdruck, der gegen die Host-Namen in den URLs geprüft wird.\n\n #</pre> <!-- Diese Zeile darf nicht verändert werden! -->", - "email-blacklist": " #<!-- Diese Zeile darf nicht verändert werden! --> <pre>\n # E-Mail-Adressen, die in dieser Liste enthalten sind, werden bei der Registrierung sowie beim Senden von E-Mail-Nachrichten geblockt.\n # Diese Liste hat nur Auswirkungen auf dieses Wiki. Siehe gegebenenfalls auch die globale Blockierliste.\n # Zur Dokumentation dieser Funktion siehe auch https://www.mediawiki.org/wiki/Extension:SpamBlacklist.\n#\n# Syntax wie folgt:\n# * Alles ab dem „#“-Zeichen bis zum Ende der Zeile ist ein Kommentar.\n# * Jede nicht-leere Zeile ist ein regulärer Ausdruck, der gegen die Host-Namen in den E-Mail-Adressen abgeglichen wird.\n\n #</pre> <!-- Diese Zeile darf nicht verändert werden! -->", + "email-blacklist": " #<!-- Diese Zeile darf nicht verändert werden! --> <pre>\n# E-Mail-Adressen, die in dieser Liste enthalten sind, werden bei der Registrierung sowie beim Senden von E-Mail-Nachrichten blockiert.\n# Diese Liste hat nur Auswirkungen auf dieses Wiki. Siehe gegebenenfalls auch die globale Blockierliste.\n# Siehe auch https://www.mediawiki.org/wiki/Extension:SpamBlacklist für weiterführende Informationen.\n#\n# Syntax wie folgt:\n# * Alles ab dem „#“-Zeichen bis zum Ende der Zeile ist ein Kommentar.\n# * Jede nicht-leere Zeile ist ein regulärer Ausdruck, der mit dem Hostnamen der E-Mail-Adressen abgeglichen wird.\n\n #</pre> <!-- Diese Zeile darf nicht verändert werden! -->", "email-whitelist": " #<!-- Diese Zeile darf nicht verändert werden! --> <pre>\n# E-Mail-Adressen, die sich in dieser Liste befinden, blockieren die Registrierung sowie\n# das Senden von E-Mail-Nachrichten *nicht*, auch wenn sie in der \n# lokalen oder ggf. globalen Blockierliste enthalten sind.\n#\n #</pre> <!-- Diese Zeile darf nicht verändert werden! -->", "spam-blacklisted-email": "Blockierte E-Mail-Adressen", "spam-blacklisted-email-text": "Deine E-Mail-Adresse ist derzeit für das Senden von E-Mail-Nachrichten an andere Benutzer blockiert.", @@ -21,7 +21,7 @@ "spam-blacklist-desc": "Ergänzt ein auf reguläre Ausdrücke gestütztes Anti-Spam-Werkzeug zum Sperren von URLs und E-Mail-Adressen für das Einfügen durch registrierte Benutzer", "log-name-spamblacklist": "Spam-Blacklist-Logbuch", "log-description-spamblacklist": "Es folgt ein Logbuch von Spam-Blacklist-Treffern.", - "logentry-spamblacklist-hit": "$1 verursachte einen Spam-Blacklist-Treffer auf „$3“ durch das versuchte Hinzufügen von $4.", + "logentry-spamblacklist-hit": "{{GENDER:$2|$1}} verursachte einen Spam-Blacklist-Treffer auf „$3“ durch das versuchte Hinzufügen von $4.", "right-spamblacklistlog": "Spam-Blacklist-Logbuch ansehen", "action-spamblacklistlog": "dieses Logbuch einzusehen" } diff --git a/extensions/SpamBlacklist/i18n/en.json b/extensions/SpamBlacklist/i18n/en.json index 3ba7bf03..1190a63b 100644 --- a/extensions/SpamBlacklist/i18n/en.json +++ b/extensions/SpamBlacklist/i18n/en.json @@ -1,19 +1,22 @@ { - "@metadata": { - "authors": [] - }, - "spam-blacklist": " #<!-- leave this line exactly as it is --> <pre>\n# External URLs matching this list will be blocked when added to a page.\n# This list affects only this wiki; refer also to the global blacklist.\n# For documentation see https://www.mediawiki.org/wiki/Extension:SpamBlacklist\n#\n# Syntax is as follows:\n# * Everything from a \"#\" character to the end of the line is a comment\n# * Every non-blank line is a regex fragment which will only match hosts inside URLs\n\n #</pre> <!-- leave this line exactly as it is -->", - "spam-whitelist": " #<!-- leave this line exactly as it is --> <pre>\n# External URLs matching this list will *not* be blocked even if they would\n# have been blocked by blacklist entries.\n#\n# Syntax is as follows:\n# * Everything from a \"#\" character to the end of the line is a comment\n# * Every non-blank line is a regex fragment which will only match hosts inside URLs\n\n #</pre> <!-- leave this line exactly as it is -->", - "email-blacklist": " #<!-- leave this line exactly as it is --> <pre>\n# Email addresses matching this list will be blocked from registering or sending emails\n# This list affects only this wiki; refer also to the global blacklist.\n# For documentation see https://www.mediawiki.org/wiki/Extension:SpamBlacklist\n#\n# Syntax is as follows:\n# * Everything from a \"#\" character to the end of the line is a comment\n# * Every non-blank line is a regex fragment which will only match hosts inside email addresses\n\n #</pre> <!-- leave this line exactly as it is -->", - "email-whitelist": " #<!-- leave this line exactly as it is --> <pre>\n# Email addresses matching this list will *not* be blocked even if they would\n# have been blocked by blacklist entries.\n#\n# Syntax is as follows:\n# * Everything from a \"#\" character to the end of the line is a comment\n# * Every non-blank line is a regex fragment which will only match hosts inside email addresses\n\n #</pre> <!-- leave this line exactly as it is -->", - "spam-blacklisted-email": "Blacklisted email address", - "spam-blacklisted-email-text": "Your email address is currently blacklisted from sending emails to other users.", - "spam-blacklisted-email-signup": "The given email address is currently blacklisted from use.", - "spam-invalid-lines": "The following spam blacklist {{PLURAL:$1|line is an|lines are}} invalid regular {{PLURAL:$1|expression|expressions}} and {{PLURAL:$1|needs|need}} to be corrected before saving the page:", - "spam-blacklist-desc": "Regex-based anti-spam tool allowing to blacklist URLs in pages and email addresses for registered users", - "log-name-spamblacklist": "Spam blacklist log", - "log-description-spamblacklist": "These events track spam blacklist hits.", - "logentry-spamblacklist-hit": "{{GENDER:$2|$1}} caused a spam blacklist hit on $3 by attempting to add $4.", - "right-spamblacklistlog": "View the spam blacklist log", - "action-spamblacklistlog": "view the spam blacklist log" -}
\ No newline at end of file + "@metadata": { + "authors": [] + }, + "spam-blacklist": " #<!-- leave this line exactly as it is --> <pre>\n# External URLs matching this list will be blocked when added to a page.\n# This list affects only this wiki; refer also to the global blacklist.\n# For documentation see https://www.mediawiki.org/wiki/Extension:SpamBlacklist\n#\n# Syntax is as follows:\n# * Everything from a \"#\" character to the end of the line is a comment\n# * Every non-blank line is a regex fragment which will only match hosts inside URLs\n\n #</pre> <!-- leave this line exactly as it is -->", + "spam-whitelist": " #<!-- leave this line exactly as it is --> <pre>\n# External URLs matching this list will *not* be blocked even if they would\n# have been blocked by blacklist entries.\n#\n# Syntax is as follows:\n# * Everything from a \"#\" character to the end of the line is a comment\n# * Every non-blank line is a regex fragment which will only match hosts inside URLs\n\n #</pre> <!-- leave this line exactly as it is -->", + "email-blacklist": " #<!-- leave this line exactly as it is --> <pre>\n# Email addresses matching this list will be blocked from registering or sending emails\n# This list affects only this wiki; refer also to the global blacklist.\n# For documentation see https://www.mediawiki.org/wiki/Extension:SpamBlacklist\n#\n# Syntax is as follows:\n# * Everything from a \"#\" character to the end of the line is a comment\n# * Every non-blank line is a regex fragment which will only match hosts inside email addresses\n\n #</pre> <!-- leave this line exactly as it is -->", + "email-whitelist": " #<!-- leave this line exactly as it is --> <pre>\n# Email addresses matching this list will *not* be blocked even if they would\n# have been blocked by blacklist entries.\n#\n# Syntax is as follows:\n# * Everything from a \"#\" character to the end of the line is a comment\n# * Every non-blank line is a regex fragment which will only match hosts inside email addresses\n\n #</pre> <!-- leave this line exactly as it is -->", + "spam-blacklisted-email": "Blacklisted email address", + "spam-blacklisted-email-text": "Your email address is currently blacklisted from sending emails to other users.", + "spam-blacklisted-email-signup": "The given email address is currently blacklisted from use.", + "spam-invalid-lines": "The following spam blacklist {{PLURAL:$1|line is an|lines are}} invalid regular {{PLURAL:$1|expression|expressions}} and {{PLURAL:$1|needs|need}} to be corrected before saving the page:", + "spam-blacklist-desc": "Regex-based anti-spam tool allowing to blacklist URLs in pages and email addresses for registered users", + "log-name-spamblacklist": "Spam blacklist log", + "log-description-spamblacklist": "These events track spam blacklist hits.", + "logentry-spamblacklist-hit": "{{GENDER:$2|$1}} caused a spam blacklist hit on $3 by attempting to add $4.", + "right-spamblacklistlog": "View the spam blacklist log", + "action-spamblacklistlog": "view the spam blacklist log", + "apihelp-spamblacklist-description": "Validate one or more URLs against the SpamBlacklist.", + "apihelp-spamblacklist-param-url": "URLs to validate against the blacklist.", + "apihelp-spamblacklist-example-1": "Check two URLs against the blacklist" +} diff --git a/extensions/SpamBlacklist/i18n/fa.json b/extensions/SpamBlacklist/i18n/fa.json index ef94cdfc..776cb913 100644 --- a/extensions/SpamBlacklist/i18n/fa.json +++ b/extensions/SpamBlacklist/i18n/fa.json @@ -5,18 +5,19 @@ "Ebraminio", "Huji", "Meisam", - "Alirezaaa" + "Alirezaaa", + "Mjbmr" ] }, "spam-blacklist": " # از درج پیوندهای بیرونی که با این فهرست مطابقت کنند جلوگیری میشود.\n # این فهرست فقط روی همین ویکی اثر دارد؛ به فهرست سیاه سراسری نیز مراجعه کنید.\n # برای مستندات به https://www.mediawiki.org/wiki/Extension:SpamBlacklist مراجعه کنید\n #<!-- این سطر را همانگونه که هست رها کنید --> <pre>\n# دستورات به این شکل هستند:\n# * همه چیز از «#» تا پایان سطر به عنوان توضیح در نظر گرفته میشود\n# * هر سطر از متن به عنوان یک دستور از نوع عبارت باقاعده در نظر گرفته میشود که فقط با نام میزبان در نشانی اینترنتی مطابقت داده میشود\n\n #</pre> <!-- این سطر را همانگونه که هست رها کنید -->", "spam-whitelist": " #<!-- این سطر را همانگونه که هست رها کنید --> <pre>\n# از درج پیوندهای بیرونی که با این فهرست مطابقت کنند جلوگیری *نمیشود* حتی اگر\n# در فهرست سیاه قرار داشته باشند.\n#\n #</pre> <!-- این سطر را همانگونه که هست رها کنید -->", - "email-blacklist": " # از ثبت نام یا ارسال نامه توسط نشانیهای رایانامهای که با این فهرست مطابقت کنند جلوگیری میشود.\n # این فهرست فقط روی همین ویکی اثر دارد؛ به فهرست سیاه سراسری نیز مراجعه کنید.\n # برای مستندات به https://www.mediawiki.org/wiki/Extension:SpamBlacklist مراجعه کنید\n #<!-- این سطر را همانگونه که هست رها کنید --> <pre>\n# دستورات به این شکل هستند:\n# * همه چیز از «#» تا پایان سطر به عنوان توضیح در نظر گرفته میشود\n# * هر سطر از متن به عنوان یک دستور از نوع عبارت باقاعده در نظر گرفته میشود که فقط با نام میزبان در نشانی رایانامه مطابقت داده میشود\n\n #</pre> <!-- این سطر را همانگونه که هست رها کنید -->", - "email-whitelist": " #<!-- این سطر را همانگونه که هست رها کنید --> <pre>\n# نشانیهای رایانامه که با این فهرست مطابقت کنند محدود *نمیشوند* حتی اگر\n# با فهرست سیاه مطابقت داشته باشند.\n#\n #</pre> <!-- این سطر را همانگونه که هست رها کنید -->\n# دستورات به این شکل هستند:\n# * همه چیز از «#» تا پایان سطر به عنوان توضیح در نظر گرفته میشود\n# * هر سطر از متن به عنوان یک دستور از نوع عبارت باقاعده در نظر گرفته میشود که فقط با نام میزبان در نشانی رایانامه مطابقت داده میشود", - "spam-blacklisted-email": "نشانی رایانامه موجود در فهرست سیاه", - "spam-blacklisted-email-text": "نشانی رایانامهٔ شما در حال حاضر در فهرست سیاه قرار دارد و نمیتوانید به دیگر کاربران نامه بفرستید.", - "spam-blacklisted-email-signup": "نشانی رایانامه دادهشده در حال حاضر در فهرست سیاه است.", + "email-blacklist": " # از ثبت نام یا ارسال ایمیل توسط آدرسهای ایمیلی که با این فهرست مطابقت کنند جلوگیری میشود.\n # این فهرست فقط روی همین ویکی اثر دارد؛ به فهرست سیاه سراسری نیز مراجعه کنید.\n # برای مستندات به https://www.mediawiki.org/wiki/Extension:SpamBlacklist مراجعه کنید\n #<!-- این سطر را همانگونه که هست رها کنید --> <pre>\n# دستورات به این شکل هستند:\n# * همه چیز از «#» تا پایان سطر به عنوان توضیح در نظر گرفته میشود\n# * هر سطر از متن به عنوان یک دستور از نوع عبارت باقاعده در نظر گرفته میشود که فقط با نام دامنه در آدرس ایمیل مطابقت داده میشود\n\n #</pre> <!-- این سطر را همانگونه که هست رها کنید -->", + "email-whitelist": " #<!-- این سطر را همانگونه که هست رها کنید --> <pre>\n# آدرسهای ایمیلی که با این فهرست مطابقت کنند محدود *نمیشوند* حتی اگر\n# با فهرست سیاه مطابقت داشته باشند.\n#\n #</pre> <!-- این سطر را همانگونه که هست رها کنید -->\n# دستورات به این شکل هستند:\n# * همه چیز از «#» تا پایان سطر به عنوان توضیح در نظر گرفته میشود\n# * هر سطر از متن به عنوان یک دستور از نوع عبارت باقاعده در نظر گرفته میشود که فقط با نام دامنه در آدرس ایمیل مطابقت داده میشود", + "spam-blacklisted-email": "آدرس ایمیل موجود در فهرست سیاه", + "spam-blacklisted-email-text": "آدرس ایمیل شما در حال حاضر در فهرست سیاه قرار دارد و نمیتوانید به دیگر کاربران ایمیل بفرستید.", + "spam-blacklisted-email-signup": "آدرس ایمیل داده شده در حال حاضر در فهرست سیاه است.", "spam-invalid-lines": "{{PLURAL:$1|سطر|سطرهای}} زیر در فهرست سیاه هرزنگاری، عبارات باقاعدهٔ نامجاز {{PLURAL:$1|است|هستند}} و قبل از ذخیره کردن صفحه باید اصلاح {{PLURAL:$1|شود|شوند}}:", - "spam-blacklist-desc": "Regex-based anti-spam tool allowing to blacklist URLs in pages and email addresses for registered users\n\nابزار بر پایهٔ عبارت باقاعده ضدهرزنگاری اجازهٔ فهرست سیاهکردن نشانیهای اینترنتی در صفحات و نشانیهای رایانامه برای کاربران ثبت نام کرده", + "spam-blacklist-desc": "ابزار بر پایهٔ عبارت باقاعده ضدهرزنگاری اجازهٔ افزودن به فهرست سیاه نشانیهای اینترنتی در صفحات و آدرسهای ایمیل برای کاربران ثبت نام کرده را میدهد", "log-name-spamblacklist": "سیاههٔ فهرست سیاه هرزنگاری", "log-description-spamblacklist": "این رویدادها وقوع فهرست سیاه هزنگاری را دنبال میکند.", "logentry-spamblacklist-hit": "$1 در $3 با تلاش در افزودن $4 باعث برخورد به فهرست سیاه هرزنامه شدهاست.", diff --git a/extensions/SpamBlacklist/i18n/he.json b/extensions/SpamBlacklist/i18n/he.json index ad0b910b..f1ea9caf 100644 --- a/extensions/SpamBlacklist/i18n/he.json +++ b/extensions/SpamBlacklist/i18n/he.json @@ -19,5 +19,8 @@ "log-description-spamblacklist": "האירועים האלה עוקבים אחרי הפעלות של רשימה שחורה של ספאם.", "logentry-spamblacklist-hit": "$1 {{GENDER:$1|גרם|גרמה}} לפעולת רשימה שחורה בדף $3 תוך כדי ניסיון להוסיף את הכתובת $4.", "right-spamblacklistlog": "תצוגת יומן רשימה שחורה של ספאם", - "action-spamblacklistlog": "תצוגת יומן רשימה שחורה של ספאם" + "action-spamblacklistlog": "תצוגת יומן רשימה שחורה של ספאם", + "apihelp-spamblacklist-description": "לבדוק URL אחד או יותר אל מול SpamBlacklist.", + "apihelp-spamblacklist-param-url": "URL־ים לבדוק אל מול SpamBlacklist.", + "apihelp-spamblacklist-example-1": "לבדוק שני URL־ים אל מול הרשימה השחורה." } diff --git a/extensions/SpamBlacklist/i18n/ja.json b/extensions/SpamBlacklist/i18n/ja.json index bb6b0a67..6de822e1 100644 --- a/extensions/SpamBlacklist/i18n/ja.json +++ b/extensions/SpamBlacklist/i18n/ja.json @@ -22,5 +22,8 @@ "log-description-spamblacklist": "これらのイベントはスパムブラックリストとの一致を追跡します。", "logentry-spamblacklist-hit": "{{GENDER:$2|$1}} が $3 に $4 を追加しようとした際にスパムブラックリストが発動しました。", "right-spamblacklistlog": "スパムブラックリストを閲覧", - "action-spamblacklistlog": "スパムブラックリスト記録の閲覧" + "action-spamblacklistlog": "スパムブラックリスト記録の閲覧", + "apihelp-spamblacklist-description": "1 件以上の URL についてスパムブラックリストに登録されているか検証します。", + "apihelp-spamblacklist-param-url": "ブラックリストに登録されているか検証する URL です。", + "apihelp-spamblacklist-example-1": "2 件の URL についてブラックリストに登録されているか検証" } diff --git a/extensions/SpamBlacklist/i18n/kk-cyrl.json b/extensions/SpamBlacklist/i18n/kk-cyrl.json index ecadeab4..31642b9a 100644 --- a/extensions/SpamBlacklist/i18n/kk-cyrl.json +++ b/extensions/SpamBlacklist/i18n/kk-cyrl.json @@ -1,10 +1,12 @@ { "@metadata": { "authors": [ - "AlefZet" + "AlefZet", + "Arystanbek" ] }, "spam-blacklist": " # Осы тізімге сәйкес сыртқы URL жайлар бетке үстеуден бұғатталады.\n # Бұл тізім тек мындағы уикиге әсер етеді; тағы да ғаламдық қара тізімді қарап шығыңыз.\n # Құжаттама үшін https://www.mediawiki.org/wiki/Extension:SpamBlacklist бетін қараңыз\n #<!-- бұл жолды болған жағдайымен қалдырыңыз --> <pre>\n#\n# Синтаксисі келесідей:\n# * «#» нышанынан бастап жол аяғына дейінгілерінің бүкілі мәндеме деп саналады\n# * Бос емес әр жол тек URL жайлардың ішіндегі хосттарға сәйкес жүйелі айтылымдың (regex) бөлігі деп саналады\n\n #</pre> <!-- бұл жолды болған жағдайымен қалдырыңыз -->", "spam-whitelist": " #<!-- бұл жолды болған жағдайымен қалдырыңыз --> <pre>\n# Осы тізімге сәйкес сыртқы URL жайлар *бұғатталмайды*,\n# (қара тізімдегі жазбамен бұғатталған болса да).\n#\n# Синтаксисі келесідей:\n# * «#» нышанынан бастап жол аяғына дейінгілерінің бүкілі мәндеме деп саналады\n# * Бос емес әр жол тек URL жайлардың ішіндегі хосттарға сәйкес жүйелі айтылымдың (regex) бөлігі деп саналады\n\n #</pre> <!-- бұл жолды болған жағдайымен қалдырыңыз -->", - "spam-invalid-lines": "Спам қара тізіміндегі келесі {{PLURAL:$1|жолда|жолдарда}} жарамсыз жүйелі {{PLURAL:$1|айтылым|айтылымдар}} бар, және бетті сақтаудың {{PLURAL:$1|бұны|бұларды}} дұрыстау керек." + "spam-invalid-lines": "Спам қара тізіміндегі келесі {{PLURAL:$1|жолда|жолдарда}} жарамсыз жүйелі {{PLURAL:$1|айтылым|айтылымдар}} бар, және бетті сақтаудың {{PLURAL:$1|бұны|бұларды}} дұрыстау керек.", + "log-name-spamblacklist": "Спамдардың қаратізімі журналы" } diff --git a/extensions/SpamBlacklist/i18n/ksh.json b/extensions/SpamBlacklist/i18n/ksh.json index c9bfed71..63f03fef 100644 --- a/extensions/SpamBlacklist/i18n/ksh.json +++ b/extensions/SpamBlacklist/i18n/ksh.json @@ -12,5 +12,13 @@ "spam-blacklisted-email-text": "Ding <i lang=\"en\">e-mail</i>-Addräß es em Momang op dä „schwazze Lėß“ un De kanns dermet kein <i lang=\"en\">e-mail</i> aan ander Metmaacher verschecke.", "spam-blacklisted-email-signup": "Di aanjejovve Addräß för de <i lang=\"en\">e-mail</i> es em Momang op dä „schwazze Lėß“ un kann nit jebruch wääde.", "spam-invalid-lines": "Mer han Fähler en rejolähre Ußdröck jefonge.\n{{PLURAL:$1|De Reih onge schtemmp nit un moß|Di $1 Reije onge schtemme nit un möße|Dat sull}}\nför em Afschpeischere eets en Oodenong jebraat wääde:", - "spam-blacklist-desc": "Met rejolähre Ußdröck jääje der <i lang=\"en\">SPAM<i> — övver en [[MediaWiki:Spam-blacklist|„schwazze Leß“]] un en [[MediaWiki:Spam-whitelist|Leß met Ußnahme dohfun]]." + "spam-blacklist-desc": "Met rejolähre Ußdröck jääje der <i lang=\"en\" xml:lang=\"en\" dir=\"ltr\" title=\"„in der Regel massenhaft übertragene unerwünschte Nachrichten“\">SPAM</i> — övver en [[MediaWiki:Spam-blacklist|„schwazze Leß“]] med <i lang=\"en\" xml:lang=\"en\" dir=\"ltr\" title=\"Uniform Ressource Locator\">URL</i>s en Sigg un <i lang=\"en\" xml:lang=\"en\" dir=\"ltr\" title=\"„de eläktrohnesche Poß“\">e-mail</i>-Adräße för aanjemälldte Metmaacher.", + "log-name-spamblacklist": "Et Logbohch vun de „schwazze Leß“ för der <i lang=\"en\" xml:lang=\"en\" dir=\"ltr\" title=\"in der Regel massenhaft übertragene unerwünschte Nachrichten\">SPAM</i>", + "log-description-spamblacklist": "Heh di Vörjäng verfollje de Träffer en de „schwazze Leß“ jähje der <i lang=\"en\" xml:lang=\"en\" dir=\"ltr\" title=\"„in der Regel massenhaft übertragene unerwünschte Nachrichten“\">SPAM</i>.", + "logentry-spamblacklist-hit": "{{GENDER:$2|Dä|Dat|Dä Metmaacher|De|Dat}} $1 hädd_ene Träffer en de „schwazze Leß“ jähje der <i lang=\"en\" xml:lang=\"en\" dir=\"ltr\" title=\"„in der Regel massenhaft übertragene unerwünschte Nachrichten“\">SPAM</i> op dä Sigg „$3“ ußjelöhß, wi {{GENDER:$2|hä|et|hä|sei|et}} „$4“ doh eren donn wullt.", + "right-spamblacklistlog": "Donn et Logbohch vun de „schwazze Leß“ för der <i lang=\"en\" xml:lang=\"en\" dir=\"ltr\" title=\"in der Regel massenhaft übertragene unerwünschte Nachrichten\">SPAM</i> aanlohre", + "action-spamblacklistlog": "donn et Logbohch vun de „schwazze Leß“ för der <i lang=\"en\" xml:lang=\"en\" dir=\"ltr\" title=\"in der Regel massenhaft übertragene unerwünschte Nachrichten\">SPAM</i> aanlohre", + "apihelp-spamblacklist-description": "Donn <i lang=\"en\" xml:lang=\"en\" dir=\"ltr\" title=\"Uniform Ressource Locators\">URLs</i> jähje de „schwazze Leß“ jähje der <i lang=\"en\" xml:lang=\"en\" dir=\"ltr\" title=\"in der Regel massenhaft übertragene unerwünschte Nachrichten\">SPAM</i> pröhve.", + "apihelp-spamblacklist-param-url": "De <i lang=\"en\" xml:lang=\"en\" dir=\"ltr\" title=\"Uniform Ressource Locators\">URLs</i> zom Pröhve jähje de „schwazze Leß“.", + "apihelp-spamblacklist-example-1": "Donn zwai <i lang=\"en\" xml:lang=\"en\" dir=\"ltr\" title=\"Uniform Ressource Locators\">URLs</i> jähje de „schwazze Leß“ pröhve." } diff --git a/extensions/SpamBlacklist/i18n/lrc.json b/extensions/SpamBlacklist/i18n/lrc.json index daf3a2bb..7a0cbb52 100644 --- a/extensions/SpamBlacklist/i18n/lrc.json +++ b/extensions/SpamBlacklist/i18n/lrc.json @@ -1,9 +1,11 @@ { "@metadata": { "authors": [ - "Bonevarluri" + "Bonevarluri", + "Mogoeilor" ] }, + "spam-blacklisted-email": "تیرنشون انجونامه یایی که ها د نومجا سئ", "log-name-spamblacklist": "پهرستنومه نوم گه سئ اسپم", "right-spamblacklistlog": "دیئن پهرستنومه نوم گه سئ اسپم", "action-spamblacklistlog": "دیئن پهرستنومه نوم گه سئ اسپم" diff --git a/extensions/SpamBlacklist/i18n/mk.json b/extensions/SpamBlacklist/i18n/mk.json index 9bc38739..d45fb8eb 100644 --- a/extensions/SpamBlacklist/i18n/mk.json +++ b/extensions/SpamBlacklist/i18n/mk.json @@ -17,5 +17,8 @@ "log-description-spamblacklist": "Овие настани следат обиди на спам од црниот список.", "logentry-spamblacklist-hit": "$1 стави спам заведен во црниот список $3 при обидот да ја додаде адресата $4.", "right-spamblacklistlog": "Преглед на дневникот за спам од црниот список", - "action-spamblacklistlog": "преглед на дневникот за спам од црниот список" + "action-spamblacklistlog": "преглед на дневникот за спам од црниот список", + "apihelp-spamblacklist-description": "Провери една или повеќе URL-адреси во Црниот список на спам.", + "apihelp-spamblacklist-param-url": "URL-адреси што треба да се проверат во црниот список.", + "apihelp-spamblacklist-example-1": "Провери две URL-адреси во црниот список" } diff --git a/extensions/SpamBlacklist/i18n/mr.json b/extensions/SpamBlacklist/i18n/mr.json index 51eb611f..0d9fe27e 100644 --- a/extensions/SpamBlacklist/i18n/mr.json +++ b/extensions/SpamBlacklist/i18n/mr.json @@ -3,7 +3,8 @@ "authors": [ "Hiteshgotarane", "Kaustubh", - "Rahuldeshmukh101" + "Rahuldeshmukh101", + "संतोष दहिवळ" ] }, "spam-blacklist": " # या यादीशी जुळणारे बाह्य दुवे एखाद्या पानावर दिल्यास ब्लॉक केले जातील.\n # ही यादी फक्त या विकिसाठी आहे, सर्व विकिंसाठीची यादी सुद्धा तपासा.\n # अधिक माहिती साठी पहा https://www.mediawiki.org/wiki/Extension:SpamBlacklist\n #<!-- leave this line exactly as it is --> <pre>\n#\n# रुपरेषा खालीलप्रमाणे:\n# * \"#\" ने सुरु होणारी ओळ शेरा आहे\n# * प्रत्येक रिकामी नसलेली ओळ अंतर्गत URL जुळविणारी regex फ्रॅगमेंट आहे\n\n #</pre> <!-- leave this line exactly as it is -->", diff --git a/extensions/SpamBlacklist/i18n/pt-br.json b/extensions/SpamBlacklist/i18n/pt-br.json index cf78faba..000a1881 100644 --- a/extensions/SpamBlacklist/i18n/pt-br.json +++ b/extensions/SpamBlacklist/i18n/pt-br.json @@ -5,7 +5,8 @@ "Eduardo.mps", "Helder.wiki", "Tuliouel", - "555" + "555", + "He7d3r" ] }, "spam-blacklist": " #<!-- mantenha esta linha exatamente assim --> <pre>\n# URLs externas que coincidam com esta lista serão bloqueadas quando forem\n# adicionadas a uma página.\n# Esta lista refere-se apenas a este wiki. Consulte também a lista-negra global.\n# Veja a documentação em https://www.mediawiki.org/wiki/Extension:SpamBlacklist\n#\n# A sintaxe é a seguinte:\n# * Tudo o que estiver após um \"#\" até o final de uma linha será tido como um comentário\n# * Todas as linhas que não estiverem em branco são um fragmento de expressão \n# regular (regex) que abrangem apenas a URL especificada\n\n #</pre> <!-- mantenha esta linha exatamente assim -->", diff --git a/extensions/SpamBlacklist/i18n/pt.json b/extensions/SpamBlacklist/i18n/pt.json index 1f6403e5..1d5940fc 100644 --- a/extensions/SpamBlacklist/i18n/pt.json +++ b/extensions/SpamBlacklist/i18n/pt.json @@ -5,7 +5,8 @@ "Hamilton Abreu", "Helder.wiki", "Malafaya", - "555" + "555", + "He7d3r" ] }, "spam-blacklist": " # URLs externas que coincidam com esta lista serão bloqueadas quando forem\n # adicionadas a uma página.\n # Esta lista aplica-se apenas a esta wiki. Consulte também a lista-negra global.\n # Veja a documentação em https://www.mediawiki.org/wiki/Extension:SpamBlacklist\n #<!-- mantenha esta linha exatamente assim --> <pre>\n#\n# A sintaxe é a seguinte:\n# * Tudo o que estiver após um \"#\" até o final de uma linha é um comentário\n# * Todas as linhas que não estiverem em branco são um fragmento de expressão regular\n# (regex) de busca, que só poderão coincidir com hosts na URL\n\n #</pre> <!-- mantenha esta linha exatamente assim -->", diff --git a/extensions/SpamBlacklist/i18n/qqq.json b/extensions/SpamBlacklist/i18n/qqq.json index 61a755eb..a0e0c48b 100644 --- a/extensions/SpamBlacklist/i18n/qqq.json +++ b/extensions/SpamBlacklist/i18n/qqq.json @@ -6,7 +6,8 @@ "SPQRobin", "Shirayuki", "Siebrand", - "The Evil IP address" + "The Evil IP address", + "Umherirrender" ] }, "spam-blacklist": "See also: [[MediaWiki:spam-whitelist]] and [[MediaWiki:captcha-addurl-whitelist]]. You can translate the text, including 'Leave this line exactly as it is'. Some lines of this messages have one (1) leading space.", @@ -17,10 +18,13 @@ "spam-blacklisted-email-text": "Text of errorpage when trying to send an e-mail with a blacklisted e-mail address", "spam-blacklisted-email-signup": "Error when trying to create an account with an invalid e-mail address", "spam-invalid-lines": "Used as an error message.\n\nThis message is followed by a list of bad lines.\n\nParameters:\n* $1 - the number of bad lines", - "spam-blacklist-desc": "{{desc|name=Spam Blacklist|url=http://www.mediawiki.org/wiki/Extension:SpamBlacklist}}", + "spam-blacklist-desc": "{{desc|name=Spam Blacklist|url=https://www.mediawiki.org/wiki/Extension:SpamBlacklist}}", "log-name-spamblacklist": "Name of log that appears on [[Special:Log]].", "log-description-spamblacklist": "Description of spam blacklist log", "logentry-spamblacklist-hit": "Log entry that is created when a user adds a link that is blacklisted on the spam blacklist.\n\n{{logentry}}\nAdditional parameters:\n* $4 - the URL the user tried to add", "right-spamblacklistlog": "{{doc-right|spamblacklistlog}}", - "action-spamblacklistlog": "{{doc-action|spamblacklistlog}}" + "action-spamblacklistlog": "{{doc-action|spamblacklistlog}}", + "apihelp-spamblacklist-description": "{{doc-apihelp-description|spamblacklist}}", + "apihelp-spamblacklist-param-url": "{{doc-apihelp-param|spamblacklist|url}}", + "apihelp-spamblacklist-example-1": "{{doc-apihelp-example|spamblacklist}}" } diff --git a/extensions/SpamBlacklist/i18n/roa-tara.json b/extensions/SpamBlacklist/i18n/roa-tara.json index 19c3dcaf..ea757789 100644 --- a/extensions/SpamBlacklist/i18n/roa-tara.json +++ b/extensions/SpamBlacklist/i18n/roa-tara.json @@ -17,5 +17,8 @@ "log-description-spamblacklist": "Ste evende tracciane le trasute jndr'à l'elenghe gnure de le rummate.", "logentry-spamblacklist-hit": "$1 ave fatte 'na trasute jndr'à l'elenghe gnure de le rummate sus a $3 pruvanne a aggiungere $4.", "right-spamblacklistlog": "'Ndruche l'archivije de l'elenghe gnure de le rummate", - "action-spamblacklistlog": "'ndruche l'archivije de l'elenghe gnure d'u rummate" + "action-spamblacklistlog": "'ndruche l'archivije de l'elenghe gnure d'u rummate", + "apihelp-spamblacklist-description": "Valide une o cchiù URL condre 'a SpamBlackList.", + "apihelp-spamblacklist-param-url": "URL da validà condre 'a lista gnore.", + "apihelp-spamblacklist-example-1": "Verifiche doje URL condre 'a lista gnore" } diff --git a/extensions/SpamBlacklist/i18n/ru.json b/extensions/SpamBlacklist/i18n/ru.json index dbaabb1b..005da121 100644 --- a/extensions/SpamBlacklist/i18n/ru.json +++ b/extensions/SpamBlacklist/i18n/ru.json @@ -24,5 +24,6 @@ "log-description-spamblacklist": "Это журнал, отслеживающий срабатывание спам-листа.", "logentry-spamblacklist-hit": "$1 вызвал срабатывание спам-листа на странице $3 из-за попытки добавить $4.", "right-spamblacklistlog": "просмотр журнала спам-листа", - "action-spamblacklistlog": "просмотр журнала спам-листа" + "action-spamblacklistlog": "просмотр журнала спам-листа", + "apihelp-spamblacklist-param-url": "URL-адреса для проверки в чёрном списке." } diff --git a/extensions/SpamBlacklist/i18n/sv.json b/extensions/SpamBlacklist/i18n/sv.json index abde0a1a..f83f208d 100644 --- a/extensions/SpamBlacklist/i18n/sv.json +++ b/extensions/SpamBlacklist/i18n/sv.json @@ -23,5 +23,8 @@ "log-description-spamblacklist": "Här visas händelser som utlöst spamfiltret", "logentry-spamblacklist-hit": "{{GENDER:$2|$1}} utlöste spamfiltret vid redigering av $3 genom att försöka lägga till $4.", "right-spamblacklistlog": "Visa svartlistningslogg för spam", - "action-spamblacklistlog": "visa svartlistningsloggen för spam" + "action-spamblacklistlog": "visa svartlistningsloggen för spam", + "apihelp-spamblacklist-description": "Validera en eller flera URL:er mot SpamBlacklist.", + "apihelp-spamblacklist-param-url": "URL:er att validera mot svartlistan.", + "apihelp-spamblacklist-example-1": "Kontrollera två URL:er mot svartlistan" } diff --git a/extensions/SpamBlacklist/i18n/zh-hans.json b/extensions/SpamBlacklist/i18n/zh-hans.json index 0dafaac4..9ef6bf8a 100644 --- a/extensions/SpamBlacklist/i18n/zh-hans.json +++ b/extensions/SpamBlacklist/i18n/zh-hans.json @@ -8,21 +8,25 @@ "Mys 721tx", "PhiLiP", "Supaiku", - "乌拉跨氪" + "乌拉跨氪", + "Yfdyh000" ] }, - "spam-blacklist": " #<!-- 请完整地保留此行 --> <pre>\n# 当加入的外部URLs匹配该表时则会被禁止。\n# 该表只会影响本wiki项目;请同时参阅全域黑名单。\n# 注解请见 https://www.mediawiki.org/wiki/Extension:SpamBlacklist\n#\n# 语法如下:\n# * 由“#”开头的每行均为注释\n# * 非空白行为正则表达式片段,其只与内含该片段的URLs匹配\n\n #</pre> <!-- 请完整地保留此行 -->", - "spam-whitelist": " #<!-- 请完整地保留此行 --> <pre>\n# 与该表匹配的URLs,即使已被黑名单的规则禁止也*不会*被封禁。\n#\n# 语法如下:\n# * 由“#”开头的每行均为注释\n# * 非空白行为正则表达式片段,其只与内含该片段的URLs匹配\n\n #</pre> <!-- 请完整地保留此行 -->", + "spam-blacklist": " #<!-- 请完整地保留此行 --> <pre>\n# 当加入的外部URL匹配该表时则会被禁止。\n# 该表只会影响本wiki项目;请同时参阅全域黑名单。\n# 注解请见 https://www.mediawiki.org/wiki/Extension:SpamBlacklist\n#\n# 语法如下:\n# * 由“#”开头的每行均为注释\n# * 非空白行为正则表达式片段,其只与内含该片段的URL匹配\n\n #</pre> <!-- 请完整地保留此行 -->", + "spam-whitelist": " #<!-- 请完整地保留此行 --> <pre>\n# 与该表匹配的URL,即使已被黑名单的规则禁止也*不会*被封禁。\n#\n# 语法如下:\n# * 由“#”开头的每行均为注释\n# * 非空白行为正则表达式片段,其只与内含该片段的URL匹配\n\n #</pre> <!-- 请完整地保留此行 -->", "email-blacklist": " #<!-- 请完整地保留此行 --> <pre>\n# 与该表匹配的电子邮件地址将被禁止注册及发送邮件\n# 该表只会影响本wiki项目;请同时参阅全域黑名单。\n# 注解请见 https://www.mediawiki.org/wiki/Extension:SpamBlacklist\n#\n# 语法如下:\n# * 由“#”开头的每行均为注释\n# * 非空白行为正则表达式片段,其只与内含该片段的电子邮件地址匹配\n\n #</pre> <!-- 请完整地保留此行 -->", "email-whitelist": " #<!-- 请完整地保留此行 --> <pre>\n# 与该表匹配的电子邮件地址,即使已被黑名单的规则禁止也*不会*被封禁。\n#\n# 格式如下:\n# * 由“#”开头的每行均为注释\n# * 非空白行为正则表达式片段,其只与内含该片段的电子邮件地址匹配\n\n #</pre> <!-- 请完整地保留此行 -->", "spam-blacklisted-email": "黑名单中的电子邮件地址", "spam-blacklisted-email-text": "您的电子邮件地址目前已被列入黑名单以禁止您给其他用户发送邮件。", "spam-blacklisted-email-signup": "所给电邮地址已被列入黑名单以禁止使用。", "spam-invalid-lines": "下列垃圾链接黑名单存在{{PLURAL:$1|一行|多行}}无效的正则表示式,请在保存前修正:", - "spam-blacklist-desc": "基于正则表达式的反垃圾工具允许将页面URLs及注册用电子邮件地址列入黑名单", + "spam-blacklist-desc": "基于正则表达式的反垃圾工具允许将页面URL及注册用电子邮件地址列入黑名单", "log-name-spamblacklist": "垃圾链接黑名单日志", "log-description-spamblacklist": "这个列表跟踪垃圾链接黑名单的触发。", "logentry-spamblacklist-hit": "{{GENDER:$2|$1}}在$3上试图加入$4,触发了垃圾链接黑名单。", "right-spamblacklistlog": "查看垃圾链接黑名单日志", - "action-spamblacklistlog": "查看垃圾链接黑名单日志" + "action-spamblacklistlog": "查看垃圾链接黑名单日志", + "apihelp-spamblacklist-description": "验证一个或多个URL是否触发SpamBlacklist。", + "apihelp-spamblacklist-param-url": "要验证是否触发黑名单的URL。", + "apihelp-spamblacklist-example-1": "检查两个URL是否触发黑名单" } diff --git a/extensions/SpamBlacklist/i18n/zh-hant.json b/extensions/SpamBlacklist/i18n/zh-hant.json index a0ca2d32..c76d7b5a 100644 --- a/extensions/SpamBlacklist/i18n/zh-hant.json +++ b/extensions/SpamBlacklist/i18n/zh-hant.json @@ -15,8 +15,8 @@ "email-blacklist": " #<!-- 請勿更動此行 --> <pre>\n# 任何註冊或送出的 Email 位址於此清單之中將會被封鎖。\n# 此清單有效範圍僅在本 Wiki,詳情請參考全域封鎖清單。\n# 相關文件請參考 https://www.mediawiki.org/wiki/Extension:SpamBlacklist\n#\n# 語法格式如下:\n# * 任何以 \"#\" 字元開頭的行皆為註解\n# * 任何非空白的行會被作為正規表示法用來比對 Email 位址中的主機名稱\n #</pre> <!-- 請勿更動此行 -->", "email-whitelist": " #<!-- 請勿更動此行 --> <pre>\n# 任何 Email 位址於此清單中將 *不* 會被封鎖\n# 即使已經被加入封鎖清單當中。\n#\n# 語法格式如下:\n# * 任何以 \"#\" 字元開頭的行皆為註解\n# * 任何非空白的行會被作為正規表示法用來比對 Email 位址中的主機名稱\n #</pre> <!-- 請勿更動此行 -->", "spam-blacklisted-email": "已列入封鎖清單的 Email 位址", - "spam-blacklisted-email-text": "您的電子郵件位址目前已被列入封鎖清單,以防止您傳送信件給其他使用者。", - "spam-blacklisted-email-signup": "提供的電子郵件位址目前已被列入封鎖清單,無法使用。", + "spam-blacklisted-email-text": "您的電子郵件地址目前已被列入封鎖清單,以防止您傳送郵件給其他使用者。", + "spam-blacklisted-email-signup": "提供的電子郵件地址目前已被列入封鎖清單,無法使用。", "spam-invalid-lines": "下列濫用的封鎖清單中有{{PLURAL:$1|一行|多行}}使用了無效的正規表示法,須修正後才可儲存此頁面:", "spam-blacklist-desc": "以正規表示法為基礎的防濫用工具,可封鎖頁面中的 URL 及已註冊使用者的 Email 地址。", "log-name-spamblacklist": "濫用封鎖日誌", |