| Overview | |||
|---|---|---|---|
| Description: |
| ||
| State: | stable | Dependency: | BlueSpice|,|print}} |
| Developer: | HalloWelt|,|print}} | License: | |
| Type: | BlueSpice | Category: | |
| Edition: | Version: | ||
Features
MergeArticles allows you to merge revisions of a wiki page.
If a page in BlueSpice farm is transferred to other wiki instances via the ContentTransfer extension or via BlueSpiceTranslationTransfer, the page can be saved in a draft namespace for further processing. Users then manually merge the page with an existing page revision.
Activation
Activation is done in LocalSettings.php or in a Docker container: bluespice/post-init-settings.php)
Activating the draft namespace for all non-language wikis (i.e., wikis named DE, EN, NL, etc.)
$GLOBALS['wgExtensionFunctions'][] = static function() {
foreach( $GLOBALS['wgContentTransferTargets'] as $instanceName => $config ) {
if ( isset( $GLOBALS['bsgTranslateTransferTargets'][strtolower( $instanceName )] ) ) {
// Skip language variant wikis
continue;
}
$GLOBALS['wgContentTransferTargets'][$instanceName]['pushToDraft'] = true;
}
};
Activating the draft namespace all wikis. PushToDraft possible values for TranslationTransfer:
- "regular" - page is pushed directly on the first translation, and to the draftNamespace namespace on all next translations.
- "always" - page is always pushed to the draftNamespace namespace, i.e., also first translations.
$GLOBALS['wgExtensionFunctions'][] = static function() {
foreach( $GLOBALS['wgContentTransferTargets'] as $instanceName => $config ) {
$GLOBALS['wgContentTransferTargets'][$instanceName]['pushToDraft'] = true;
}
foreach( $GLOBALS['bsgTranslateTransferTargets'] as $instanceName => $config ) {
$GLOBALS['bsgTranslateTransferTargets'][$instanceName]['pushToDraft'] = 'regular';
#$GLOBALS['bsgTranslateTransferTargets'][$instanceName]['pushToDraft'] = 'always';
$GLOBALS['bsgTranslateTransferTargets'][$instanceName]['draftNamespace'] = 'Draft';
}
};
More info about working with the draft namespace can be found on the MergeArticles help page.
Technical Information
Technical details for BlueSpice cloud can differ in some cases.
Requirements
Integrates into
Special pages
Composer requirements
-
Notifications
-}}