Zuletzt bearbeitet vor 4 Monaten
von Robert Vogel

AutoDoc:BlueSpicePageTemplates: Unterschied zwischen den Versionen

K (1 Version importiert)
hw>Unknown user
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
{{ExtensionMainDescOpen}}
==DescriptionMsg==
{{ExtensionMainDescBody
{{AutoDocDescriptionMsg
|desc = Es können vorgefertigte Seitenvorlagen angelegt werden
|name = BlueSpicePageTemplates
}}
|desc = {{int:bs-pagetemplates-desc
{{ExtensionMainDescClose}}
}}
 
}}
{{ExtensionSpecialPagesOpen}}
==License==
{{ExtensionSpecialPagesBody
{{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
|class = SpecialPageTemplatesAdmin
|callback = SpecialPageTemplatesAdmin
}}
}}
{{ExtensionSpecialPagesClose}}
}}
 
==Permissions==
{{ExtensionPermissionsOpen}}
{{AutoDocPermissions
{{ExtensionPermissionsBody
|permissions = {{AutoDocPermission
|permission = pagetemplatesadmin-viewspecialpage
|name = pagetemplatesadmin-viewspecialpage
|type = global
|type = global
|roles = admin,<br>maintenanceadmin,<br>structuremanager
|roles = admin, maintenanceadmin, structuremanager
|desc = Zugriff auf die Spezialseite [[Special:PageTemplatesAdmin]], auf der Seitenvorlagen verwaltet werden können.
|desc = {{int:right-pagetemplatesadmin-viewspecialpage
}}
}}
{{ExtensionPermissionsClose}}
}}
}}
==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
}}
}}


{{ExtensionConfigOpen}}
{{ExtensionConfigBody
|name = $bsgPageTemplatesExcludeNs
|defaultValue = <nowiki>[-2,-1,6,7,8,9,10,11,14,15]</nowiki>
|overrideBy = $bsgOverridePageTemplatesExcludeNs
}}
{{ExtensionConfigBody
|name = $bsgPageTemplatesForceNamespace
|defaultValue = <nowiki>false</nowiki>
|overrideBy = $bsgOverridePageTemplatesForceNamespace
}}
{{ExtensionConfigBody
|name = $bsgPageTemplatesHideIfNotInTargetNs
|defaultValue = <nowiki>true</nowiki>
|overrideBy = $bsgOverridePageTemplatesHideIfNotInTargetNs
}}
{{ExtensionConfigBody
|name = $bsgPageTemplatesHideDefaults
|defaultValue = <nowiki>false</nowiki>
|overrideBy = $bsgOverridePageTemplatesHideDefaults
}}
{{ExtensionConfigClose}}

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