Current configuration on the wiki
Find a file
Timo Tijhof 75ccdc6147 languages: Move default $wgNamespaceAliases to MessagesEn.php
These are not configuration but business logic, similar to the
canonical names that are in NamespaceInfo.php, these must always
exist and cannot be altered or unset.

They were previously unconditionally assigned during all requests
in Setup.php and passed down as "site configuration".

Changes:

* Move them to MessagesEn.php where they can be cached and
  processed the same way as other core-provided aliases.

  Document and confirm with tests that this is a mergeable
  attribute that follows the language chain.

* Remove the duplicated code in a few places that was reading
  this variable + Language::getNamespaceAliases(), to instead
  just call the latter and move the logic there, centralised,
  and tested.

  In doing so I noticed that these were applied in an
  inconsistent order. Sometimes the config won, sometimes not.
  There's no obvious right or wrong way here, but I've chosen
  to standardise on the way that Language::getNamespaceIds() did
  it, which is that config wins. This because that method seems
  to be most widely used of the three (it decides how URLs and
  titles are parsed), and thus the one I least want to change
  the behaviour of.

* Document that $wgNamespaceAliases may only be used to
  define (extra) aliases, it is and never was a way to access
  the complete list of aliases.

Bug: T189966
Change-Id: Ibb14181aba8c1b509264ed40523e9ab4000fd71a
2020-03-14 19:27:40 +00:00
.phan Fix conditional phan config for Excimer 2020-02-25 13:49:17 +11:00
.pipeline blubber.yml: Use renamed base image for dev images 2020-01-28 17:53:04 -07:00
cache
docs Merge "XmlDumpWriter: fix blob address output in stubs" 2020-03-13 09:51:10 +00:00
extensions Revert "Creating new WMF 1.30.0-wmf.2 branch" 2017-05-25 22:57:06 +02:00
images Remove IE 6 security features from server-side code 2019-11-28 15:11:56 +11:00
includes languages: Move default $wgNamespaceAliases to MessagesEn.php 2020-03-14 19:27:40 +00:00
languages languages: Move default $wgNamespaceAliases to MessagesEn.php 2020-03-14 19:27:40 +00:00
maintenance languages: Move default $wgNamespaceAliases to MessagesEn.php 2020-03-14 19:27:40 +00:00
mw-config Revert "mw-config: Avoid nested calls to dirname(), use levels" 2020-02-07 17:55:04 +00:00
resources Deprecate mediawiki.legacy.oldshared 2020-03-13 23:13:54 +00:00
skins Make skins/README looks like extensions/README file 2019-05-08 15:41:32 +02:00
tests languages: Move default $wgNamespaceAliases to MessagesEn.php 2020-03-14 19:27:40 +00:00
.editorconfig Add a simple .editorconfig 2017-08-21 18:00:49 +00:00
.eslintrc.json build: Linting for .vue files 2020-02-05 18:51:39 -08:00
.fresnel.yml build: Set Fresnel scenario run count to 7 2019-04-13 00:38:13 +01:00
.gitattributes Add configuration for Docker based development environment 2020-02-21 10:09:48 +00:00
.gitignore Add configuration for Docker based development environment 2020-02-21 10:09:48 +00:00
.gitreview
.mailmap Update CREDITS ahead of 1.34.0 release via updateCredits 2019-10-15 16:44:52 +00:00
.phpcs.xml Revert "Split FakeMaintenance and LoggedUpdateMaintenance to their own files" 2020-03-03 14:14:31 +00:00
.stylelintrc.json linting: Start enforcing a basic CSS class naming rule (with lots of opt-outs) 2019-04-12 10:18:45 -07:00
.travis.yml PHP 7.4 has been released, stop using 7.4 snapshot on travis 2020-01-16 14:04:18 +00:00
api.php docs: Add api.php to "API" doc group 2020-02-05 22:53:25 +00:00
autoload.php resourceloader: Support single-file component .vue files 2020-03-12 14:32:41 -07:00
CODE_OF_CONDUCT.md docs: Exclude extra markdown files from Doxygen 2019-09-13 16:35:49 +00:00
composer.json Updating pear/mail_mime (1.10.6 => 1.10.7) 2020-03-13 01:50:03 +00:00
composer.local.json-sample
COPYING Replace HTTP by HTTPS in docs 2017-10-15 11:11:16 +02:00
CREDITS Update CREDITS ahead of 1.34.0 release via updateCredits 2019-10-15 16:44:52 +00:00
DEVELOPERS.md MediaWiki-Docker: fix Fresh-Node links 2020-03-04 15:53:18 -08:00
docker-compose.yml docker: Bump image version to increase upload size 2020-03-04 15:42:09 -07:00
FAQ
Gruntfile.js build: Linting for .vue files 2020-02-05 18:51:39 -08:00
HISTORY HISTORY for todays releases 2019-12-19 14:32:45 +00:00
img_auth.php img_auth: Avoid various usage of deprecated code and also optimize 2020-02-20 18:36:15 +01:00
index.php docs: Improve "Entry points" documentation page 2020-02-04 21:44:38 +00:00
INSTALL Increase PHP requirement from 7.2.9 to 7.2.22 due to segfault issue 2020-02-24 09:55:00 -08:00
jsduck.json jquery.color: Merge $.colorUtil back into this module 2019-09-11 05:12:22 +01:00
load.php docs: Improve "Entry points" documentation page 2020-02-04 21:44:38 +00:00
opensearch_desc.php docs: Improve "Entry points" documentation page 2020-02-04 21:44:38 +00:00
package-lock.json package.json: Upgrade acorn to 7.1.1 2020-03-13 13:11:10 -07:00
package.json build: Remove unused 'jpeg-js' npm dev dependency 2020-03-02 02:22:43 +00:00
phpunit.xml.dist phpunit: Drop unused enforceTimeLimit command and related settings 2020-01-22 14:12:45 -08:00
README Revert "change phabricator URL" 2019-05-27 06:05:45 +00:00
README.mediawiki Revert "docs: Rename README to README.md" 2018-06-07 06:53:59 +00:00
RELEASE-NOTES-1.35 Setup: Remove compat for $wgUseSquid and friends 2020-03-14 16:59:26 +00:00
rest.php Add MW_REST_API and MW_ENTRY_POINT 2019-09-03 11:43:18 +10:00
SECURITY Add SECURITY 2017-10-03 13:03:35 -07:00
thumb.php docs: Add api.php to "API" doc group 2020-02-05 22:53:25 +00:00
thumb_handler.php docs: Add api.php to "API" doc group 2020-02-05 22:53:25 +00:00
UPGRADE INSTALL, UPGRADE: Re-wrap to 80 chars and enforce 2018-10-16 19:45:25 -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.

* Ready to get started?
** https://www.mediawiki.org/wiki/Special:MyLanguage/Download
* Looking for the technical manual?
** https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Contents
* Seeking help from a person?
** https://www.mediawiki.org/wiki/Special:MyLanguage/Communication
* Looking to file a bug report or a feature request?
** https://bugs.mediawiki.org/
* Interested in helping out?
** https://www.mediawiki.org/wiki/Special:MyLanguage/How_to_contribute

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.