aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Defines.php
diff options
context:
space:
mode:
authordaniel <dkinzler@wikimedia.org>2022-02-21 16:41:07 +0100
committerdaniel <dkinzler@wikimedia.org>2022-02-22 19:43:50 +0100
commita5277ce87fd9f9c542fe30a8bd0a2e3331a0997c (patch)
treea8f39b5eac29b3f69ba3d40e187c987430cd00c6 /includes/Defines.php
parent85e2a07fe6b93e780d284b0355cdd367813b4598 (diff)
downloadmediawikicore-a5277ce87fd9f9c542fe30a8bd0a2e3331a0997c.tar.gz
mediawikicore-a5277ce87fd9f9c542fe30a8bd0a2e3331a0997c.zip
Avoid references to DefaultSettings.
This replaces references to DefaultSettings with references to config-schema.yaml where appropriate. NOTE: this does not yet change Setup.php. DefaultSettings.php remains intact and is still being used. NOTE: this does not remove usages in the installer, see I5d8843a1062fbf for that. Bug: T300129 Change-Id: Ie6152cf510c3be61bc22167ca6d90dfc28910a45
Diffstat (limited to 'includes/Defines.php')
-rw-r--r--includes/Defines.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/Defines.php b/includes/Defines.php
index ffff59c2698a..41b1903ec6f7 100644
--- a/includes/Defines.php
+++ b/includes/Defines.php
@@ -172,8 +172,7 @@ define( 'SFH_OBJECT_ARGS', 2 );
/** @} */
/** @{
- * Autopromote conditions (must be here, so that they're loaded for
- * DefaultSettings.php before AutoLoader.php)
+ * Autopromote conditions
*/
define( 'APCOND_EDITCOUNT', 1 );
define( 'APCOND_AGE', 2 );