Zuletzt bearbeitet vor 4 Monaten
von Robert Vogel

AutoDoc:BlueSpiceExpiry: Unterschied zwischen den Versionen

K (1 Version importiert)
hw>Unknown user
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
{{ExtensionMainDescOpen}}
==DescriptionMsg==
{{ExtensionMainDescBody
{{AutoDocDescriptionMsg
|desc = Seiten können als nicht aktuell markiert werden.
|name = BlueSpiceExpiry
}}
|desc = {{int:bs-expiry-extension-description
{{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
}}
{{AutoDocVersion
|name = BlueSpiceReminder
|version = 4.0
}}
}}
==IntegratesInto==
{{AutoDocIntegratesInto
|into = {{AutoDocListItem
|item = BlueSpiceEchoConnector
}}
{{AutoDocListItem
|item = BlueSpiceReminder
}}
{{AutoDocListItem
|item = BlueSpiceSMWConnector
}}
}}
==SpecialPages==
{{AutoDocSpecialPages
|SpecialPages = {{AutoDocCallback
|name = Expiry
|name = Expiry
|class = SpecialExpiry
|callback = SpecialExpiry
}}
}}
{{ExtensionSpecialPagesClose}}
}}
 
==Permissions==
{{ExtensionPermissionsOpen}}
{{AutoDocPermissions
{{ExtensionPermissionsBody
|permissions = {{AutoDocPermission
|permission = expirearticle
|name = expirearticle
|type = namespace
|type = namespace
|roles = admin,<br>editor,<br>maintenanceadmin
|roles = admin, editor, maintenanceadmin
|desc = Seiten als veraltet markieren
|desc = {{int:right-expirearticle
}}
}}
{{ExtensionPermissionsBody
}}
|permission = expiry-delete
{{AutoDocPermission
|name = expiry-delete
|type = namespace
|type = namespace
|roles = admin,<br>editor,<br>maintenanceadmin
|roles = admin, editor, maintenanceadmin
|desc = Ablaufdatum von Seiten entfernen
|desc = {{int:right-expiry-delete
}}
}}
{{ExtensionPermissionsClose}}
}}
}}
==Config==
{{AutoDocConfig
|config = {{AutoDocOption
|name = ExpiryEnablePDFWatermark
|value = <nowiki>true</nowiki>
}}
{{AutoDocOption
|name = ExpiryEnablePageWatermark
|value = <nowiki>true</nowiki>
}}
{{AutoDocOption
|name = ExpiryEnablePrintWatermark
|value = <nowiki>true</nowiki>
}}
}}
==ApiModules==
{{AutoDocApiModules
|APIModules = {{AutoDocCallback
|name = bs-expiry-store
|callback = ApiExpiryStore
}}
{{AutoDocCallback
|name = bs-expiry-tasks
|callback = ApiExpiryTasks
}}
}}
==Hooks==
{{AutoDocHooks
|Hooks = {{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSUEModulePDFBeforeAddingStyleBlocks BSUEModulePDFBeforeAddingStyleBlocks]
|callback = \BlueSpice\Expiry\Hook\BSUEModulePDFBeforeAddingStyleBlocks\AddPDFWatermarkStyles::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSUEModulePDFgetPage BSUEModulePDFgetPage]
|callback = \BlueSpice\Expiry\Hook\BSUEModulePDFgetPage\AddPDFWatermarkClass::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay BeforePageDisplay]
|callback = \BlueSpice\Expiry\Hook\BeforePageDisplay\AddResources::callback, \BlueSpice\Expiry\Hook\BeforePageDisplay\AddPageWatermark::callback, \BlueSpice\Expiry\Hook\BeforePageDisplay\AddPrintWatermark::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BlueSpiceDiscoveryTemplateDataProviderAfterInit BlueSpiceDiscoveryTemplateDataProviderAfterInit]
|callback = discovery-skin
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/ChameleonSkinTemplateOutputPageBeforeExec ChameleonSkinTemplateOutputPageBeforeExec]
|callback = \BlueSpice\Expiry\Hook\ChameleonSkinTemplateOutputPageBeforeExec\AddToGlobalActions::callback, \BlueSpice\Expiry\Hook\ChameleonSkinTemplateOutputPageBeforeExec\AddExpiredInfo::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/LoadExtensionSchemaUpdates LoadExtensionSchemaUpdates]
|callback = \BlueSpice\Expiry\Hook\LoadExtensionSchemaUpdates\AddExpiryTable::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/SkinTemplateNavigation::Universal SkinTemplateNavigation::Universal]
|callback = \BlueSpice\Expiry\Hook\SkinTemplateNavigationUniversal\AddExpiryCreateEntry::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/StandardDialogsRegisterPageInfoPanelModules StandardDialogsRegisterPageInfoPanelModules]
|callback = standard-dialogs
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/wgQueryPages wgQueryPages]
|callback = ExpiryHooks::onQueryPages
}}
}}


{{ExtensionConfigOpen}}
{{ExtensionConfigBody
|name = $bsgExpiryEnablePDFWatermark
|defaultValue = <nowiki>true</nowiki>
|overrideBy = $bsgOverrideExpiryEnablePDFWatermark
}}
{{ExtensionConfigBody
|name = $bsgExpiryEnablePageWatermark
|defaultValue = <nowiki>true</nowiki>
|overrideBy = $bsgOverrideExpiryEnablePageWatermark
}}
{{ExtensionConfigBody
|name = $bsgExpiryEnablePrintWatermark
|defaultValue = <nowiki>true</nowiki>
|overrideBy = $bsgOverrideExpiryEnablePrintWatermark
}}
{{ExtensionConfigClose}}

Version vom 7. Dezember 2021, 10:53 Uhr

DescriptionMsg

Seiten können als nicht aktuell markiert werden.

License

GPL v3

Requirements

  • MediaWiki: 1.35.0
  • BlueSpiceFoundation: 4.0

BlueSpiceReminder: 4.0

IntegratesInto

  • BlueSpiceEchoConnector
  • BlueSpiceReminder
  • BlueSpiceSMWConnector

SpecialPages

  • Expiry

Permissions

Rechte

Name Beschreibung Rollen
expirearticle Seiten als veraltet markieren admin, editor, maintenanceadmin
expiry-delete Ablaufdatum von Seiten entfernen admin, editor, maintenanceadmin

Config

Konfiguration

Name Wert
ExpiryEnablePDFWatermark true
ExpiryEnablePageWatermark true
ExpiryEnablePrintWatermark true

ApiModules

API Modules

  • bs-expiry-store
  • bs-expiry-tasks

Hooks

Hooks