Last edited 4 months ago
by Robert Vogel

AutoDoc:ContentStabilization: Difference between revisions

m (1 revision imported)
m (1 revision imported)
 
(3 intermediate revisions by 3 users not shown)
Line 17: Line 17:
|extensions = {{AutoDocVersion
|extensions = {{AutoDocVersion
|name = OOJSPlus
|name = OOJSPlus
|version =
|version = 2.0.0
*
}}
}}
}}
}}
Line 25: Line 24:
|into = {{AutoDocListItem
|into = {{AutoDocListItem
|item = BlueSpiceSMWConnector
|item = BlueSpiceSMWConnector
}}
{{AutoDocListItem
|item = BlueSpiceSmartList
}}
}}
{{AutoDocListItem
{{AutoDocListItem
|item = ContentStabilization
|item = ContentStabilization
}}
{{AutoDocListItem
|item = EnhancedStandardUIs
}}
}}
{{AutoDocListItem
{{AutoDocListItem
Line 68: Line 73:
|desc = {{int:right-contentstabilization-stabilize
|desc = {{int:right-contentstabilization-stabilize
}}
}}
}}
}}
==DefaultUserOptions==
{{AutoDocDefaultUserOptions
|options = {{AutoDocOption
|name = history-show-sp_approve_comment
|value = <nowiki>0</nowiki>
}}
{{AutoDocOption
|name = history-show-sp_approve_ts
|value = <nowiki>0</nowiki>
}}
{{AutoDocOption
|name = history-show-sp_approver
|value = <nowiki>1</nowiki>
}}
{{AutoDocOption
|name = history-show-sp_state
|value = <nowiki>1</nowiki>
}}
}}
}}
}}
Line 87: Line 111:
|name = BlueSpiceExtendedSearchIndexOnlyStable
|name = BlueSpiceExtendedSearchIndexOnlyStable
|value = <nowiki>false</nowiki>
|value = <nowiki>false</nowiki>
}}
{{AutoDocOption
|name = BlueSpicePageApprovedReminderDelay
|value = <nowiki>168</nowiki>
}}
}}
{{AutoDocOption
{{AutoDocOption
Line 135: Line 163:
}}
}}
{{AutoDocCallback
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSExtendedSearchRepoFileGetRepoFile BSExtendedSearchRepoFileGetRepoFile]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSExtendedSearchRepoFileGetFile BSExtendedSearchRepoFileGetFile]
|callback = stabilizeExtendedSearch
|callback = stabilizeExtendedSearch
}}
}}
Line 160: Line 188:
{{AutoDocCallback
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BeforeInitialize BeforeInitialize]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BeforeInitialize BeforeInitialize]
|callback = integrateIntoHistory, stabilizePDFExport, stabilizeBookExport, stabilizeDrawioFile
|callback = integrateIntoHistory
}}
}}
{{AutoDocCallback
{{AutoDocCallback
Line 177: Line 205:
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BlueSpiceDiscoveryTemplateDataProviderAfterInit BlueSpiceDiscoveryTemplateDataProviderAfterInit]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BlueSpiceDiscoveryTemplateDataProviderAfterInit BlueSpiceDiscoveryTemplateDataProviderAfterInit]
|callback = addApproveActionDiscovery
|callback = addApproveActionDiscovery
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/ContentAlterParserOutput ContentAlterParserOutput]
|callback = stabilizeContent
}}
}}
{{AutoDocCallback
{{AutoDocCallback
Line 197: Line 229:
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/DrawioGetFile DrawioGetFile]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/DrawioGetFile DrawioGetFile]
|callback = stabilizeDrawioFile
|callback = stabilizeDrawioFile
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/EditPageGetCheckboxesDefinition EditPageGetCheckboxesDefinition]
|callback = addApproveAction
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/GetPreferences GetPreferences]
|callback = userpreference
}}
}}
{{AutoDocCallback
{{AutoDocCallback
Line 245: Line 285:
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/PageMoveComplete PageMoveComplete]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/PageMoveComplete PageMoveComplete]
|callback = stabilizeContent
|callback = stabilizeContent
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/PageSaveComplete PageSaveComplete]
|callback = autoStabilize
}}
}}
{{AutoDocCallback
{{AutoDocCallback
Line 265: Line 309:
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/SkinTemplateNavigation::Universal SkinTemplateNavigation::Universal]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/SkinTemplateNavigation::Universal SkinTemplateNavigation::Universal]
|callback = addApproveAction
|callback = addApproveAction
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/TitleGetEditNotices TitleGetEditNotices]
|callback = stabilizeContent
}}
}}
==ExtensionFunctions==
{{AutoDocExtensionFunctions
|ExtensionFunctions = {{AutoDocListItem
|item = 0
}}
}}
}}
}}



Latest revision as of 14:50, 10 July 2024

DescriptionMsg

Allows users to mark pages as "approved" or "draft" and to view the most recent approved version of a page.

License

GPL-3.0-only

Requirements

  • MediaWiki: 1.39.0
  • OOJSPlus: 2.0.0

IntegratesInto

  • BlueSpiceSMWConnector
  • BlueSpiceSmartList
  • ContentStabilization
  • EnhancedStandardUIs
  • Notifications
  • PageHeader
  • Workflows

SpecialPages

  • ContentStabilization

Permissions

Permissions

Name Description Role
contentstabilization-admin Change who can see drafts, delete and change approvals admin
contentstabilization-oversight See overview of all approvals of a page reviewer, admin
contentstabilization-stabilize Approve pages reviewer, admin

DefaultUserOptions

User options

Name Value
history-show-sp_approve_comment 0
history-show-sp_approve_ts 0
history-show-sp_approver 1
history-show-sp_state 1

Config

Configuration

Name Value
BlueSpiceBookshelfExportListDisabled true
BlueSpiceBookshelfExportListStable true
BlueSpiceBookshelfExportListUnstable true
BlueSpiceExtendedSearchIndexOnlyStable false
BlueSpicePageApprovedReminderDelay 168
BlueSpiceUEModulePDFShowStabilizationTag true
ContentStabilizationAllowFirstUnstable true
ContentStabilizationDraftGroups array ( 0 => 'user', )
ContentStabilizationEnabledNamespaces array ( )
ContentStabilizationInclusionMode NULL
ContentStabilizationStabilizeSMWProperties true

Hooks

Hooks

ExtensionFunctions

Template:AutoDocExtensionFunctions