Current configuration on the wiki
Find a file
Niklas Laxström a08fc9eed6 Improve documentation of the PageContentLanguage hook
Clarify that the type of second parameter that is being passed
to the hooks can be anything because one hook can change it and
then it is passed to another hook without the hook caller having
possibility to check or modify the value.

Clarify that hooks should only return Language objects.

Rename $wgLang to $userLang in the hook parameter documentation to
avoid false posivite matches for the global.

Fix some typos, use Title::inNamespace and add a test assertion.

Also, the $content parameter is unused by all implementations of
this method, and on quick look never passed by any caller. I kept
it for now, however.

Bug: T214358
Change-Id: Iae49d2998c2b762565d232c0337d84d43a4a900c
2019-03-12 08:05:59 +01:00
cache
docs Improve documentation of the PageContentLanguage hook 2019-03-12 08:05:59 +01:00
extensions
images
includes Improve documentation of the PageContentLanguage hook 2019-03-12 08:05:59 +01:00
languages Localisation updates from https://translatewiki.net. 2019-02-24 22:23:34 +01:00
maintenance Upgrade moment from 2.19.3 to 2.24.0 2019-02-22 21:15:18 +00:00
mw-config build: Update eslint-config-wikimedia to 0.11.0 2019-02-20 23:36:03 +00:00
resources Upgrade moment from 2.19.3 to 2.24.0 2019-02-22 21:15:18 +00:00
skins
tests Improve documentation of the PageContentLanguage hook 2019-03-12 08:05:59 +01:00
.editorconfig
.eslintrc.json build: Update eslint-config-wikimedia to 0.11.0 2019-02-20 23:36:03 +00:00
.fresnel.yml build: Increase fresnel runs to 5, and add more scenarios 2019-02-22 02:39:59 +00:00
.gitattributes SECURITY: Don't exclude .htaccess files from git archive 2018-09-20 22:26:11 +01:00
.gitignore eslint: Enable caching 2019-02-19 19:57:08 +00:00
.gitreview
.mailmap Add me to .mailmap and remove duplicate name 2019-01-08 05:43:55 +00:00
.phpcs.xml Merge "Move upload stash related exceptions to own files" 2019-02-08 02:50:54 +00:00
.stylelintrc.json
.travis.yml build: Remove newer HHVM versions we'll never support 2019-01-23 05:18:30 +00:00
api.php Fix index name in comment to "PHP_INFO" 2018-10-09 02:00:34 +00:00
autoload.php Merge "Print logs generated during unit test when test fails" 2019-02-22 08:01:16 +00:00
CODE_OF_CONDUCT.md Update CoC file in Core 2018-09-30 19:42:59 +00:00
composer.json Update OOUI to v0.30.3 2019-02-21 11:08:08 +00:00
composer.local.json-sample
COPYING
CREDITS Add me to .mailmap and remove duplicate name 2019-01-08 05:43:55 +00:00
FAQ
Gruntfile.js eslint: Enable caching 2019-02-19 19:57:08 +00:00
HISTORY Rescue some more HISTORY 2019-01-14 16:12:46 +00:00
img_auth.php INSTALL: Don't warn against using PHP "as a CGI plugin" 2018-07-26 01:59:44 -04:00
index.php PHPVersionCheck: Remove obsolete load.php code and simplify 2018-10-28 14:12:54 -07:00
INSTALL INSTALL, UPGRADE: Re-wrap to 80 chars and enforce 2018-10-16 19:45:25 -07:00
jsduck.json resources: Rename oojs-ui file paths to ooui per general branding 2018-09-10 14:35:45 -07:00
load.php resourceloader: Instantiate main class via ServiceWiring 2019-02-18 17:55:09 +00:00
opensearch_desc.php Enforce no-session constraint in opensearch_desc.php and profileinfo.php 2018-10-03 15:08:06 -04:00
package.json build: Update eslint-config-wikimedia to 0.11.0 2019-02-20 23:36:03 +00:00
profileinfo.php Use PHP 7 '??' operator instead of if-then-else 2018-10-27 23:46:13 +02:00
README Revert "docs: Rename README to README.md" 2018-06-07 06:53:59 +00:00
README.mediawiki Revert "docs: Rename README to README.md" 2018-06-07 06:53:59 +00:00
RELEASE-NOTES-1.33 Merge "Upgrade moment from 2.19.3 to 2.24.0" 2019-02-24 00:38:34 +00:00
SECURITY
thumb.php Fix common typos in code 2018-09-02 09:03:07 +00:00
thumb_handler.php
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.