Current configuration on the wiki
Find a file
daniel 13acba25a0 REST: gracefully handle all exceptions.
ResponseFactory::createFromException already had support for arbitrary
exceptions, but Router was so far only using it for HttpExceptions,
leaving other kinds of exceptions uncaught.

In addition to catching all exceptions and generating an appropriate
JSON response for them, this patch introduces the ErrorReporter
interface, with an MWErrorReporter implementation which calls
MWExceptionHandler::rollbackMasterChangesAndLog(). This is how uncaught
errors are handled for requests coming in via api.php, so it seems
appropriate to use the same approach for requests coming in via
rest.php.

Bug: T285984
Change-Id: I0605a7693821ef58fac80ab67f51a742556a37fd
2021-11-02 20:33:13 +01:00
.phan
.pipeline
cache
docs
extensions
images
includes REST: gracefully handle all exceptions. 2021-11-02 20:33:13 +01:00
languages Localisation updates from https://translatewiki.net. 2021-11-02 07:55:50 +01:00
maintenance Drop experimental FileJournal system without deprecation 2021-11-01 14:08:09 +11:00
mw-config
resources Update WVUI to v0.3.2 2021-11-01 17:39:44 -07:00
skins
tests REST: gracefully handle all exceptions. 2021-11-02 20:33:13 +01:00
.dockerignore
.editorconfig
.eslintignore build: Add /cache to eslintignore 2021-09-24 00:47:22 +01:00
.eslintrc.json
.fresnel.yml
.gitattributes
.gitignore
.gitreview
.mailmap
.phpcs.xml Remove $wgShellLocale, always use C 2021-09-24 17:25:01 -07:00
.stylelintrc.json
.svgo.config.js
.vsls.json
api.php
autoload.php Drop experimental FileJournal system without deprecation 2021-11-01 14:08:09 +11:00
CODE_OF_CONDUCT.md
composer.json Upgrade RemexHtml to 3.0.0 2021-10-27 16:29:18 +00:00
composer.local.json-sample
COPYING
CREDITS
DEVELOPERS.md docs: Document in DEVELOPERS.md how to stop or restart the thing 2021-10-12 16:52:44 +00:00
docker-compose.yml docker: Update dev images to newer version with Composer 2.x 2021-10-23 02:21:33 +01:00
FAQ
Gruntfile.js
HISTORY Add 1.31.16/1.35.4/1.36.2 to HISTORY 2021-09-30 22:37:56 +00:00
img_auth.php
index.php
INSTALL
jsduck.json
load.php resourceloader: Avoid repeatly calls to getter functions 2021-09-26 01:55:13 +02:00
opensearch_desc.php
package-lock.json build: Updating dependencies 2021-10-04 06:38:39 +00:00
package.json build: Updating dependencies 2021-10-04 06:38:39 +00:00
phpunit.xml.dist PHPUnit: enable convertDeprecationsToExceptions 2021-09-25 10:05:18 +00:00
README.md
RELEASE-NOTES-1.37 Drop experimental FileJournal system without deprecation 2021-11-01 14:08:09 +11:00
RELEASE-NOTES-1.38 Update WVUI to v0.3.2 2021-11-01 17:39:44 -07:00
rest.php
SECURITY
thumb.php
thumb_handler.php
UPGRADE

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.