ਮੌਡਿਊਲ:Protected page text/config
ਦਿੱਖ
Documentation for this module may be created at ਮੌਡਿਊਲ:Protected page text/config/doc
return {
usergroups = {
["interface-admin"] = "[[Wikipedia:Interface administrators|interface administrator]]",
sysop = "[[Wikipedia:Administrators|administrator]]",
templateeditor = "[[Wikipedia:Template editors|template editor]]",
extendedconfirmed = "[[Wikipedia:Extended confirmed|extended confirmed user]]",
autoconfirmed = "[[Wikipedia:Autoconfirmed|autoconfirmed user]]",
autoconfirmed = "[[Wikipedia:Confirmed|confirmed user]]",
user = "[[Wikipedia:Why create an account?|logged in users]]",
extendedmover = "[[Wikipedia:Page mover|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 [[Wikipedia:Protection policy|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 [[MediaWiki:Title blacklist|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|{{PLURAL:{{{pages|}}}|a cascade-protected page|multiple cascade protected pages}}]], 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 [[mw:Manual:Interface/{{PAGENAME}}|mediawiki.org]] or [[translatewiki:{{FULLPAGENAME}}/qqq|translatewiki.net]]."
}
},
["sysop"] = {
why = {
"MediaWiki pages contain messages and configurations that are displayed in the [[user interface]] on Wikipedia. They may be documented on [[mw:Manual:Interface/{{PAGENAME}}|mediawiki.org]] or [[translatewiki:{{FULLPAGENAME}}/qqq|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, [[Special:UserLogin/signup|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, [[Special:UserLogin/signup|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 = {
"[[{{TALKPAGENAME:$3}}|Discuss this page with others.]]",
"[[Help:Introduction|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."
}
}
}
}