Current configuration on the wiki
Find a file
Daimona Eaytoy ead444b208 mail: Make EmailUser::getPermissionsError() return StatusValue
This is non-trivial because:
- "blockedemailuser" is not a real message, so it can't be passed to
  StatusValue. For now, use BlockErrorFormatter to obtain a suitable
  message. In the future, we should simply rely on
  Authority/PermissionManager to set a message for us, but that's left
  for another change.
- The hooks used here return an error in the format accepted by
  ErrorPageError. There's no "official" way to do this with StatusValue.
  This patch uses StatusValue::value as a temporary workaround, but
  these hooks should be replaced with a new hook that uses StatusValue
  for errors.

As an aside, note that ApiEmailUser passes the return value of
getPermissionsError to dieWithError(), which doesn't work in the cases
above. This is a pre-existing issue that will be fixed in another patch.

Bug: T265541
Change-Id: I84cc521b24adef6406e0378a293438d5cd7db02a
2023-05-20 13:21:59 +00:00
.phan Revert "build: Add phan stub for ReturnTypeWillChange" 2023-05-16 18:01:30 +00:00
cache
docs Add Authorization to default $wgAllowedCorsHeaders 2023-05-12 19:13:10 +02:00
extensions
images
includes mail: Make EmailUser::getPermissionsError() return StatusValue 2023-05-20 13:21:59 +00:00
languages Link to Special:Diff in default undo edit summary 2023-05-20 12:57:29 +03:00
maintenance Installer: Remove PCRE minimum version and Unicode support checks 2023-05-20 11:19:31 +03:00
mw-config
resources Merge "Use HTMLForm and OOUI in Special:MergeHistory" 2023-05-20 07:38:49 +00:00
skins
tests mail: Make EmailUser::getPermissionsError() return StatusValue 2023-05-20 13:21:59 +00:00
.dockerignore
.editorconfig Set .editorconfig to not trim lines in parser tests 2023-04-30 01:06:11 -04:00
.eslintignore tests: Configure ESLint to permit ES2022 syntax in test suites 2023-04-17 21:41:53 +00:00
.eslintrc.json
.fresnel.yml
.gitattributes
.gitignore
.gitreview
.mailmap CREDITS: Update .mailmap and CREDITS 2023-05-05 13:49:45 +01:00
.phpcs.xml build: Cleanup of .phpcs.xml 2023-04-13 12:57:51 +02:00
.stylelintrc.json
.svgo.config.js
.vsls.json
api.php Replace internal Hooks::runner 2023-05-11 06:17:38 +00:00
autoload.php Merge "Introduce ChangeTagsStore service and move some functions of ChangeTags" 2023-05-19 08:58:27 +00:00
CODE_OF_CONDUCT.md
composer.json Update OOUI to v0.47.0 2023-05-18 12:03:32 -07:00
composer.local.json-sample
COPYING
CREDITS CREDITS: Update .mailmap and CREDITS 2023-05-05 13:49:45 +01:00
DEVELOPERS.md
docker-compose.yml docker-compose: Add MW_DOCKER_PORT explicitly to environment 2023-04-12 15:37:41 -06:00
FAQ
Gruntfile.js Update eslint-config-wikimedia to 0.25.0 2023-05-05 15:03:43 +01:00
HISTORY
img_auth.php Replace internal Hooks::runner 2023-05-11 06:17:38 +00:00
index.php
INSTALL
jsduck.json
load.php
opensearch_desc.php Replace internal Hooks::runner 2023-05-11 06:17:38 +00:00
package-lock.json build: Updating npm dependencies 2023-05-07 00:17:02 +00:00
package.json Update eslint-config-wikimedia to 0.25.0 2023-05-05 15:03:43 +01:00
phpunit.xml.dist Remove LessFileCompilationTest 2023-05-02 12:47:41 +10:00
README.md
RELEASE-NOTES-1.40 RELEASE-NOTES-1.40: Correct wgSpecialContributeSkinsEnabled doc 2023-05-17 15:32:37 +01:00
RELEASE-NOTES-1.41 Merge "Remove NamespaceInfo::getRestrictionLevels" 2023-05-20 12:10:12 +00: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.