Module:Protected page text/config

return {

usergroups = {

["interface-admin"] = "interface administrator",

sysop = "administrator",

templateeditor = "template editor",

extendedconfirmed = "extended confirmed user",

autoconfirmed = "autoconfirmed user",

autoconfirmed = "confirmed user",

user = "logged in users",

extendedmover = "page mover"

},

usergrouparticles = {

sysop = "an",

templateeditor = "a",

extendedconfirmed = "an",

autoconfirmed = "an",

extendedmover = "a"

},

lockbox = {

editprotected = {"sysop"},

templateeditor = {"templateeditor", "sysop"},

extendedconfirmed = {"extendedconfirmed", "templateeditor", "sysop"},

editsemiprotected = {"autoconfirmed", "confirmed", "extendedconfirmed", "templateeditor", "sysop"},

tboverride = {"sysop", "templateeditor", "extendedmover"},

editinterface = {"sysop", "interface-admin"},

editsitejson = {"sysop", "interface-admin"},

editsitecss = {"interface-admin"},

editsitejs = {"interface-admin"},

edituserjson = {"sysop", "interface-admin"},

editusercss = {"interface-admin"},

edituserjs = {"interface-admin"}

},

protectedpagetext = {

default = {

message = "This page is protected so that only $1 can $2 it."

}

},

titleblacklist = {

default = {

icon = "Template-protection-shackle.svg",

iconnotexists = "Create-protection-shackle.svg",

message = "This page is on the title blacklist, thus only $1 can $2 it.",

why = {

"Title blacklisting is used when it is necessary to protect a group of titles, and it would be infeasible to manually protect them all."

},

whynotexists = {

"Title blacklisting is used when a group of undesired titles are created and it would be infeasible to manually protect them all."

}

}

},

cascade = {

default = {

icon = "Cascade-protection-shackle.svg",

message = "This page is transcluded in Wikipedia:Cascade protection, thus only $1 can $2 it."

}

},

customcssjsjson = {

["interface-admin"] = {

icon = "Interface-protection-shackle.svg"

},

default = {

icon = "Full-protection-shackle-block.svg",

iconnotexists = "Create-protection-shackle.svg",

message = "This user page is protected so that only $1 (in addition to {{ROOTPAGENAME}}) can $2 it.",

why = {

"Certain pages contain styling and code that affects the appearance and behavior of a particular user account.",

"As a security precaution, only administrators can edit JSON pages, while interface administrators can edit CSS and JS pages."

}

}

},

interface = {

["interface-admin"] = {

why = {

"Sitewide CSS and JavaScript pages contain styling and code that affects the whole site. They may be documented on mediawiki.org or translatewiki.net."

}

},

["sysop"] = {

why = {

"MediaWiki pages contain messages and configurations that are displayed in the user interface on Wikipedia. They may be documented on mediawiki.org or translatewiki.net."

}

},

default = {

message = "This MediaWiki page is protected so that only $1 can $2 it.",

why = {

"As a security precaution, only $1 generally can edit these pages."

},

what = {

"{{#ifexist:{{TALKPAGENAME}}/sandbox|This interface page has a sandbox page, which may be edited by anyone.}}"

}

}

},

default = {

["interface-admin"] = {

icon = "Interface-protection-shackle.svg"

},

["sysop"] = {

icon = "Full-protection-shackle.svg"

},

["templateeditor"] = {

icon = "Template-protection-shackle.svg",

iconnotexists = "Template-protection-shackle.svg",

},

["extendedconfirmed"] = {

icon = "Extended-protection-shackle.svg",

iconnotexists = "Extended-protection-shackle.svg",

what = {

"If you are not logged in, make an account. If you are logged in, wait until your account is thirty days old and has made at least 500 edits."

}

},

["autoconfirmed"] = {

icon = "Semi-protection-shackle.svg",

iconnotexists = "Semi-protection-shackle.svg",

what = {

"If you are not logged in, make an account. If you are logged in, wait until your account is four days old and has made at least ten edits."

}

},

default = {

icon = "Full-protection-shackle-block.svg",

iconnotexists = "Create-protection-shackle.svg",

message = "This page is protected so that only $1 can $2 it.",

what = {

"Discuss this page with others.",

"Find out more on how to get started with editing Wikipedia.",

"If you wrote any text, please save it temporarily to your device until you can $2 this page."

}

}

}

}