Reference:BlueSpicePageAssignments: Difference between revisions

hw>Mlink-rodrigue
No edit summary
 
m (Text replacement - "BlueSpice Farm" to "BlueSpice farm")
 
(8 intermediate revisions by 2 users not shown)
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 16: Line 14:
*Users can view their assignments on the page ''Special:PageAssignments''.
*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.''
*Users with ''admin, maintenanceadmin'' or ''reviewer'' rights can manage all assignments on the page ''Special:ManagePageAssignments.''
*Assigned users can be shown directly in the title area of the page if the default setting is changed to:
<!--=== Zuweisungen im Titelbereich anzeigen ===
Seitenzuweisungen können im Titelbereich einer Seite angezeigt werden. Dies kann in ''LocalSettings.php'' (oder in der PHP Datei im ''d.settings'' Verzeichnis) aktiviert werden:
$GLOBALS['bsgBlueSpiceCalummaPageHeaderBeforeContentEnabledProviders'] = [ "pageheader-assignments" ];
Das Anzeigelimit der zugewiesenen Benutzer läßt sich festlegen:-->
$GLOBALS['bsgPageAssignmentsPageHeaderLimit'] = 25;


=== 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" ];
Set the limit:
Set the limit:
  $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 ''<bluespice-installationpath>/extensions/BlueSpicePageAssignments/extension.json'':<syntaxhighlight lang="json">
"PageAssignmentsActivatedTypes": {
"PageAssignmentsActivatedTypes": {
"value": [
"value": [
Line 34: Line 38:
</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 />
[[File:pageassignments-blacklist.png|alt=Exclude users from page assignment "everyone"|center|thumb|650x650px|Exclude users from page assignment "everyone"]]
|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 [https://support.hallowelt.com/issues/25456 erm:25456]
|extensionType=core
|extensionFocus=organizer
}}
}}

Latest revision as of 10:51, 7 June 2024

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 cloud 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.
  • Assigned users can be shown directly in the title area of the page if the default setting is changed to:
$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 <bluespice-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