aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance
diff options
context:
space:
mode:
authorThalia <thalia.e.chan@googlemail.com>2025-03-17 09:54:13 +0000
committerThalia <thalia.e.chan@googlemail.com>2025-03-17 10:00:05 +0000
commita0b926c81ff8b6737a42aec4dbf9eda15c9a5084 (patch)
tree61c78b5ba5273ae695fbadf95ea4566357076332 /maintenance
parentec2fd36f5ceee8735d1bc95ae6cb009c2e636556 (diff)
downloadmediawikicore-a0b926c81ff8b6737a42aec4dbf9eda15c9a5084.tar.gz
mediawikicore-a0b926c81ff8b6737a42aec4dbf9eda15c9a5084.zip
createAndPromote: Add documentation about automatic global groups
Why: * If createAndPromote is run while CentralAuth is loaded and $wgCentralAuthAutomaticGlobalGroups is configured, the global groups will not be updated atomatically, and instead must be updated manually. * This decision was made as part of T376315, which introduces automatic global groups, because we do not expect there to be a need for automatic global groups to work with the groups that are permitted by createAndPromote. What: * Document this behaviour in the createAndPromote documentation. Bug: T376315 Change-Id: Ic5ccb82f5adee5c939b1c3f7ebcaa3dff5929ee4
Diffstat (limited to 'maintenance')
-rw-r--r--maintenance/createAndPromote.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/maintenance/createAndPromote.php b/maintenance/createAndPromote.php
index ac66a7c946b5..2a289baa04b2 100644
--- a/maintenance/createAndPromote.php
+++ b/maintenance/createAndPromote.php
@@ -37,6 +37,9 @@ use MediaWiki\WikiMap\WikiMap;
/**
* Maintenance script to create an account and grant it rights.
*
+ * Note that, if CentralAuth is loaded and $wgCentralAuthAutomaticGlobalGroups is
+ * configured, this script will not update the global groups automatically.
+ *
* @ingroup Maintenance
*/
class CreateAndPromote extends Maintenance {