aboutsummaryrefslogtreecommitdiffstats
path: root/includes/config/HashConfig.php
Commit message (Collapse)AuthorAgeFilesLines
* Standardise all our class alias deprecation comments for ease of greppingJames D. Forrester2024-03-191-4/+1
| | | | Change-Id: I7f85d931d3b79da23e87b4e5692b2e14be8fcaa0
* Namespace Config-related classes under \MediaWiki\ConfigJames D. Forrester2023-09-211-1/+10
| | | | | Bug: T166010 Change-Id: I4066885a7ea071d22497abcdb3f95e73e154d08c
* Use HashConfig to override config variables in phpunit testsdaniel2022-07-071-0/+8
| | | | | | | | | | | | | This implements config overrides with a HashConfig that is layered on top of the base config, so we can move away from global variables. Global variables are still updated using setMwGlobals, for compatibility with code that is still reading configuration from global variables. This fixes an issue with the default overrides not being applied to global variables. Change-Id: I1922d9b903dcafb83691c2d96790f72747eeef9c
* Introduce IterableConfigdaniel2022-02-141-1/+21
| | | | | Bug: T301544 Change-Id: I0a93ebb5305f95cf1b12df276f25a44195fedafa
* Improve some parameter docsUmherirrender2017-09-101-2/+5
| | | | | | Add missing @return and @param to function docs and fixed some @param Change-Id: I810727961057cfdcc274428b239af5975c57468d
* Fix reference in docs of HashConfig::setLeszek Manicki2016-10-271-1/+1
| | | | Change-Id: I82473e42a746ed4280ea22372d8d17d797070334
* Convert all array() syntax to []Kunal Mehta2016-02-171-1/+1
| | | | | | | | | | Per wikitech-l consensus: https://lists.wikimedia.org/pipermail/wikitech-l/2016-February/084821.html Notes: * Disabled CallTimePassByReference due to false positives (T127163) Change-Id: I2c8ce713ce6600a0bb7bf67537c87044c7a45c4b
* Add MultiConfig for fallback logicKunal Mehta2014-09-171-0/+75
This change adds MultiConfig and HashConfig classes, but does not actually use them anywhere. In a future change, we can convert DefaultSettings.php into a HashConfig instance and use MultiConfig as the 'main' config instance. Bug: 69418 Change-Id: I0ef2fbb86d5c27602d70240219ee08be31e2d09b