Current configuration on the wiki
Find a file
Derick Alangi d372626b97
objectcache: Introduce ObjectCacheFactory MW service
ObjectCache is already doing a lot of factory pattern logic like
creating instances of the various BagOStuff, this should really be
the responsibility of the factory servicet.

This patch introduces a proper factory (ObjectCacheFactory) to handle
the responsibility of creating various instances of BagOStuff. Since
`newFromParams()` is a static function that gets passed in configuration
of $wgObjectCaches, that can stay that way (to keep supporting how we do
this in prod today).

Technical Breaking Change: `ObjectCache::makeLocalServerCache()` now has
a parameter and requires it but there are no callers of this method outside
MW core hence it is safe to change (and this patch update all callers) to
work correctly. Cache prefix is gotten from global state because sometimes
at this stage, the services container is not available.

Bug: T358346
Change-Id: I3179a387486377c6a575d173f39f82870c49c321
2024-03-19 12:38:39 +03:00
.phan build: Fix line indents 2024-03-11 00:14:16 +01:00
cache
docs objectcache: Introduce ObjectCacheFactory MW service 2024-03-19 12:38:39 +03:00
extensions docs: Don't point people to deprecated Diffusion copies of gerrit repos 2023-04-03 10:27:57 -04:00
images Set "X-Content-Type-Options: nosniff" header in images/.htaccess 2023-02-24 23:59:22 -05:00
includes objectcache: Introduce ObjectCacheFactory MW service 2024-03-19 12:38:39 +03:00
languages Localisation updates from https://translatewiki.net. 2024-03-19 08:07:10 +01:00
maintenance migrateBlocks.php: Fix infinite loop 2024-03-13 11:04:12 +11:00
mw-config Namespace includes/context 2024-02-08 11:07:01 -05:00
resources Merge "resources: Use colon-separator in content language for htmlform" 2024-03-16 21:13:50 +00:00
skins docs: Don't point people to deprecated Diffusion copies of gerrit repos 2023-04-03 10:27:57 -04:00
tests objectcache: Introduce ObjectCacheFactory MW service 2024-03-19 12:38:39 +03:00
.dockerignore
.editorconfig Fix .editorconfig for tests/parser/ directory 2024-02-27 17:35:16 +01:00
.eslintignore .eslintignore: Remove jquery.tipsy reference 2024-01-16 21:11:39 +00:00
.eslintrc.json eslint: Only apply client rules to client files 2022-02-09 02:40:11 +00:00
.fresnel.yml
.gitattributes .gitattributes: Ship docker-compose.yml to the tarball 2022-11-30 09:37:13 -05:00
.gitignore Merge "maintenance: Remove dev folder" 2024-01-01 20:24:44 +00:00
.gitmessage git: Introduce .gitmessage 2023-05-21 14:20:31 +03:00
.gitreview
.mailmap CREDITS: Fix various duplicates 2024-03-14 11:53:13 -07:00
.phpcs.xml build: Fix line indents 2024-03-11 00:14:16 +01:00
.stylelintrc.json Login page: Use Codex CSS components 2023-07-06 17:20:17 -07:00
.svgo.config.js build: Update SVGO to v3.0.2 2023-06-15 12:24:22 -07:00
.vsls.json build: Upgrade eslint-config-wikimedia from 0.22.1 to 0.24.0 2023-02-07 10:17:30 -05:00
api.php Namespace includes/context 2024-02-08 11:07:01 -05:00
autoload.php objectcache: Introduce ObjectCacheFactory MW service 2024-03-19 12:38:39 +03:00
CODE_OF_CONDUCT.md
composer.json Merge "Update wikimedia/remex-html to 4.1.0" 2024-03-18 13:52:55 +00:00
composer.local.json-sample
COPYING
CREDITS CREDITS: Fix various duplicates 2024-03-14 11:53:13 -07:00
DEVELOPERS.md DEVELOPERS.md: fix formatting in bullet list 2024-01-19 09:11:25 +01:00
docker-compose.yml docker: Update apache2 image to one with a /view rewrite rule 2023-07-20 15:32:51 -04:00
FAQ
Gruntfile.js build: Update karma-qunit to 4.2.0 and remove old __karma__ hack 2024-03-02 20:11:36 +00:00
HISTORY Fix some spelling errors 2024-03-18 20:58:11 +11:00
img_auth.php Namespace includes/context 2024-02-08 11:07:01 -05:00
index.php Namespace includes/context 2024-02-08 11:07:01 -05:00
INSTALL Prepare active branch following REL1_41 cut, labelling as 1.42-alpha 2023-10-09 22:11:03 -04:00
jsdoc-plugin-allow-dots-in-modules.js jsdoc: Support dots in '@module <name>' and '@exports <name>' 2024-02-07 20:41:54 +00:00
jsdoc.js Merge "docs: Include moment in JSDoc" 2024-03-15 23:49:05 +00:00
load.php ResourceLoader: Follow-up creation of ResourceLoaderEntryPoint 2024-02-22 22:30:39 +00:00
opensearch_desc.php Use namespaced classes 2023-12-11 16:07:18 +01:00
package-lock.json Update jsdoc-wmf-theme from 0.0.12 to 0.0.13 2024-03-05 08:11:23 -08:00
package.json Update jsdoc-wmf-theme from 0.0.12 to 0.0.13 2024-03-05 08:11:23 -08:00
phpunit.xml.dist phpunit: Determine what extensions to load in unit tests via config 2023-09-25 23:03:48 +00:00
README.md docs: Link to "Local development quickstart" in README 2024-01-22 13:58:11 +00:00
RELEASE-NOTES-1.42 objectcache: Introduce ObjectCacheFactory MW service 2024-03-19 12:38:39 +03:00
rest.php Rest: Turn Rest\EntryPoint into a MediaWikiEntryPoint subclass 2024-03-12 14:37:18 +01:00
SECURITY
thumb.php Namespace includes/context 2024-02-08 11:07:01 -05:00
thumb_handler.php
UPGRADE Update DEVELOPERS.md and UPGRADE with new way to use update.php 2023-06-16 12:33:56 +00:00

MediaWiki

MediaWiki is a free and open-source wiki software package written in PHP. It serves as the platform for Wikipedia and the other Wikimedia projects, used by hundreds of millions of people each month. MediaWiki is localised in over 350 languages and its reliability and robust feature set have earned it a large and vibrant community of third-party users and developers.

MediaWiki is:

  • feature-rich and extensible, both on-wiki and with hundreds of extensions;
  • scalable and suitable for both small and large sites;
  • simple to install, working on most hardware/software combinations; and
  • available in your language.

For system requirements, installation, and upgrade details, see the files RELEASE-NOTES, INSTALL, and UPGRADE.

MediaWiki is the result of global collaboration and cooperation. The CREDITS file lists technical contributors to the project. The COPYING file explains MediaWiki's copyright and license (GNU General Public License, version 2 or later). Many thanks to the Wikimedia community for testing and suggestions.