Current configuration on the wiki
Find a file
Derick Alangi 027fb1c8cd Fix condition if...else in getDB() & PHPDoc comment for getUserDB()
So the conditional check should by default return $this->mDb if it's not
null, so, the else seems not to be needed(?). If we have a database handle
to process the current batch, $this->getDB() will return IMaintainableDatabase
but if it's not available (null), a call to $this->getDB() will return an
instance of \Wikimedia\Rdbms\Database is returned instead.

In accordance with the documentation (phpdoc), update the method getUserDB()
to be compliant with callers return type.

Change-Id: I95f3407dd2ffe8e4a1ad7a70be86b6cf3b65ff50
2019-02-06 09:50:59 +00:00
cache Revert .htaccess permissions back to 0644 2013-10-28 14:38:07 -07:00
docs resourceloader: Support TestModules registration via extension.json 2019-02-05 15:27:37 -08:00
extensions Actually delete extensions/ArticleCreationWorkflow 2017-09-07 18:18:36 -07:00
images Change bug ID to Phabricator task ID 2016-02-03 20:13:10 -05:00
includes Merge "Remove deprecated class SquidUpdate" 2019-02-06 01:33:12 +00:00
languages Merge "Fix message documentation to refer to Special:Block page" 2019-02-06 00:57:41 +00:00
maintenance Fix condition if...else in getDB() & PHPDoc comment for getUserDB() 2019-02-06 09:50:59 +00:00
mw-config build: Update eslint-config-wikimedia to 0.10.0 2019-01-08 17:40:11 +00:00
resources Merge "Disallow user suppression in a partial block" 2019-02-05 23:27:37 +00:00
skins Revert "Creating new WMF 1.30.0-wmf.2 branch" 2017-05-25 22:57:06 +02:00
tests Merge "Add test for User::isBlockedFrom" 2019-02-06 00:46:34 +00:00
.editorconfig Add a simple .editorconfig 2017-08-21 18:00:49 +00:00
.eslintrc.json build: Update eslint-config-wikimedia to 0.10.0 2019-01-08 17:40:11 +00:00
.gitattributes SECURITY: Don't exclude .htaccess files from git archive 2018-09-20 22:26:11 +01:00
.gitignore docs: Remove 'code-coverage' placeholder directory 2019-01-25 18:35:46 -08:00
.gitreview Swapping defaultbranch for track 2016-10-25 00:32:10 +00:00
.mailmap Add me to .mailmap and remove duplicate name 2019-01-08 05:43:55 +00:00
.phpcs.xml Remove deprecated class SquidUpdate 2019-02-05 20:35:05 +01:00
.stylelintrc.json build: Update stylelint 2017-10-27 13:31:41 +01:00
.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 Remove deprecated class SquidUpdate 2019-02-05 20:35:05 +01:00
CODE_OF_CONDUCT.md Update CoC file in Core 2018-09-30 19:42:59 +00:00
composer.json Merge "build: Don't install symfony/polyfill-* that we require" 2019-01-31 01:32:51 +00:00
composer.local.json-sample Add a composer.local.json-sample 2016-01-08 20:25:38 +00:00
COPYING Replace HTTP by HTTPS in docs 2017-10-15 11:11:16 +02:00
CREDITS Add me to .mailmap and remove duplicate name 2019-01-08 05:43:55 +00:00
FAQ Documentation link changes 2016-10-07 20:32:45 +00:00
Gruntfile.js Move exif messages to a separate i18n file 2018-12-27 17:05:55 +02: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: Disable ChronologyProtector on load.php (again) 2018-04-20 01:15:29 +01: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.10.1 2019-02-02 11:05:04 -08: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 "Remove deprecated class SquidUpdate" 2019-02-06 01:33:12 +00:00
SECURITY Add SECURITY 2017-10-03 13:03:35 -07:00
thumb.php Fix common typos in code 2018-09-02 09:03:07 +00:00
thumb_handler.php Clean up access points 2014-03-28 01:05:30 +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.