Current configuration on the wiki
Find a file
Timo Tijhof 0545fdc3af purgeParserCache.php: Implement --tag for purging one server only
Large wiki farms may have to purge servers concurrently (instead of
one at a time) in order to keep up with new writes and delete expired
rows faster than new rows are written.

The parameter for this uses server tags for three reasons:

* Maintenance risk and complexity.
  This requires the least information about MW configuration to be
  hardcoded in the scheduled maintenance cronjob (compared to: server
  indexes which are a runtime concept, or specific hostnames/IP/
  tableprefixes which may change and should not require
  coordinating changes elsewhere).

* Operational convenience.
  By using server tags, the parameters don't have to vary between
  data centers.

* Code complexity.
  The current code for obtaining connections is based on server indexes,
  which are easy to mapped at runtime from server tags. Other ways
  of identifying shard like hostnames are either an awkward fit (as
  they don't uniquely identify a shard per-se, with multiple instances
  on the same hardware at WMF), or require SqlBagOStuff to store and
  maintain more information about connections than it currently has
  readily available.

Bug: T282761
Change-Id: I618bc1e8ca3008a4dd54778ac24aa5948f27c52e
2021-06-24 18:01:27 +01:00
.phan Exclude includes/PHPVersionCheck.php from phan scanning 2021-03-29 15:16:06 -07:00
.pipeline pipeline: Use /srv/mediawiki as production working directory 2021-02-23 09:48:42 -08:00
cache
docs Post Revision-removal cleanup 2021-06-24 00:32:39 +00:00
extensions vscode live share settings 2020-07-07 15:31:17 +00:00
images Remove IE 6 security features from server-side code 2019-11-28 15:11:56 +11:00
includes purgeParserCache.php: Implement --tag for purging one server only 2021-06-24 18:01:27 +01:00
languages Localisation updates from https://translatewiki.net. 2021-06-24 08:17:22 +02:00
maintenance purgeParserCache.php: Implement --tag for purging one server only 2021-06-24 18:01:27 +01:00
mw-config stylelint: Enforce no-unsupported-browser-features 2021-06-05 14:42:03 +01:00
resources Merge "Remove deprecated HTML:infoBox" 2021-06-21 20:16:44 +00:00
skins vscode live share settings 2020-07-07 15:31:17 +00:00
tests ApiTestCase: For tokenType=auto respect no token possibility 2021-06-24 14:52:04 +00:00
.dockerignore Fix a typo in .dockerignore 2020-12-05 10:15:14 +01:00
.editorconfig build: Fix .editorconfig to allow spaces in markdown files 2021-04-29 23:56:23 +01:00
.eslintignore Add polyfills for ES6 array methods 2021-04-21 14:43:27 -07:00
.eslintrc.json eslint: Remove no-shadow setting, already set upstream 2021-06-05 14:50:18 +01:00
.fresnel.yml
.gitattributes Remove package-lock.json from the tarball 2020-08-07 23:10:26 -07:00
.gitignore Kill tests/phan 2020-11-17 16:04:33 +01:00
.gitreview
.mailmap Merge "Add .mailmap entry for 01miki10" 2021-04-06 18:50:18 +00:00
.phpcs.xml build: Cleanup and improve .phpcs.xml 2021-04-29 20:51:09 +00:00
.stylelintrc.json stylelint: Enforce no-unsupported-browser-features 2021-06-05 14:42:03 +01:00
.svgo.config.js build: Update SVGO to latest v2.3.0 and re-crush SVGs 2021-05-18 05:50:18 -07:00
.travis.yml Freenode -> Libera per wikimedia moving from freenode to libera 2021-05-20 22:10:24 +00:00
.vsls.json vscode live share settings 2020-07-07 15:31:17 +00:00
api.php docs: Improve entry point documentation 2020-07-02 02:07:25 +00:00
autoload.php EPIC: Remove the Revision class entirely 2021-06-10 15:57:44 +00:00
CODE_OF_CONDUCT.md docs: Exclude extra markdown files from Doxygen 2019-09-13 16:35:49 +00:00
composer.json Merge "composer: Make test run for the whole repo" 2021-06-09 07:12:37 +00:00
composer.local.json-sample
COPYING
CREDITS Remove duplicate mention on CREDITS 2021-05-12 00:26:35 +00:00
DEVELOPERS.md Freenode -> Libera per wikimedia moving from freenode to libera 2021-05-20 22:10:24 +00:00
docker-compose.yml [docker] Set user/group mapping for all host OS, not just Linux 2021-01-29 19:34:01 +01:00
FAQ
Gruntfile.js build: Update SVGO to latest v2.3.0 and re-crush SVGs 2021-05-18 05:50:18 -07:00
HISTORY HISTORY: Import 1.31.15, 1.35.3, 1.36.1 2021-06-23 18:03:24 +01:00
img_auth.php Revert "Enhance GroupPermissionsLookup and use it." 2021-01-12 04:48:49 +00:00
index.php docs: Improve entry point documentation 2020-07-02 02:07:25 +00:00
INSTALL Prepare for REL1_36 cut, labelling master as 1.37-alpha 2021-04-06 23:03:22 +00:00
jsduck.json Add polyfills for ES6 array methods 2021-04-21 14:43:27 -07:00
load.php Reapply Content-Length deferred updates patches 2021-04-08 09:25:56 +00:00
opensearch_desc.php In Web entry points, move file scope code into a main function 2020-06-25 11:31:45 +01:00
package-lock.json selenium: Upgrade WebdriverIO to v7 2021-06-09 19:33:52 +02:00
package.json selenium: Upgrade WebdriverIO to v7 2021-06-09 19:33:52 +02:00
phpunit.xml.dist Remove misleading ** in phpunit.xml.dist 2021-02-26 18:03:09 +01:00
README.md docs: Rename main README to README.md 2020-06-23 15:50:57 +01:00
RELEASE-NOTES-1.37 Remove $wgUser fallback in ParserOptions 2021-06-24 02:55:20 +00:00
rest.php
SECURITY
thumb.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
thumb_handler.php docs: Improve entry point documentation 2020-07-02 02:07:25 +00:00
UPGRADE UPGRADE: Remove nbsp, replace with a space 2021-04-08 18:32:57 -07: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.