The ContentStabilization extension is a MediaWiki extension that enables a sharing mechanism. New versions of a page are initially marked as drafts. These remain in place until a user with sharing rights reviews and approves the page.
Enable page sharing
Drafts are activated via the namespace administration. A user with administrator rights checks whether sharing is enabled for a namespace. This is done under Global Actions > Administration > Namespace Administration. Click the edit icon (wrench) in the Actions column. The namespace dialog opens. Select Sharing and click Done. alternative text=enable sharing for a namespace
Existing Pages
When sharing is activated for a namespace, all existing pages in the namespace are put into draft mode. The pages are now all in status First Draft.alternative text=First DraftBy default, the page status is displayed in the title area of every page with approval function .
Alternatively, the view can be moved below the page content via the Configuration management.
First draft
When a new page is created and saved for the first time, it will appear as First Draft. By default, first drafts are visible to all users with read permissions. However, via a Setting in Configuration Management this can be restricted to users who can see drafts on the wiki.
Drafts
If a page is edited and saved multiple times in draft mode, each edit is logged in the revision history:
Drafts are framed and highlighted in color in the version history. In addition, they are marked with "Release pending".
Accepting a page
A user with Release rights can release the page via the release function in the title area of the page. The release comment is logged in the page's version history.
Page share via title area
The new approval status is displayed accordingly in the title area.
alternative text=Approval status display
Configuration
Changes to templates, embedded files and transclusions
If a page uses templates or contains other files such as images and embedded PDFs, or if content from other pages is transcluded and modified after the page was approved, those changes must also be approved. There are two ways to do the sharing:
- The embedded resource is in a namespace without a release mechanism: If the embedded resource is in a namespace without its own release function, the released version of the page shows the resource version at the time the page was released. Similarly, the draft version shows the most recent version of the embedded resource.
- The embedded resource is in a namespace with a sharing mechanism: Sharing is done directly at the resource to avoid sharing on all affected content pages.Template:Note box
Attitude | Behaviour of shared content page -
No resource sharing mechanismresource without sharing mechanism |
Behaviour of shared content page -
Release mechanism via resourceresources with release mechanism |
---|---|---|
Released version
(Default) |
This setting has no effect if the resource itself has no sharing mechanism.
|
Resource display:
Release of resource:
|
Time-bound version | Resource display:
Release of resource:
|
Resource display:
Release of resource:
|
Current version | Resource display:
Shared page with current version of included resource.
|
Resource display:
Shared page with current version of included resource.
|
Reading permissions for drafts
By default, all users can see a page's drafts, including users with read rights.
To hide drafts from users, the user group must be removed from the configuration. This setting then applies to the entire wiki and cannot be further restricted to specific namespaces.
An administrator changes the groups that can see drafts in the Show draft versions for the following groups box.
Template:Note boxAfter removing the group user, the desired group(s ), e.g. B. the group editor, can be added to the configuration and saved.
Read permissions for first drafts
By default, first drafts are visible to all users who have read permissions in a namespace. However, if first drafts are only visible to those users who can generally view page drafts, this can be done in the configuration management by selecting Allow viewing of first draft version to be disabled.
Summary: Read Permissions for Draft Pages
Define groups:
- Group user: Only the user groups that have been given this right in the configuration management can see first drafts and other drafts. By default, this is the user group (=all users who are logged into the wiki and have the appropriate reading rights in a namespace).
- Adjust groups: In the configuration management, the reading rights for (first) drafts can be restricted to other groups.
- Group sysop: Users in group sysop can always view drafts through the history. The sysop group can therefore not be set explicitly in the configuration. If sysop users can directly see the approval status on the page, they need to be added to a group with read permissions for drafts.
Export draft pages:
- Single page export: Users with reading rights on a draft page can print it directly as a PDF.
- Book export: Only approved pages are exported. If there is only a first draft of a page, it will be exported. Exception: If the book is printed by a user who does not have access to the first draft, the first draft will not be printed out in the book. Instead, the PDF shows the following message:reference=https://de.wiki.bluespice.com/wiki/ File:Book-First Draft.png
Effects on semantic attributes
If Semantic MediaWiki is activated in a namespace at the same time as page release, the following attributes are available for SMW queries depending on the release status of the page:
page status | Available attributes |
---|---|
First draft | Current values |
Approved | Current values |
Draft | Released version values (default). This can be changed via the Configuration Management so that the values of the draft version apply. |
Implicit draft
(changes to included resources) |
Released version values |
Quality management overview
The special page Special:Quality Management_Overview allows all users to see the release status of all wiki pages and to filter accordingly. Only pages that users have read access to are displayed.
special page quality management overview