Extension:CategoryLockdown
More actions
Template:Page security extension disclaimer
{{#switch:<translate></translate> | = {{#ifeq:stable|unmaintained|{{#ifeq:|Extension|Lua error: callParserFunction: function "#translation" was not found.}}}} {{#if: | Template:Ptag }}
{{#if:| |{{#ifeq:|nocats||{{#if:{{#translation:}}||}}}} }} {{#if:user rights| }} {{#if:Restrict permissions by category and group| }} {{#if:Sophivorus | }} {{#if: | }} {{#if:Lua error: callParserFunction: function "#translation" was not found.| }} {{#if:| }} {{#if:| |{{#ifeq:|nocats||{{#if:{{#translation:}}||}}}} }} {{#if:Lua error: callParserFunction: function "#translation" was not found.| }} {{#if:No| }} {{#if:Lua error: callParserFunction: function "#translation" was not found.| }} {{#if:| }} {{#ifeq:|nocats||Lua error: callParserFunction: function "#translation" was not found.}} {{#if: {{#ifexist:Help:Extension:CategoryLockdown|yes}} | }} {{#if:[1]| }} {{#if:| }} {{#if:{{#if:|y|Lua error: callParserFunction: function "#translation" was not found.}}| }} {{#if:| }} {{#if:{{#if:|y|Lua error: callParserFunction: function "#translation" was not found.}}| }} {{#if:| }} Lua error: callParserFunction: function "#translation" was not found. {{#if:| }} {{#if:| }} {{#if:Lua error: callParserFunction: function "#translation" was not found.| <td title="<translate nowrap> This only includes downloads from Special:ExtensionDistributor. Other download methods such as git or bundled extensions are not included.</translate>"><translate> Quarterly downloads</translate> }} {{#if:Lua error: callParserFunction: function "#translation" was not found.| }} {{#if:{{#if:Lua error: callParserFunction: function "#translation" was not found.||n}}|| }}{{#if:{{#ifeq:|nocats |no usage |{{#ifeq:| | |no usage }} {{#ifeq:|nousage |no usage }} }} || }} {{#if:| }} {{#if: | }} {{#if: | }}| [[File:{{#ifeq: stable |unstable
|OOjs UI icon alert-invert.svg |OOjs UI icon advanced{{#ifeq:stable|beta||-invert}}.svg }}|link=Special:MyLanguage/Template:Extension#Content|{{#switch:{{#if:||{{#if:{{#ifeq:|en |{{#ifeq:{{#titleparts:extension:categorylockdown||-1}}|en | }} | }}|{{#ifeq:|en |{{#ifeq:{{#titleparts:extension:categorylockdown||-1}}|en | }} |
}}|⧼lang⧽}}}}
|aeb|aeb-arab|aic|ar|arc|arq|ary|arz|azb|bcc|bgn|bqi|bqp|ckb|ckb-arab|dv|en-rtl|fa|fa-af|glk|ha-arab|haz|he|khw|kk-arab|kk-cn|ks|ks-arab|ku-arab|lki|lrc|luz|mzn|nqo|ota|phn|pnb|prd|prs|ps|sd|sdh|skr|skr-arab|tg-arab|tly|ug|ug-arab|ur|uz-arab|xpu|ydd|yi
={{#ifeq:|-||{{#ifeq:right|right|right|rtl}}}}
|#default
={{#ifeq:|-||{{#ifeq:left|left|left|ltr}}}}
}}|40px]] {{#if:|{{{name}}}|}} | }}{{#if:<translate> Release status:</translate> |<translate> Release status:</translate> |<translate> Release status:</translate>}}{{#ifeq:Extension status| | }} {{#switch: stable |unmaintained=<translate> unmaintained</translate> |unstable=<translate> unstable</translate> |experimental=<translate> experimental</translate> |beta=<translate> beta</translate> |stable=<translate> stable</translate> |#default=<translate> unknown</translate> }}{{#ifeq:|nocats||[[Category:{{#switch: stable |unstable|experimental|unmaintained|stable = stable extensions |beta = beta status extensions |unknown = extensions with unknown status |#default = extensions with invalid status }}{{#translation:}}]]}} |
|
|---|---|
| [[File:{{{image}}}|300px]] | |
{{#ifeq:Template:Extension|
| }}{{#if:<translate> Implementation</translate> |<translate> Implementation</translate> |<translate> Implementation</translate>}}{{#ifeq:Template:Extension| |}} |
Lua error: callParserFunction: function "#translation" was not found.|{{#ifeq:|nocats||Lua error: callParserFunction: function "#translation" was not found.}} |
{{#ifeq:Template:Extension|
| }}{{#if:<translate> Description</translate> |<translate> Description</translate> |<translate> Description</translate>}}{{#ifeq:Template:Extension| |}} |
Restrict permissions by category and group |
{{#ifeq:Template:Extension|
| }}{{#if:<translate> Author(s)</translate> |<translate> Author(s)</translate> |<translate> Author(s)</translate>}}{{#ifeq:Template:Extension| |}} |
{{#if: Sophivorus |{{#ifeq: Sophivorus|Sophivorus||{{{author}}} (}}Sophivorustalk{{#ifeq: Sophivorus|Sophivorus||)}}|{{{author}}}}} |
{{#ifeq:Template:Extension|
| }}{{#if:<translate> Maintainer(s)</translate> |<translate> Maintainer(s)</translate> |<translate> Maintainer(s)</translate>}}{{#ifeq:Template:Extension| |}} |
{{#ifexist:User:{{{maintainer}}}|[[User:{{{maintainer}}}|{{{maintainer}}}]][[User talk:{{{maintainer}}}|talk]]|{{{maintainer}}}}} |
{{#ifeq:Template:Extension|
| }}{{#if:<translate> Latest version</translate> |<translate> Latest version</translate> |<translate> Latest version</translate>}}{{#ifeq:Template:Extension| |}} |
Lua error: callParserFunction: function "#translation" was not found.{{#if:2021-12-13| (2021-12-13)}} |
{{#ifeq:Template:Extension|
| }}{{#if:<translate> Latest preview version</translate> |<translate> Latest preview version</translate> |<translate> Latest preview version</translate>}}{{#ifeq:Template:Extension| |}} |
{{#if:| ({{{update preview}}})}} |
{{#ifeq:Compatibility|
| }}{{#if:<translate> Compatibility policy</translate> |<translate> Compatibility policy</translate> |<translate> Compatibility policy</translate>}}{{#ifeq:Compatibility| |}} |
{{#switch:{{{compatibility policy}}}|master=<translate> Master maintains backward compatibility.</translate>{{#ifeq:|nocats||{{#if:{{#translation:}}||}}}}|main=<translate> Main branch maintains backward compatibility.</translate>{{#ifeq:|nocats||{{#if:{{#translation:}}||}}}}|rel=<translate> Snapshots releases along with MediaWiki.</translate> <translate> Master is not backward compatible.</translate>{{#ifeq:|nocats||{{#if:{{#translation:}}||}}}}|ltsrel= <translate> For every [[<tvar name=1>Special:MyLanguage/Release_notes</tvar>|MediaWiki release]] that is a Long Term Support release there is a corresponding branch in the extension.</translate>{{#ifeq:|nocats||{{#if:{{#translation:}}||}}}}|#default=<translate> invalid</translate>{{#ifeq:|nocats||{{#if:{{#translation:}}||}}}}}} |
{{#ifeq:Template:Extension|
| }}{{#if:MediaWiki |MediaWiki |MediaWiki}}{{#ifeq:Template:Extension| |}} |
Lua error: callParserFunction: function "#translation" was not found. |
{{#ifeq:Template:Extension|
| }}{{#if:PHP |PHP |PHP}}{{#ifeq:Template:Extension| |}} |
Lua error: callParserFunction: function "#translation" was not found. |
{{#ifeq:Template:Extension|
| |}} |
{{#switch:No|yes|Yes=<translate> Yes</translate>|no|No=<translate> No</translate>|No}} |
{{#ifeq:Composer|
| |}} |
Lua error: callParserFunction: function "#translation" was not found. |
{{#ifeq:Template:Extension|
| }}{{#if:<translate> Tables</translate> |<translate> Tables</translate> |<translate> Tables</translate>}}{{#ifeq:Template:Extension| |}} |
{{#ifeq:|
| }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table1}}} table|{{#if:{{{table1}}} |{{{table1}}} |{{{table1}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table1}}} table| ]]{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table2}}} table|{{#if:{{{table2}}} |{{{table2}}} |{{{table2}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table2}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table3}}} table|{{#if:{{{table3}}} |{{{table3}}} |{{{table3}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table3}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table4}}} table|{{#if:{{{table4}}} |{{{table4}}} |{{{table4}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table4}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table5}}} table|{{#if:{{{table5}}} |{{{table5}}} |{{{table5}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table5}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table6}}} table|{{#if:{{{table6}}} |{{{table6}}} |{{{table6}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table6}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table7}}} table|{{#if:{{{table7}}} |{{{table7}}} |{{{table7}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table7}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table8}}} table|{{#if:{{{table8}}} |{{{table8}}} |{{{table8}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table8}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table9}}} table|{{#if:{{{table9}}} |{{{table9}}} |{{{table9}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table9}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table10}}} table|{{#if:{{{table10}}} |{{{table10}}} |{{{table10}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table10}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table11}}} table|{{#if:{{{table11}}} |{{{table11}}} |{{{table11}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table11}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table12}}} table|{{#if:{{{table12}}} |{{{table12}}} |{{{table12}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table12}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table13}}} table|{{#if:{{{table13}}} |{{{table13}}} |{{{table13}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table13}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table14}}} table|{{#if:{{{table14}}} |{{{table14}}} |{{{table14}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table14}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table15}}} table|{{#if:{{{table15}}} |{{{table15}}} |{{{table15}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table15}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table16}}} table|{{#if:{{{table16}}} |{{{table16}}} |{{{table16}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table16}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table17}}} table|{{#if:{{{table17}}} |{{{table17}}} |{{{table17}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table17}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table18}}} table|{{#if:{{{table18}}} |{{{table18}}} |{{{table18}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table18}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table19}}} table|{{#if:{{{table19}}} |{{{table19}}} |{{{table19}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table19}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table20}}} table|{{#if:{{{table20}}} |{{{table20}}} |{{{table20}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table20}}} table| ]]}} |
{{#ifeq:Template:Extension|
| }}{{#if:<translate> License</translate> |<translate> License</translate> |<translate> License</translate>}}{{#ifeq:Template:Extension| |}} |
Lua error: callParserFunction: function "#translation" was not found. |
| <translate> Download</translate> | {{#if: {{#if: |
{{#switch:
| <translate> Download extension</translate>
{{#if: || }}|svn= |gerrit= |gerritonly= }}{{#ifeq:|nocats| |[[Category:Extensions in Wikimedia version control{{#translation:}}]]}}|{{#if: |
{{#switch:
| <translate> Download extension</translate>
{{#if: || }}|svn= |gerrit= |gerritonly= }}{{#ifeq:|nocats| |[[Category:Extensions in Wikimedia version control{{#translation:}}]]}}|{{#if:| {{#if: |
{{#switch:
| [[Special:ExtensionDistributor/{{{repo}}}|<translate> Download extension</translate>]]
{{#if: ||
|svn= |gerrit= |gerritonly= }}{{#ifeq:|nocats| |[[Category:Extensions in Wikimedia version control{{#translation:}}]]}}|<translate> No link</translate>}}}}{{#if:|{{{readme}}}}}{{#if:| {{{changelog}}}}} |
{{#ifeq:Template:Extension|
| }}{{#if:<translate> Help</translate> |<translate> Help</translate> |<translate> Help</translate>}}{{#ifeq:Template:Extension| |}} |
{{#if: | {{{help}}} | {{#ifeq:Help:Extension:CategoryLockdown|
| }}[[Special:MyLanguage/Help:Extension:CategoryLockdown|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Help|Help:}}Extension:CategoryLockdown/Page display title/en |{{#if:
|{{#if:
|
|{{ Template:TNTN | nsp = 0 }}
}}
|{{ Template:TNTN }}
}}
|{{#if:
|{{#if:Extension:CategoryLockdown
|Extension:CategoryLockdown
|Help:Extension:CategoryLockdown
}}
|Help:Extension:CategoryLockdown
}}
}}}}]]{{#ifeq:Help:Extension:CategoryLockdown| |}} }} |
{{#ifeq:Template:Extension|
| }}{{#if:<translate> Example</translate> |<translate> Example</translate> |<translate> Example</translate>}}{{#ifeq:Template:Extension| |}} |
[2] |
|
{{#ifeq:Template:Extension|
| }}{{#if:<translate> Namespace</translate> |<translate> Namespace</translate> |<translate> Namespace</translate>}}{{#ifeq:Template:Extension| |}} |
|
|
{{#ifeq:Template:Extension|
| }}{{#if:<translate> Parameters</translate> |<translate> Parameters</translate> |<translate> Parameters</translate>}}{{#ifeq:Template:Extension| |}}
{{#if:|{{{parameters}}}|Lua error: callParserFunction: function "#translation" was not found.}} |
|
|
{{#ifeq:Template:Extension|
| }}{{#if:<translate> Tags</translate> |<translate> Tags</translate> |<translate> Tags</translate>}}{{#ifeq:Template:Extension| |}}
{{{tags}}} |
|
|
{{#ifeq:Template:Extension|
| }}{{#if:<translate> Added rights</translate> |<translate> Added rights</translate> |<translate> Added rights</translate>}}{{#ifeq:Template:Extension| |}} {{#if:|{{{rights}}}|Lua error: callParserFunction: function "#translation" was not found.}} {{#ifeq:|nocats||{{#if:|[[Category:Extensions which add rights{{#translation:}}]]|}} }} |
|
|
{{#ifeq:Template:Extension|
| }}{{#if:Services defined |Services defined |Services defined}}{{#ifeq:Template:Extension| |}}
{{#if:|}}
|
|
|
{{#ifeq:Template:Extension|
| }}{{#if:<translate> Hooks provided</translate> |<translate> Hooks provided</translate> |<translate> Hooks provided</translate>}}{{#ifeq:Template:Extension| |}} {{#if:|
}}Template:Endplainlist
{{{1}}} |
|
| {{{compatibility}}} | |
| Lua error: callParserFunction: function "#translation" was not found. | |
| <translate> Public wikis using</translate> | Lua error: callParserFunction: function "#translation" was not found. |
|
{{#if: |<translate> [[<tvar name=1>translatewiki:Special:Translate/{{{translate}}}</tvar>|Translate the <tvar name=2></tvar> extension]]</translate>
|<translate> [[<tvar name=1>translatewiki:Special:Translate/ext-</tvar>|Translate the <tvar name=2></tvar> extension]] if it is available at translatewiki.net</translate>
}} |
|
{{#ifeq:MediaWiki-Vagrant|
| }}{{#if:<translate> Vagrant role</translate> |<translate> Vagrant role</translate> |<translate> Vagrant role</translate>}}{{#ifeq:MediaWiki-Vagrant| |}} |
{{{vagrant-role}}} |
|
{{#ifeq:Phabricator| | }}{{#if:<translate> Issues</translate> |<translate> Issues</translate> |<translate> Issues</translate>}}{{#ifeq:Phabricator| |}} |
[[phab:tag/mediawiki-extensions-{{{bugzilla}}}|<translate> Open tasks</translate>]] · <translate> Report a bug</translate> |
|
{{#ifeq:Gerrit/GitHub| | }}{{#if:<translate> Issues</translate> |<translate> Issues</translate> |<translate> Issues</translate>}}{{#ifeq:Gerrit/GitHub| |}} |
<translate> Open issues</translate> · <translate> Report a bug</translate> |
{{#ifeq:|nocats||[[Category:All extensions{{#translation:}}]]Lua error: callParserFunction: function "#translation" was not found.}} Lua error: callParserFunction: function "#translation" was not found.
| #default=
{{#switch:
| = {{#ifeq:stable|unmaintained|{{#ifeq:|Extension|Lua error: callParserFunction: function "#translation" was not found.}}}} {{#if: | Template:Ptag }}
{{#if:| |{{#ifeq:|nocats||{{#if:{{#translation:}}||}}}} }} {{#if:user rights| }} {{#if:Restrict permissions by category and group| }} {{#if:Sophivorus | }} {{#if: | }} {{#if:Lua error: callParserFunction: function "#translation" was not found.| }} {{#if:| }} {{#if:| |{{#ifeq:|nocats||{{#if:{{#translation:}}||}}}} }} {{#if:Lua error: callParserFunction: function "#translation" was not found.| }} {{#if:No| }} {{#if:Lua error: callParserFunction: function "#translation" was not found.| }} {{#if:| }} {{#ifeq:|nocats||Lua error: callParserFunction: function "#translation" was not found.}} {{#if: {{#ifexist:Help:Extension:CategoryLockdown|yes}} | }} {{#if:[3]| }} {{#if:| }} {{#if:{{#if:|y|Lua error: callParserFunction: function "#translation" was not found.}}| }} {{#if:| }} {{#if:{{#if:|y|Lua error: callParserFunction: function "#translation" was not found.}}| }} {{#if:| }} Lua error: callParserFunction: function "#translation" was not found. {{#if:| }} {{#if:| }} {{#if:Lua error: callParserFunction: function "#translation" was not found.| }} {{#if:Lua error: callParserFunction: function "#translation" was not found.| }} {{#if:{{#if:Lua error: callParserFunction: function "#translation" was not found.||n}}|| }}{{#if:{{#ifeq:|nocats |no usage |{{#ifeq:| | |no usage }} {{#ifeq:|nousage |no usage }} }} || }} {{#if:| }} {{#if: | }} {{#if: | }}| [[File:{{#ifeq: stable |unstable
|OOjs UI icon alert-invert.svg |OOjs UI icon advanced{{#ifeq:stable|beta||-invert}}.svg }}|link=Special:MyLanguage/Template:Extension#Content|{{#switch:{{#if:||{{#if:{{#ifeq:|en |{{#ifeq:{{#titleparts:extension:categorylockdown||-1}}|en | }} | }}|{{#ifeq:|en |{{#ifeq:{{#titleparts:extension:categorylockdown||-1}}|en | }} |
}}|⧼lang⧽}}}}
|aeb|aeb-arab|aic|ar|arc|arq|ary|arz|azb|bcc|bgn|bqi|bqp|ckb|ckb-arab|dv|en-rtl|fa|fa-af|glk|ha-arab|haz|he|khw|kk-arab|kk-cn|ks|ks-arab|ku-arab|lki|lrc|luz|mzn|nqo|ota|phn|pnb|prd|prs|ps|sd|sdh|skr|skr-arab|tg-arab|tly|ug|ug-arab|ur|uz-arab|xpu|ydd|yi
={{#ifeq:|-||{{#ifeq:right|right|right|rtl}}}}
|#default
={{#ifeq:|-||{{#ifeq:left|left|left|ltr}}}}
}}|40px]] {{#if:|{{{name}}}|}} | }}{{#if:Release status: |Release status: |Release status:}}{{#ifeq:Extension status| | }} {{#switch: stable |unmaintained=unmaintained |unstable=unstable |experimental=experimental |beta=beta |stable=stable |#default=unknown }}{{#ifeq:|nocats||[[Category:{{#switch: stable |unstable|experimental|unmaintained|stable = stable extensions |beta = beta status extensions |unknown = extensions with unknown status |#default = extensions with invalid status }}{{#translation:}}]]}} |
|
|---|---|
| [[File:{{{image}}}|300px]] | |
{{#ifeq:Template:Extension|
| }}{{#if:Implementation |Implementation |Implementation}}{{#ifeq:Template:Extension| |}} |
Lua error: callParserFunction: function "#translation" was not found.|{{#ifeq:|nocats||Lua error: callParserFunction: function "#translation" was not found.}} |
{{#ifeq:Template:Extension|
| }}{{#if:Description |Description |Description}}{{#ifeq:Template:Extension| |}} |
Restrict permissions by category and group |
{{#ifeq:Template:Extension|
| }}{{#if:Author(s) |Author(s) |Author(s)}}{{#ifeq:Template:Extension| |}} |
{{#if: Sophivorus |{{#ifeq: Sophivorus|Sophivorus||{{{author}}} (}}Sophivorustalk{{#ifeq: Sophivorus|Sophivorus||)}}|{{{author}}}}} |
{{#ifeq:Template:Extension|
| }}{{#if:Maintainer(s) |Maintainer(s) |Maintainer(s)}}{{#ifeq:Template:Extension| |}} |
{{#ifexist:User:{{{maintainer}}}|[[User:{{{maintainer}}}|{{{maintainer}}}]][[User talk:{{{maintainer}}}|talk]]|{{{maintainer}}}}} |
{{#ifeq:Template:Extension|
| }}{{#if:Latest version |Latest version |Latest version}}{{#ifeq:Template:Extension| |}} |
Lua error: callParserFunction: function "#translation" was not found.{{#if:2021-12-13| (2021-12-13)}} |
{{#ifeq:Template:Extension|
| }}{{#if:Latest preview version |Latest preview version |Latest preview version}}{{#ifeq:Template:Extension| |}} |
{{#if:| ({{{update preview}}})}} |
{{#ifeq:Compatibility|
| }}{{#if:Compatibility policy |Compatibility policy |Compatibility policy}}{{#ifeq:Compatibility| |}} |
{{#switch:{{{compatibility policy}}}|master=Master maintains backward compatibility.{{#ifeq:|nocats||{{#if:{{#translation:}}||}}}}|main=Main branch maintains backward compatibility.{{#ifeq:|nocats||{{#if:{{#translation:}}||}}}}|rel=Snapshots releases along with MediaWiki. Master is not backward compatible.{{#ifeq:|nocats||{{#if:{{#translation:}}||}}}}|ltsrel= For every MediaWiki release that is a Long Term Support release there is a corresponding branch in the extension.{{#ifeq:|nocats||{{#if:{{#translation:}}||}}}}|#default=invalid{{#ifeq:|nocats||{{#if:{{#translation:}}||}}}}}} |
{{#ifeq:Template:Extension|
| }}{{#if:MediaWiki |MediaWiki |MediaWiki}}{{#ifeq:Template:Extension| |}} |
Lua error: callParserFunction: function "#translation" was not found. |
{{#ifeq:Template:Extension|
| }}{{#if:PHP |PHP |PHP}}{{#ifeq:Template:Extension| |}} |
Lua error: callParserFunction: function "#translation" was not found. |
{{#ifeq:Template:Extension|
| }}{{#if:Database changes |Database changes |Database changes}}{{#ifeq:Template:Extension| |}} |
{{#switch:No|yes|Yes=Yes|no|No=No|No}} |
{{#ifeq:Composer|
| }}{{#if:Composer |Composer |Composer}}{{#ifeq:Composer| |}} |
Lua error: callParserFunction: function "#translation" was not found. |
{{#ifeq:Template:Extension|
| }}{{#if:Tables |Tables |Tables}}{{#ifeq:Template:Extension| |}} |
{{#ifeq:|
| }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table1}}} table|{{#if:{{{table1}}} |{{{table1}}} |{{{table1}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table1}}} table| ]]{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table2}}} table|{{#if:{{{table2}}} |{{{table2}}} |{{{table2}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table2}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table3}}} table|{{#if:{{{table3}}} |{{{table3}}} |{{{table3}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table3}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table4}}} table|{{#if:{{{table4}}} |{{{table4}}} |{{{table4}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table4}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table5}}} table|{{#if:{{{table5}}} |{{{table5}}} |{{{table5}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table5}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table6}}} table|{{#if:{{{table6}}} |{{{table6}}} |{{{table6}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table6}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table7}}} table|{{#if:{{{table7}}} |{{{table7}}} |{{{table7}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table7}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table8}}} table|{{#if:{{{table8}}} |{{{table8}}} |{{{table8}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table8}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table9}}} table|{{#if:{{{table9}}} |{{{table9}}} |{{{table9}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table9}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table10}}} table|{{#if:{{{table10}}} |{{{table10}}} |{{{table10}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table10}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table11}}} table|{{#if:{{{table11}}} |{{{table11}}} |{{{table11}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table11}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table12}}} table|{{#if:{{{table12}}} |{{{table12}}} |{{{table12}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table12}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table13}}} table|{{#if:{{{table13}}} |{{{table13}}} |{{{table13}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table13}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table14}}} table|{{#if:{{{table14}}} |{{{table14}}} |{{{table14}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table14}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table15}}} table|{{#if:{{{table15}}} |{{{table15}}} |{{{table15}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table15}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table16}}} table|{{#if:{{{table16}}} |{{{table16}}} |{{{table16}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table16}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table17}}} table|{{#if:{{{table17}}} |{{{table17}}} |{{{table17}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table17}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table18}}} table|{{#if:{{{table18}}} |{{{table18}}} |{{{table18}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table18}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table19}}} table|{{#if:{{{table19}}} |{{{table19}}} |{{{table19}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table19}}} table| ]]}}{{#if:| | }}[[Special:MyLanguage/{{#ifeq:{{#ifeq:|en |{{#ifeq:{{#titleparts:Extension:CategoryLockdown||-1}}|en | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table20}}} table|{{#if:{{{table20}}} |{{{table20}}} |{{{table20}}}}}]]{{#ifeq:| | }} | }} | }}| |Extension:CategoryLockdown |Extension:CategoryLockdown }}/{{{table20}}} table| ]]}} |
{{#ifeq:Template:Extension|
| }}{{#if:License |License |License}}{{#ifeq:Template:Extension| |}} |
Lua error: callParserFunction: function "#translation" was not found. |
| Download | {{#if: {{#if: |
{{#switch:
| <translate> Download extension</translate>
{{#if: || }}|svn= |gerrit= |gerritonly= }}{{#ifeq:|nocats| |[[Category:Extensions in Wikimedia version control{{#translation:}}]]}}|{{#if: |
{{#switch:
| <translate> Download extension</translate>
{{#if: || }}|svn= |gerrit= |gerritonly= }}{{#ifeq:|nocats| |[[Category:Extensions in Wikimedia version control{{#translation:}}]]}}|{{#if:| {{#if: |
{{#switch:
| [[Special:ExtensionDistributor/{{{repo}}}|<translate> Download extension</translate>]]
{{#if: ||
|svn= |gerrit= |gerritonly= }}{{#ifeq:|nocats| |[[Category:Extensions in Wikimedia version control{{#translation:}}]]}}|No link}}}}{{#if:|{{{readme}}}}}{{#if:| {{{changelog}}}}} |
{{#ifeq:Template:Extension|
| }}{{#if:Help |Help |Help}}{{#ifeq:Template:Extension| |}} |
{{#if: | {{{help}}} | {{#ifeq:Help:Extension:CategoryLockdown|
| }}[[Special:MyLanguage/Help:Extension:CategoryLockdown|{{#if: |{{{2}}} |{{#ifexist:Translations:{{#if:Help|Help:}}Extension:CategoryLockdown/Page display title/en |{{#if:
|{{#if:
|
|{{ Template:TNTN | nsp = 0 }}
}}
|{{ Template:TNTN }}
}}
|{{#if:
|{{#if:Extension:CategoryLockdown
|Extension:CategoryLockdown
|Help:Extension:CategoryLockdown
}}
|Help:Extension:CategoryLockdown
}}
}}}}]]{{#ifeq:Help:Extension:CategoryLockdown| |}} }} |
{{#ifeq:Template:Extension|
| }}{{#if:Example |Example |Example}}{{#ifeq:Template:Extension| |}} |
[4] |
|
{{#ifeq:Template:Extension|
| }}{{#if:Namespace |Namespace |Namespace}}{{#ifeq:Template:Extension| |}} |
|
|
{{#ifeq:Template:Extension|
| }}{{#if:Parameters |Parameters |Parameters}}{{#ifeq:Template:Extension| |}}
{{#if:|{{{parameters}}}|Lua error: callParserFunction: function "#translation" was not found.}} |
|
|
{{{tags}}} |
|
|
{{#ifeq:Template:Extension|
| }}{{#if:Added rights |Added rights |Added rights}}{{#ifeq:Template:Extension| |}} {{#if:|{{{rights}}}|Lua error: callParserFunction: function "#translation" was not found.}} {{#ifeq:|nocats||{{#if:|[[Category:Extensions which add rights{{#translation:}}]]|}} }} |
|
|
{{#ifeq:Template:Extension|
| }}{{#if:Services defined |Services defined |Services defined}}{{#ifeq:Template:Extension| |}}
{{#if:|}}
|
|
|
{{#ifeq:Template:Extension|
| }}{{#if:Hooks provided |Hooks provided |Hooks provided}}{{#ifeq:Template:Extension| |}} {{#if:|
}}Template:Endplainlist
{{{1}}} |
|
| {{{compatibility}}} | |
| Quarterly downloads | Lua error: callParserFunction: function "#translation" was not found. |
| Public wikis using | Lua error: callParserFunction: function "#translation" was not found. |
|
{{#if: |[[translatewiki:Special:Translate/{{{translate}}}|Translate the extension]]
|Translate the extension if it is available at translatewiki.net
}} |
|
{{#ifeq:MediaWiki-Vagrant|
| }}{{#if:Vagrant role |Vagrant role |Vagrant role}}{{#ifeq:MediaWiki-Vagrant| |}} |
{{{vagrant-role}}} |
|
{{#ifeq:Phabricator| | }}{{#if:Issues |Issues |Issues}}{{#ifeq:Phabricator| |}} |
[[phab:tag/mediawiki-extensions-{{{bugzilla}}}|Open tasks]] · Report a bug |
|
{{#ifeq:Gerrit/GitHub| | }}{{#if:Issues |Issues |Issues}}{{#ifeq:Gerrit/GitHub| |}} |
Open issues · Report a bug |
{{#ifeq:|nocats||[[Category:All extensions{{#translation:}}]]Lua error: callParserFunction: function "#translation" was not found.}} Lua error: callParserFunction: function "#translation" was not found.
| #default=
Lua error: expandTemplate: template loop detected.
}} }}
The CategoryLockdown extension allows admins to restrict permissions by category and group.
Installation
Usage
To restrict the 'read' permission of the Category:Maintenance and its pages to the 'sysop' group only (admins), add the following to your LocalSettings.php:
<syntaxhighlight lang="php"> $wgCategoryLockdown['Maintenance']['read'] = 'sysop'; </syntaxhighlight>Similarly, to restrict the 'edit' permission of the Category:Sales and its pages to the 'vendor' group:<syntaxhighlight lang="php"> $wgCategoryLockdown['Sales']['edit'] = 'vendor'; </syntaxhighlight>
To restrict editing to users in the 'vendor' OR 'manager' groups:
<syntaxhighlight lang="php"> $wgCategoryLockdown['Sales']['edit'] = [ 'vendor', 'manager' ]; </syntaxhighlight>
Note that pages in subcategories are not affected. If Category:Clients is a subcategory of Category:Sales, then pages within it won't be protected by the above setting. You'd need to add:
<syntaxhighlight lang="php"> $wgCategoryLockdown['Clients']['edit'] = [ 'vendor', 'manager' ]; </syntaxhighlight>
Also note that if a page is in the Category:Sales and the Category:Clients, then the following will restrict editing to users in the 'vendor' OR 'manager' groups:
<syntaxhighlight lang="php"> $wgCategoryLockdown['Sales']['edit'] = 'vendor', $wgCategoryLockdown['Clients']['edit'] = 'manager'; </syntaxhighlight>
Finally, note that:
- Rules don't apply to admins.
- You can use this syntax to restrict any permission (not just 'read' and 'edit'). However, if users are allowed to read and edit a page, then they can avoid other restrictions by re-categorizing the page.
- This extension only removes permissions, it doesn't grant them. If the general config of your wiki forbids editing to all users, then adding a rule that restricts editing to a certain group won't work. Instead, allow editing to all users and then use this extension to restrict editing to the desired group.
See also
- Extension:Lockdown - More sophisticated but cannot restrict access by category and group
- Extension:Restrict access by category and group - Similar idea but more complicated and unmaintained