aboutsummaryrefslogtreecommitdiffstats
path: root/includes/config/ConfigRepository.php
Commit message (Collapse)AuthorAgeFilesLines
* docs: Adjust all @deprecated tags to use 'since…' for consistencyJames D. Forrester2024-05-011-1/+1
| | | | | | | | This skips ones that have been marked but were never in the then RELEASE-NOTES and later HISTORY file, and so weren't properly deprecated ever. Change-Id: I31df2d7e83182b5bf9524237fc4a1862356bfd5a
* Deprecate never-used ConfigRepository serviceDerick Alangi2024-01-241-0/+1
| | | | | | | Looks like this class and its corresponding services have been used since inception. Let's get rid of it. Change-Id: If427fb705bb86f019d24b6073f44af811dc1f13f
* Namespace Config-related classes under \MediaWiki\ConfigJames D. Forrester2023-09-211-2/+0
| | | | | Bug: T166010 Change-Id: I4066885a7ea071d22497abcdb3f95e73e154d08c
* config: Remove unused ConfigRepository::getValueOf() methodDerick Alangi2023-08-081-24/+9
| | | | | | | Introduced in I9419508eaa85ffc55520db7f33b3e9530fc99f00 but was never used anywhere. Change-Id: I4d5c059679313c37dd03eff8a77d6f77fbb7e33a
* Better docs to make phan happyDaimona Eaytoy2019-09-071-0/+2
| | | | Change-Id: I8a9a6330cf1f889cbb77dfc28c93774204767323
* Remove useless use of current and endFlorian2019-05-181-12/+0
| | | | | | | | The ConfigRepository is not an Interable (any more), so these functions don't have any useable effect. Bug: T221045 Change-Id: I6e5bfd9d922d2838c65d52815590dcad1fe6d284
* Use the ?? feature instead of isset() where it makes senseThiemo Kreuz2019-03-241-4/+2
| | | | Change-Id: I3a54f36b33d99ef3ff4c63e32e7dfcbcfc296135
* Fully extract services framework as a libraryLucas Werkmeister2019-01-161-1/+1
| | | | | | | | | | | This code doesn’t use any MediaWiki-specific code, so rename MediaWiki\Services to Wikimedia\Services and move it below libs/. (Of course, this does not apply to the MediaWikiServices subclass.) Class aliases are added to retain backwards compatibity for now. Bug: T211608 Change-Id: Ic14ea28ef21c359695b309d4293dbaaf5deedc09
* config: Add new ConfigRepositoryFlorian Schmidt2018-07-191-0/+224
This, for now, has the focus for holding metadata of each configuration option inside of MediaWiki (both extensions and core). It's very close to the Config interface and friends, and uses these implementations to retrieve the actual value of the configuration option. The goal with this change is to implement a basic architecture to allow to display the values of the curent configuration of the MediaWiki installation on-wiki (e.g. on a special page). It also provides a central point, where the currently known options can be fetched from. The long-term goal, of course, would be to get a web interface to really configure the MediaWiki installation. But, this is more like a dream, then a plan (from the point of view of this commit). Next steps would be: * Enable ExtensionRegistry to "register" the configuration options of extensions, so they're available in the repo (done). * Find a good way to get mediawiki/core configurations into this repo * Work out an overall architecture to display the different possible values. (I think about something like different formatters for types). Change-Id: I9419508eaa85ffc55520db7f33b3e9530fc99f00