From 2d8298c36cff31707b6665edcacc29f6bac84d13 Mon Sep 17 00:00:00 2001 From: Dreamy Jazz Date: Mon, 23 Sep 2024 18:31:48 +0100 Subject: Improve documentation for wgAutopromoteOnce Why: * The documentation for wgAutopromoteOnce gives one valid value for the "event" but says "Where the event is either" * There is only one accepted format for "event", so this should be clarified in the documentation. What: * Improve the documentation for wgAutopromoteOnce. Change-Id: I014c0102985152e1bb7dda3a48a5e5988f24ddbd --- includes/MainConfigSchema.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'includes/MainConfigSchema.php') diff --git a/includes/MainConfigSchema.php b/includes/MainConfigSchema.php index e6acf64f0dcf..456f10d57fe3 100644 --- a/includes/MainConfigSchema.php +++ b/includes/MainConfigSchema.php @@ -8349,8 +8349,7 @@ class MainConfigSchema { * [ event => criteria, ... ] * ``` * - * Where event is either: - * - 'onEdit' (when user edits) + * The only recognised value for event is 'onEdit' (when the user edits). * * Criteria has the same format as $wgAutopromote * -- cgit v1.2.3