Current configuration on the wiki
Find a file
Timo Tijhof 5c860e462e HeaderCallback: Remove pre-caching of WebRequest::getRequestId
This effectively reverts ef26a5b07b (I245747d0b6fcdf0f6), which
added the pre-caching to implicity autoload additional classes used by
getRequestId(), per https://phabricator.wikimedia.org/T261260#6630577.

This has since been fixed by 5ab13a054 (Ia542ac7aab7b), which
simplified WebRequest::getRequestId to no longer involve other classes.

The impact of ef26a5b07b was that `$wgAllowExternalReqID` no
longer worked in production, because HeaderCallback is, and has to,
be called in Setup.php prior to loading LocalSettings.php, thus it
couldn't be set in time. This meant the `reqId` logged from MW went
back to the value of UNIQUE_ID or wfRandomString, not X-Request-Id.

Side effects:

* WikimediaDebug can't find XHGui profiles because
  wmf-config/profiler.php sees `X-Request-Id`, whereas the JS code
  that exported the value of `getRequestId` does not, thus they have
  different IDs.

* Logstash search for a reqId no longer find messages correlating
  with php-wmerrors (puppet php7-fatal-erorr.php), same issue as
  XHGui.

* Logstash results from Varnish, ATS, or Apache don't correlate with
  MW log messages, etc.

Bug: T273256
Change-Id: I3d5f440591c83d7f8c133e3e3a544175313bbd6b
2021-03-10 18:29:55 +00:00
.phan build: Enable SecurityCheck-DoubleEscaped and suppress issues 2020-12-30 23:34:20 +00:00
.pipeline pipeline: Use /srv/mediawiki as production working directory 2021-02-23 09:48:42 -08:00
cache
docs Drop wgContLang, deprecated in 1.32 2021-03-08 13:27:28 -06:00
extensions
images
includes HeaderCallback: Remove pre-caching of WebRequest::getRequestId 2021-03-10 18:29:55 +00:00
languages Merge "preferences: Change link text for downloading user data" 2021-03-09 19:31:04 +00:00
maintenance Merge "Define a batch size in maintenance/manageJobs.php" 2021-03-09 20:17:04 +00:00
mw-config Mark .mw-infobox styles as deprecated 2021-02-09 12:46:18 +01:00
resources Escape <input> in DateTimeInputWidget documentation 2021-03-08 21:04:28 +00:00
skins
tests Merge "rdbms: avoid undefined "expectBy" notices in TransactionProfiler" 2021-03-09 19:50:13 +00:00
.dockerignore Fix a typo in .dockerignore 2020-12-05 10:15:14 +01:00
.editorconfig
.eslintignore build: Ignore default upload path in eslint 2021-03-04 17:58:15 +00:00
.eslintrc.json build: Updating npm dependencies 2021-01-03 15:27:57 -08: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 Update CREDITS and remove a duplicate CREDITS entry 2021-03-06 17:49:23 +01:00
.phpcs.xml Drop wgContLang, deprecated in 1.32 2021-03-08 13:27:28 -06:00
.stylelintrc.json stylelintrc.json: Remove unused pattern 2020-12-29 14:19:43 +01:00
.travis.yml build: Document a one-line dependency-free pure php install method 2021-01-29 01:32:48 +00:00
.vsls.json
api.php
autoload.php Drop MysqlUpdater::doUserUniqueUpdate and its sql patch 2021-03-08 17:17:55 +01:00
CODE_OF_CONDUCT.md
composer.json Allow Composer 2.0 2021-03-01 13:40:55 +11:00
composer.local.json-sample
COPYING
CREDITS Update CREDITS and remove a duplicate CREDITS entry 2021-03-06 17:49:23 +01:00
DEVELOPERS.md [docker] Set user/group mapping for all host OS, not just Linux 2021-01-29 19:34:01 +01: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 Update stylelint-config-wikimedia to 0.10.3 2020-11-19 23:13:37 +00:00
HISTORY Add 1.31.11, 1.31.12, 1.35.1 to HISTORY 2020-12-18 03:24:54 +00:00
img_auth.php Revert "Enhance GroupPermissionsLookup and use it." 2021-01-12 04:48:49 +00:00
index.php
INSTALL PHPVersionCheck: Complain about known-bad versions above minimum 2021-02-25 15:17:21 +00:00
jsduck.json build: Upgrade eslint-config-wikimedia from 0.17.0 to 0.18.1 2021-02-18 08:39:09 -08:00
load.php
opensearch_desc.php
package-lock.json build: Upgrade eslint-config-wikimedia from 0.18.1 to 0.18.2 2021-03-04 09:39:12 -08:00
package.json build: Upgrade eslint-config-wikimedia from 0.18.1 to 0.18.2 2021-03-04 09:39:12 -08:00
phpunit.xml.dist Remove misleading ** in phpunit.xml.dist 2021-02-26 18:03:09 +01:00
README.md
RELEASE-NOTES-1.36 Merge "Drop wgContLang, deprecated in 1.32" 2021-03-09 06:21:05 +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
UPGRADE Fail update if bot_passwords doesn't exist 2021-01-30 16:35:37 +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.