K (1 Version importiert) |
hw>Unknown user Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
{{ | ==DescriptionMsg== | ||
{{ | {{AutoDocDescriptionMsg | ||
| | |name = BlueSpicePageTemplates | ||
|desc = {{int:bs-pagetemplates-desc | |||
{{ | }} | ||
}} | |||
{{ | ==License== | ||
{{ | {{AutoDocLicense | ||
|name = GPL-3.0-only | |||
}} | |||
==Requirements== | |||
{{AutoDocRequirements | |||
|mediawiki = {{AutoDocVersion | |||
|name = MediaWiki | |||
|version = 1.35.0 | |||
}} | |||
|extensions = {{AutoDocVersion | |||
|name = BlueSpiceFoundation | |||
|version = 4.0 | |||
}} | |||
}} | |||
==SpecialPages== | |||
{{AutoDocSpecialPages | |||
|SpecialPages = {{AutoDocCallback | |||
|name = PageTemplatesAdmin | |name = PageTemplatesAdmin | ||
| | |callback = SpecialPageTemplatesAdmin | ||
}} | |||
}} | |||
==Permissions== | |||
{{ | {{AutoDocPermissions | ||
{{ | |permissions = {{AutoDocPermission | ||
| | |name = pagetemplatesadmin-viewspecialpage | ||
|type = global | |type = global | ||
|roles = admin,< | |roles = admin, maintenanceadmin, structuremanager | ||
| | |desc = {{int:right-pagetemplatesadmin-viewspecialpage | ||
}} | |||
{{ | }} | ||
}} | |||
==Config== | |||
{{AutoDocConfig | |||
|config = {{AutoDocOption | |||
|name = PageTemplatesExcludeNs | |||
|value = <nowiki>array ( | |||
0 => -2, | |||
1 => -1, | |||
2 => 6, | |||
3 => 7, | |||
4 => 8, | |||
5 => 9, | |||
6 => 10, | |||
7 => 11, | |||
8 => 14, | |||
9 => 15, | |||
)</nowiki> | |||
}} | |||
{{AutoDocOption | |||
|name = PageTemplatesForceNamespace | |||
|value = <nowiki>false</nowiki> | |||
}} | |||
{{AutoDocOption | |||
|name = PageTemplatesHideDefaults | |||
|value = <nowiki>false</nowiki> | |||
}} | |||
{{AutoDocOption | |||
|name = PageTemplatesHideIfNotInTargetNs | |||
|value = <nowiki>true</nowiki> | |||
}} | |||
}} | |||
==ApiModules== | |||
{{AutoDocApiModules | |||
|APIModules = {{AutoDocCallback | |||
|name = bs-pagetemplates-store | |||
|callback = BSApiPageTemplatesStore | |||
}} | |||
{{AutoDocCallback | |||
|name = bs-pagetemplates-tasks | |||
|callback = BSApiPageTemplatesTasks | |||
}} | |||
}} | |||
==Hooks== | |||
{{AutoDocHooks | |||
|Hooks = {{AutoDocCallback | |||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSApiNamespaceStoreMakeData BSApiNamespaceStoreMakeData] | |||
|callback = BlueSpice\PageTemplates\Hook\BSApiNamespaceStoreMakeData\AddData::callback | |||
}} | |||
{{AutoDocCallback | |||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSUsageTrackerRegisterCollectors BSUsageTrackerRegisterCollectors] | |||
|callback = \BlueSpice\PageTemplates\Hook\BSUsageTrackerRegisterCollectors\AddPageTemplatesTag::callback | |||
}} | |||
{{AutoDocCallback | |||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/HtmlPageLinkRendererBegin HtmlPageLinkRendererBegin] | |||
|callback = \BlueSpice\PageTemplates\Extension::onHtmlPageLinkRendererBegin | |||
}} | |||
{{AutoDocCallback | |||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/LoadExtensionSchemaUpdates LoadExtensionSchemaUpdates] | |||
|callback = \BlueSpice\PageTemplates\Hook\LoadExtensionSchemaUpdates\AddPageTemplateTable::callback | |||
}} | |||
{{AutoDocCallback | |||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/MWStakeCommonUIRegisterSkinSlotComponents MWStakeCommonUIRegisterSkinSlotComponents] | |||
|callback = common-user-interface | |||
}} | |||
{{AutoDocCallback | |||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/MediaWikiPerformAction MediaWikiPerformAction] | |||
|callback = \BlueSpice\PageTemplates\Hook\MediaWikiPerformAction\PreventEditMode::callback | |||
}} | |||
{{AutoDocCallback | |||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/MessagesPreLoad MessagesPreLoad] | |||
|callback = \BlueSpice\PageTemplates\Extension::onMessagesPreLoad | |||
}} | |||
{{AutoDocCallback | |||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/NamespaceManager::editNamespace NamespaceManager::editNamespace] | |||
|callback = BlueSpice\PageTemplates\Hook\NamespaceManagerEditNamespace\SetPageTemplateValues::callback | |||
}} | |||
{{AutoDocCallback | |||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/NamespaceManager::getMetaFields NamespaceManager::getMetaFields] | |||
|callback = BlueSpice\PageTemplates\Hook\NamespaceManagerGetMetaFields\RegisterMetaField::callback | |||
}} | |||
{{AutoDocCallback | |||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/NamespaceManager::writeNamespaceConfiguration NamespaceManager::writeNamespaceConfiguration] | |||
|callback = BlueSpice\PageTemplates\Hook\NamespaceManagerWriteNamespaceConfiguration\WriteToConfiguration::callback | |||
}} | |||
}} | |||
Version vom 7. Dezember 2021, 10:53 Uhr
DescriptionMsg
Es können vorgefertigte Seitenvorlagen angelegt werden
License
GPL v3
Requirements
- MediaWiki: 1.35.0
- BlueSpiceFoundation: 4.0
SpecialPages
- PageTemplatesAdmin
Permissions
Rechte
Name | Beschreibung | Rollen |
---|---|---|
pagetemplatesadmin-viewspecialpage | Zugriff auf die Spezialseite Special:PageTemplatesAdmin, auf der Seitenvorlagen verwaltet werden können. | admin, maintenanceadmin, structuremanager |
Config
Konfiguration
Name | Wert |
---|---|
PageTemplatesExcludeNs | array ( 0 => -2, 1 => -1, 2 => 6, 3 => 7, 4 => 8, 5 => 9, 6 => 10, 7 => 11, 8 => 14, 9 => 15, ) |
PageTemplatesForceNamespace | false |
PageTemplatesHideDefaults | false |
PageTemplatesHideIfNotInTargetNs | true |
ApiModules
API Modules
- bs-pagetemplates-store
- bs-pagetemplates-tasks
Hooks
Hooks
- BSApiNamespaceStoreMakeData
- BSUsageTrackerRegisterCollectors
- HtmlPageLinkRendererBegin
- LoadExtensionSchemaUpdates
- MWStakeCommonUIRegisterSkinSlotComponents
- MediaWikiPerformAction
- MessagesPreLoad
- NamespaceManager::editNamespace
- NamespaceManager::getMetaFields
- NamespaceManager::writeNamespaceConfiguration