wiki.techinc.nl/docs
Niklas Laxström 855b1794b6 Unstub $wgLang for PageContentLanguage hook
This is to avoid annoying fatal errors when someone annotated their
hook handler to only expect Language objects, but that expectation
is violated due to this code possibly passing StubUserLang to hooks,
some of which may also assign it to $pageLang.

Even with this in place, it is probably a good idea for hook handlers
to refrain from type hinting parameters that are passed by reference
because their types cannot be guaranteed.

Bug: T214358
Change-Id: I88405a8de4b13675eb5a9d11e9ddc87e20a85fb4
2019-05-16 18:49:53 +02:00
..
databases Remove DB2 support 2013-02-25 13:47:03 -08:00
html .gitignore for generated html doc 2012-03-31 20:17:34 +02:00
kss docs/kss/package.json: Update Gerrit /r/p/ link to /r/ 2019-04-29 23:31:02 +00:00
php-memcached Fix typos 2018-08-14 09:52:19 +00:00
uidesign docs: Remove table-layout documentation from core 2018-07-19 14:39:34 +02:00
contenthandler.txt Removed deprecated ContentHandler hooks. 2017-01-18 21:19:17 +00:00
database.txt Replace wfGetLB 2018-05-02 22:30:24 +02:00
deferred.txt Fix $wgUpdateRowsPerJob default in docs/deferred.txt 2017-09-15 11:18:22 +02:00
distributors.txt Hard-deprecate the $wgUseTidy option 2018-09-20 11:08:40 -04:00
doxygen_first_page.php Fix whitespace issues around parentheses 2015-06-16 22:14:02 +03:00
export-0.1.xsd Fix trailing whitespace (and mixed spaces) in XSD files 2012-05-27 14:03:29 +01:00
export-0.2.xsd Fix trailing whitespace (and mixed spaces) in XSD files 2012-05-27 14:03:29 +01:00
export-0.3.xsd Fix trailing whitespace (and mixed spaces) in XSD files 2012-05-27 14:03:29 +01:00
export-0.4.xsd Fix trailing whitespace (and mixed spaces) in XSD files 2012-05-27 14:03:29 +01:00
export-0.5.xsd Fix trailing whitespace (and mixed spaces) in XSD files 2012-05-27 14:03:29 +01:00
export-0.6.xsd Fix trailing whitespace (and mixed spaces) in XSD files 2012-05-27 14:03:29 +01:00
export-0.7.xsd xsd: fix id within contributor to allow 0 2012-06-27 11:31:41 +02:00
export-0.8.xsd Fix escaping of pattern in export-0.8.xsd 2012-11-03 19:38:58 +01:00
export-0.9.xsd Fix 2 0.8 to 0.9 in export-0.9.xsd 2014-07-30 21:08:46 +01:00
export-0.10.xsd Validate the output of the dump scripts. 2019-03-20 22:25:20 +01:00
export-demo.xml Fix common typos 2018-08-08 13:16:45 +02:00
extension.schema.v1.json registration: Allow to require environment abilities 2019-04-13 08:14:44 -07:00
extension.schema.v2.json registration: Allow to require environment abilities 2019-04-13 08:14:44 -07:00
globals.txt docs: Remove outdated information from globals.txt 2018-10-14 19:13:03 +00:00
hooks.txt Unstub $wgLang for PageContentLanguage hook 2019-05-16 18:49:53 +02:00
injection.txt Fix usage of MediaWikiServices in comments and documentation 2019-03-03 14:09:33 +00:00
language.txt http://www.mediawiki.org --> https://www.mediawiki.org 2014-01-28 07:06:02 +00:00
linkcache.txt ellapsed => elapsed 2015-06-23 03:32:33 +00:00
logger.txt Move MWLogger classes to MediaWiki\Logger namespace 2015-04-03 11:32:24 -07:00
magicword.txt Fixed typo: available 2014-03-15 13:02:30 +00:00
maintenance.txt Clean up some old readme files and remove references to SVN 2013-11-16 10:38:50 +00:00
memcached.txt docs: Update for deprecated $parserMemc 2018-05-31 14:25:13 +01:00
ontology.owl Specify licence of mediawiki ontology.owl 2019-03-04 16:12:13 +01:00
pageupdater.txt Add constant for the name of the 'main' slot for MCR 2018-09-24 16:52:12 -07:00
README Documentation link changes 2016-10-07 20:32:45 +00:00
schema.txt http://www.mediawiki.org --> https://www.mediawiki.org 2014-01-28 07:06:02 +00:00
scripts.txt Corrected grammatical error. 2019-05-08 15:32:21 -04:00
sitelist-1.0.xsd Maintenance script for importing site info. 2015-02-18 18:39:14 +01:00
sitelist.txt ellapsed => elapsed 2015-06-23 03:32:33 +00:00
skin.txt Add 'Special:MyLanguage' in 'All skins' category link 2018-05-26 16:06:02 +02:00
title.txt Fix case of some Title methods 2013-03-26 10:54:15 +01:00

/docs Directory README
======================

The 'docs' directory contain various text files that should help you understand
the most important parts of the code of MediaWiki. More in-depth documentation
can be found at:
  https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Code
  https://www.mediawiki.org/wiki/Special:MyLanguage/Developer_hub
API documentation is automatically generated and updated daily at:
  https://doc.wikimedia.org/mediawiki-core/master/php/html/

You can get a fresh version using 'make doc' or mwdocgen.php in the
../maintenance/ directory.


For end users, most of the documentation is located online at:
  https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents
Documentation for MediaWiki site administrators is at:
  https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Contents