mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TitleBlacklist
synced 2024-12-18 08:31:01 +00:00
cba4d461b9
Update matchFunction() to match the new format of responses. Remove custom error message from process(), it's worse than the default. Bug: T229532 Depends-On: I3b9c4fefc0869ef7999c21cef754434febd852ec Change-Id: Ibeae79c95557a7af699716c9d921f34c310bee6d
26 lines
2.4 KiB
JSON
26 lines
2.4 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": []
|
|
},
|
|
"action-tboverride": "override the title or username blacklist",
|
|
"action-tboverride-account": "override the username blacklist",
|
|
"action-titleblacklistlog": "view the title blacklist log",
|
|
"log-name-titleblacklist": "Title blacklist log",
|
|
"log-description-titleblacklist": "These events track title blacklist hits.",
|
|
"logentry-titleblacklist-hit-username": "$1 {{GENDER:$2|caused}} a title blacklist hit when trying to create account $3 matching $4.",
|
|
"titleblacklist-desc": "Allows administrators to forbid creation of pages and user accounts per a [[MediaWiki:Titleblacklist|blacklist]] and [[MediaWiki:Titlewhitelist|whitelist]]",
|
|
"titleblacklist": "# This is a title blacklist. Titles and users that match a regular expression here cannot be created.\n# Use \"#\" for comments.\n# This is case insensitive by default",
|
|
"titlewhitelist": "# This is a title whitelist. Use \"#\" for comments.\n# This is case insensitive by default",
|
|
"titleblacklist-forbidden-edit": "The title \"$2\" has been banned from creation.\nIt matches the following blacklist entry: <code>$1</code>",
|
|
"titleblacklist-forbidden-move": "\"$2\" cannot be moved to \"$3\", because the title \"$3\" has been banned from creation.\nIt matches the following blacklist entry: <code>$1</code>",
|
|
"titleblacklist-forbidden-upload": "The filename \"$2\" has been banned from creation.\nIt matches the following blacklist entry: <code>$1</code>",
|
|
"titleblacklist-forbidden-new-account": "The user name \"$2\" has been banned from creation.\nIt matches the following blacklist entry: <code>$1</code>",
|
|
"titleblacklist-invalid": "The following {{PLURAL:$1|line|lines}} in the title blacklist {{PLURAL:$1|is|are}} invalid;\nplease correct {{PLURAL:$1|it|them}} before saving:",
|
|
"titleblacklist-override": "Over-ride the title blacklist if it matches",
|
|
"titleblacklist-override-help": "Users with sufficient privileges can set this to ignore the title blacklist checks.",
|
|
"titleblacklist-warning": "<strong>Warning: This page can only be edited by administrators and other users with the <code>tboverride</code> right because it matches the following title blacklist entry:</strong><br /><code>$1</code>",
|
|
"right-tboverride": "Override the title or username blacklist",
|
|
"right-tboverride-account": "Override the username blacklist",
|
|
"right-titleblacklistlog": "View title blacklist log"
|
|
}
|