Current configuration on the wiki
Find a file
Thalia 5310373336 Stop accessing User::mBlock and User::mBlockedby from tests
Update PermissionManagerTest and FormSpecialPageTestCase to use a
mock User object that returns a specified block.

Before this commit, these tests manipulate the public properties
User::mBlock and User::mBlockedby in order to change the user's
block. There is no advantage to doing this over mocking: it is not
more realistic, and is sensitive to changes in the code. These tests
need updating in order to deprecate public access to these properties
(see T229035).

Also, PermissionManager::testUserBlock is a large, complicated method
that tests three different things, so split it into three smaller
methods, each testing one thing:
* testCheckUserBlockActions: A blocked user is blocked/unblocked
  correctly from certain actions, depending on their block.
* testCheckUserBlockMessage: The correct block message key and
  parameters are returned, depending on the block.
* testCheckUserBlockEmailConfirmToEdit: A user is or isn't asked to
  provide email confirmation in order to edit, as specified by the
  config.

Change-Id: I0bb9252b476131c2b255d4c503c0dab5dfff94be
2019-10-15 15:05:53 +00:00
.phan Unsuppress PhanParamsTooMany 2019-10-10 12:44:08 -07:00
.pipeline .pipeline/config.yaml: remove extraneous tab character 2019-10-02 13:43:01 -06:00
cache
docs registration: QUnitTestModule should support packageFiles and templates 2019-10-04 17:09:39 +00: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 Ensure block cookie is not removed early if blocked user logs out 2019-10-15 13:38:04 +01:00
languages REST compare endpoint 2019-10-12 10:16:07 -07:00
maintenance Fix new phan errors, part 4 2019-10-12 10:35:31 +00:00
mw-config Remove obsolete IE 6 & 7 specific comments 2019-10-04 19:01:56 +00:00
resources Update OOUI to v0.35.1 2019-10-11 12:00:48 -07:00
skins Make skins/README looks like extensions/README file 2019-05-08 15:41:32 +02:00
tests Stop accessing User::mBlock and User::mBlockedby from tests 2019-10-15 15:05:53 +00:00
.editorconfig Add a simple .editorconfig 2017-08-21 18:00:49 +00:00
.eslintrc.json build: Update eslint-config-wikimedia to 0.11.0 2019-02-20 23:36:03 +00:00
.fresnel.yml build: Set Fresnel scenario run count to 7 2019-04-13 00:38:13 +01:00
.gitattributes Define unit and integration test suites 2019-06-28 12:18:18 -04:00
.gitignore Define unit and integration test suites 2019-06-28 12:18:18 -04:00
.gitreview Swapping defaultbranch for track 2016-10-25 00:32:10 +00:00
.mailmap Merge "Add Martin Urbanec to .mailmap" 2019-09-02 23:03:18 +00:00
.phpcs.xml phpcs: Enable MediaWiki.Commenting.PhpunitAnnotations.ForbiddenExpectedException* and make pass 2019-10-14 12:48:48 -07: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 Travis: test on PHP 7.4, allowing failures 2019-10-08 23:50:49 +00:00
api.php HHVM removal: Drop HHVM code path for Exception not Throwable in API code 2019-10-02 17:06:56 -07:00
autoload.php New LanguageFallback service 2019-10-08 15:11:39 -07:00
CODE_OF_CONDUCT.md docs: Exclude extra markdown files from Doxygen 2019-09-13 16:35:49 +00:00
composer.json composer.json: Recommend OpenSSL 2019-10-12 23:34:45 +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 Fix duplicate Jon Harald Søby in CREDITS 2019-09-02 12:44:05 +02:00
FAQ Documentation link changes 2016-10-07 20:32:45 +00:00
Gruntfile.js build: Lower default Karma logLevel during local development 2019-09-24 17:46:53 +01:00
HISTORY Update HISTORY 2019-10-07 20:03:54 +01:00
img_auth.php Use Mustache template in img_auth.php 2019-10-05 22:57:30 +02:00
index.php Add MW_REST_API and MW_ENTRY_POINT 2019-09-03 11:43:18 +10:00
INSTALL Set minimum PHP version to 7.2.9 2019-10-10 20:31:54 +00:00
jsduck.json jquery.color: Merge $.colorUtil back into this module 2019-09-11 05:12:22 +01:00
load.php Avoid using "enqueue" mode for deferred updates in doPostOutputShutdown 2019-09-30 22:59:59 +00:00
opensearch_desc.php Add MW_REST_API and MW_ENTRY_POINT 2019-09-03 11:43:18 +10:00
package-lock.json Build: Update eslint-config-wikimedia and fix errors 2019-10-03 08:33:21 -07:00
package.json Build: Update eslint-config-wikimedia and fix errors 2019-10-03 08:33:21 -07:00
phpunit.xml.dist Discover unit tests in "Unit" directory 2019-09-04 15:49:58 +02:00
profileinfo.php Add MW_REST_API and MW_ENTRY_POINT 2019-09-03 11:43:18 +10: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.34 Merge "Set minimum PHP version to 7.2.9" 2019-10-10 20:43:37 +00:00
RELEASE-NOTES-1.35 Merge "objectcache: Remove deprecated WAN-methods in ObjectCache" 2019-10-11 18:24:49 +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 Avoid using "enqueue" mode for deferred updates in doPostOutputShutdown 2019-09-30 22:59:59 +00:00
thumb_handler.php Add MW_REST_API and MW_ENTRY_POINT 2019-09-03 11:43:18 +10: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.