Reference:BlueSpicePageAssignments: Difference between revisions

No edit summary
Tag: 2017 source edit
No edit summary
Line 1: Line 1:
{{BSExtensionInfo
{{BSExtensionInfo
|desc=Assigns individual users or whole groups to pages, e.g. as responsible editors.
|status=stable
|status=stable
|developer=HalloWelt
|developer=HalloWelt
|type=BlueSpice
|type=BlueSpice
|edition=BlueSpice free, BlueSpice pro, BlueSpice Farm, BlueSpice Cloud
|edition=BlueSpice pro, BlueSpice free, BlueSpice Farm, BlueSpice Cloud
|active=Yes
|compatible=BlueSpice
|compatible=BlueSpice
|category=Quality Assurance
|category=Quality Assurance
Line 17: Line 15:
*Users with ''admin, maintenanceadmin'' or ''reviewer'' rights can manage all assignments on the page ''Special:ManagePageAssignments.''
*Users with ''admin, maintenanceadmin'' or ''reviewer'' rights can manage all assignments on the page ''Special:ManagePageAssignments.''


=== Display assignments in the title section ===
===Display assignments in the title section===
The page assignments can be displayed in the title section of the page. Activate this page assignments display in ''LocalSettings.php'' (or in the php file in the ''d.settings'' folder):
The page assignments can be displayed in the title section of the page. Activate this page assignments display in ''LocalSettings.php'' (or in the php file in the ''d.settings'' folder):
  $GLOBALS['bsgBlueSpiceCalummaPageHeaderBeforeContentEnabledProviders'] = [ "pageheader-assignments" ];
  $GLOBALS['bsgBlueSpiceCalummaPageHeaderBeforeContentEnabledProviders'] = [ "pageheader-assignments" ];
Line 23: Line 21:
  $GLOBALS['bsgPageAssignmentsPageHeaderLimit'] = 25;
  $GLOBALS['bsgPageAssignmentsPageHeaderLimit'] = 25;


=== Assign all users (with option to exclude some users) ===
===Assign all users (with option to exclude some users)===
To activate the option to assign all users to a page, a group ''everyone'' can be created. For this, the following code needs to be set in ''<bluepsice-installationpath>/extensions/BlueSpicePageAssignments/extension.json'':<syntaxhighlight lang="json">
To activate the option to assign all users to a page, a group ''everyone'' can be created. For this, the following code needs to be set in ''<bluepsice-installationpath>/extensions/BlueSpicePageAssignments/extension.json'':<syntaxhighlight lang="json">
"PageAssignmentsActivatedTypes": {
"PageAssignmentsActivatedTypes": {
Line 34: Line 32:
</syntaxhighlight>This allows users to add the group everyone to a page assignment. Individual users can be excluded from the assignment by creating the file ''MediaWiki:PageAssignments-everyone-blacklist''. Users can be added to this blacklist with using line breaks.
</syntaxhighlight>This allows users to add the group everyone to a page assignment. Individual users can be excluded from the assignment by creating the file ''MediaWiki:PageAssignments-everyone-blacklist''. Users can be added to this blacklist with using line breaks.
<br />
<br />
|desc=Assigns individual users or whole groups to pages, e.g. as responsible editors.
|active=Yes
}}
{{wcagCheck
|wcagStatus=2-testing complete
|wcagCheckedfor=Web, Authoring tool
|wcagTestdate=2022-08-08
|wcagLevel=AA
|wcagSupport=partially supports
|wcagWorkaround=no
|wcagComments=known extJs grid issues [[erm:25470{{!}}erm:25456]]
|extensionType=core
|extensionFocus=organizer
}}
}}

Revision as of 08:11, 8 August 2022

Extension: BlueSpicePageAssignments

all extensions

Overview
Description:

Enables you to assign users or groups to a page

State: stable Dependency: BlueSpice
Developer: HalloWelt License: GPL-3.0-only
Type: BlueSpice Category: Quality Assurance
Edition: BlueSpice pro, BlueSpice free, BlueSpice Farm"BlueSpice Farm" is not in the list (BlueSpice free, BlueSpice free (deactivated), BlueSpice pro, BlueSpice pro (deactivated), BlueSpice farm, BlueSpice farm (deactivated), BlueSpice cloud, BlueSpice cloud (deactivated)) of allowed values for the "BSExtensionInfoEdition" property., BlueSpice Cloud"BlueSpice Cloud" is not in the list (BlueSpice free, BlueSpice free (deactivated), BlueSpice pro, BlueSpice pro (deactivated), BlueSpice farm, BlueSpice farm (deactivated), BlueSpice cloud, BlueSpice cloud (deactivated)) of allowed values for the "BSExtensionInfoEdition" property. Version: 4.1+

Features

PageAssignments allows to assign pages to single users or user groups. Assigned users are notified about assignment changes via email or internal notifications.

  • Assign responsible users to a page.
  • Assign individual users or groups.
  • The responsible editor(s) for the page can be viewed in the flyout "Page assignments" in the quality management tools.
  • Users can view their assignments on the page Special:PageAssignments.
  • Users with admin, maintenanceadmin or reviewer rights can manage all assignments on the page Special:ManagePageAssignments.

Display assignments in the title section

The page assignments can be displayed in the title section of the page. Activate this page assignments display in LocalSettings.php (or in the php file in the d.settings folder):

$GLOBALS['bsgBlueSpiceCalummaPageHeaderBeforeContentEnabledProviders'] = [ "pageheader-assignments" ];

Set the limit:

$GLOBALS['bsgPageAssignmentsPageHeaderLimit'] = 25;

Assign all users (with option to exclude some users)

To activate the option to assign all users to a page, a group everyone can be created. For this, the following code needs to be set in <bluepsice-installationpath>/extensions/BlueSpicePageAssignments/extension.json:
"PageAssignmentsActivatedTypes": {
			"value": [
				"user",
				"group",
				"everyone"
			]
},
This allows users to add the group everyone to a page assignment. Individual users can be excluded from the assignment by creating the file MediaWiki:PageAssignments-everyone-blacklist. Users can be added to this blacklist with using line breaks.


Technical Information

This information applies to BlueSpice 4. Technical details for BlueSpice cloud can differ in some cases.

Requirements

  • MediaWiki: 1.39.0
  • BlueSpiceFoundation: 4.3

Integrates into

  • BlueSpiceBookshelf
  • BlueSpiceExtendedStatistics
  • BlueSpicePageAssignments
  • BlueSpicePrivacy
  • BlueSpiceSMWConnector
  • Notifications

Special pages

  • ManagePageAssignments
  • PageAssignments

Permissions

Name Description Role
pageassignable Appear in the list of assignable users reader, admin, author, editor, maintenanceadmin, reviewer
pageassignments Edit the assignments of a page admin, maintenanceadmin, reviewer

Configuration

Name Value
PageAssignmentsActivatedTypes array ( 0 => 'user', 1 => 'group', )
PageAssignmentsLockdownGroups array ( 0 => 'user', )
PageAssignmentsPageHeaderLimit 3
PageAssignmentsSecureEnabledNamespaces array ( )
PageAssignmentsSecureRemoveRightList array ( 0 => 'edit', )
PageAssignmentsTarget 'title'
PageAssignmentsUseAdditionalPermissions false

User options

Name Value
echo-subscriptions-email-bs-pageassignments-action-cat true
echo-subscriptions-web-bs-pageassignments-action-cat true

API Modules

  • bs-mypageassignment-store
  • bs-pageassignable-store
  • bs-pageassignment-store
  • bs-pageassignment-tasks

Hooks

Accessibility

Test status: 2-testing complete
Checked for: Web, Authoring tool
Last test date: 2022-08-08
WCAG level: AA
WCAG support: partially supports (workaround: no)
Comments:

known extJs grid issues erm:25456

Extension type: core
Extension focus: organizer