Last edited 4 months ago
by Robert Vogel

AutoDoc:ContentStabilization: Difference between revisions

m (1 revision imported)
forge>Unknown user
No edit summary
Line 17: Line 17:
|extensions = {{AutoDocVersion
|extensions = {{AutoDocVersion
|name = OOJSPlus
|name = OOJSPlus
|version =
|version = 2.0.0
*
}}
}}
}}
}}
Line 74: 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 145: 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 187: 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 207: 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 255: 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 275: 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
}}
}}
}}
}}

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