You are viewing an old version of this page. Return to the latest version.
Difference between revisions of "AutoDoc:BlueSpicePageAccess"
m (1 revision imported) |
hw>Unknown user |
Contents
DescriptionMsg[edit source]
Controls access on page level
License[edit source]
GPL-3.0-only
Requirements[edit source]
- MediaWiki: ~11.31
- BlueSpiceFoundation: ~33.2
IntegratesInto[edit source]
- BlueSpiceFoundation
- BlueSpiceVisualEditorConnector
SpecialPages[edit source]
- PageAccess
Permissions[edit source]
Permissions
Name | Description | Role |
---|---|---|
pageaccess-viewspecialpage | Access to the special page Special:PageAccess | admin, maintenanceadmin, structuremanager |
Config[edit source]
Configuration[edit source]
Name | Value |
---|---|
PageAccessBlockableActions | array ( 0 => 'read', 1 => 'edit', 2 => 'delete', 3 => 'move', ) |
ApiModules[edit source]
API Modules[edit source]
- bs-pageaccess-store
Hooks[edit source]
Hooks[edit source]
- BSInsertMagicAjaxGetData
- BSUsageTrackerRegisterCollectors
- PageContentSave
- BSUsageTrackerRegisterCollectors
==DescriptionMsg== {{AutoDocDescriptionMsg |name = BlueSpicePageAccess |desc = {{int:bs-pageaccess-desc }} }} ==License== {{AutoDocLicense |name = GPL-3.0-only }} ==Requirements== {{AutoDocRequirements |mediawiki = {{AutoDocVersion |name = MediaWiki |version = ~11.31 }} |extensions = {{AutoDocVersion |name = BlueSpiceFoundation |version = ~33.2 }} }} ==IntegratesInto== {{AutoDocIntegratesInto |into = {{AutoDocListItem |item = BlueSpiceFoundation }} {{AutoDocListItem |item = BlueSpiceVisualEditorConnector }} }} ==SpecialPages== {{AutoDocSpecialPages |SpecialPages = {{AutoDocCallback |name = PageAccess |callback = SpecialPageAccess }} }} ==Permissions== {{AutoDocPermissions |permissions = {{AutoDocPermission |name = pageaccess-viewspecialpage |type = global |roles = admin, maintenanceadmin, structuremanager |desc = {{int:right-pageaccess-viewspecialpage }} }} }} ==Config== {{AutoDocConfig |config = {{AutoDocOption |name = PageAccessBlockableActions |value = <nowiki>array ( 0 => 'read', 1 => 'edit', 2 => 'delete', 3 => 'move', )</nowiki> }} }} ==ApiModules== {{AutoDocApiModules |APIModules = {{AutoDocCallback |name = bs-pageaccess-store |callback = BSApiPageAccessStore }} }} ==Hooks== {{AutoDocHooks |Hooks = {{AutoDocCallback |name = BSInsertMagicAjaxGetData [https://www.mediawiki.org/wiki/Manual:Hooks/BSInsertMagicAjaxGetData BSInsertMagicAjaxGetData] |callback = \BlueSpice\PageAccess\Hook\BSInsertMagicAjaxGetData\AddPageAccessTag::callback }} {{AutoDocCallback |name = PageContentSave [https://www.mediawiki.org/wiki/Manual:Hooks/BSUsageTrackerRegisterCollectors BSUsageTrackerRegisterCollectors] |callback = \BlueSpice\PageAccess\Hook\PageContentSave\EditPageAccessBSUsageTrackerRegisterCollectors\AddPageAccessTag::callback }} {{AutoDocCallback |name = BSUsageTrackerRegisterCollectors [https://www.mediawiki.org/wiki/Manual:Hooks/PageContentSave PageContentSave] |callback = \BlueSpice\PageAccess\Hook\BSUsageTrackerRegisterCollectors\AddPageAccessTagPageContentSave\EditPageAccess::callback }} }}
Line 4: | Line 4: | ||
|desc = {{int:bs-pageaccess-desc | |desc = {{int:bs-pageaccess-desc | ||
}} | }} | ||
+ | }} | ||
+ | ==License== | ||
+ | {{AutoDocLicense | ||
+ | |name = GPL-3.0-only | ||
}} | }} | ||
==Requirements== | ==Requirements== | ||
Line 9: | Line 13: | ||
|mediawiki = {{AutoDocVersion | |mediawiki = {{AutoDocVersion | ||
|name = MediaWiki | |name = MediaWiki | ||
− | |version = | + | |version = 1.31 |
}} | }} | ||
|extensions = {{AutoDocVersion | |extensions = {{AutoDocVersion | ||
|name = BlueSpiceFoundation | |name = BlueSpiceFoundation | ||
− | |version = | + | |version = 3.2 |
}} | }} | ||
}} | }} | ||
Line 19: | Line 23: | ||
{{AutoDocIntegratesInto | {{AutoDocIntegratesInto | ||
|into = {{AutoDocListItem | |into = {{AutoDocListItem | ||
− | |||
− | |||
− | |||
|item = BlueSpiceVisualEditorConnector | |item = BlueSpiceVisualEditorConnector | ||
}} | }} | ||
Line 37: | Line 38: | ||
|name = pageaccess-viewspecialpage | |name = pageaccess-viewspecialpage | ||
|type = global | |type = global | ||
− | |roles = admin,maintenanceadmin,structuremanager | + | |roles = admin, maintenanceadmin, structuremanager |
|desc = {{int:right-pageaccess-viewspecialpage | |desc = {{int:right-pageaccess-viewspecialpage | ||
}} | }} | ||
Line 64: | Line 65: | ||
{{AutoDocHooks | {{AutoDocHooks | ||
|Hooks = {{AutoDocCallback | |Hooks = {{AutoDocCallback | ||
− | |name = BSInsertMagicAjaxGetData | + | |name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSInsertMagicAjaxGetData BSInsertMagicAjaxGetData] |
|callback = \BlueSpice\PageAccess\Hook\BSInsertMagicAjaxGetData\AddPageAccessTag::callback | |callback = \BlueSpice\PageAccess\Hook\BSInsertMagicAjaxGetData\AddPageAccessTag::callback | ||
}} | }} | ||
{{AutoDocCallback | {{AutoDocCallback | ||
− | |name = | + | |name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSUsageTrackerRegisterCollectors BSUsageTrackerRegisterCollectors] |
− | |callback = \BlueSpice\PageAccess\Hook\ | + | |callback = \BlueSpice\PageAccess\Hook\BSUsageTrackerRegisterCollectors\AddPageAccessTag::callback |
}} | }} | ||
{{AutoDocCallback | {{AutoDocCallback | ||
− | |name = | + | |name = [https://www.mediawiki.org/wiki/Manual:Hooks/PageContentSave PageContentSave] |
− | |callback = \BlueSpice\PageAccess\Hook\ | + | |callback = \BlueSpice\PageAccess\Hook\PageContentSave\EditPageAccess::callback |
}} | }} | ||
}} | }} |