Current configuration on the wiki
Find a file
Timo Tijhof 128debb64b tests: Change use of AtEase to at operator
Follows-up I361fde0de7f4406bce6ed075ed397effa5be3359.

Per T253461, not mass-changing source code, but the use of the native
error silencing operator (@) is especially useful in tests because:

1. It requires any/all statements to be explicitly marked. The
   suppressWarnings/restoreWarnings sections encourage developers to
   be "lazy" and thus encapsulate more than needed if there are multiple
   ones near each other, which would ignore potentially important
   warnings in a test case, which is generally exactly the time when
   it is really useful to get warnings etc.

2. It avoids leaking state, for example in LBFactoryTest the
   assertFalse call would throw a PHPUnit assertion error (not meant
   to be caught by the local catch), and thus won't reach
   AtEase::restoreWarnings. This then causes later code to end up
   in a mismatching state and creates a confusing error_reporting
   state.

See .phpcs.xml, where the at operator is allowed for all test code.

Change-Id: I68d1725d685e0a7586468bc9de6dc29ceea31b8a
2022-02-24 21:29:51 +00:00
.phan
.pipeline
cache
docs config-schema: Define types for all arrays. 2022-02-23 14:09:41 +01:00
extensions
images
includes Merge "preferences: Use a faster and simpler form descriptor when validating" 2022-02-24 19:16:34 +00:00
languages Localisation updates from https://translatewiki.net. 2022-02-24 08:23:08 +01:00
maintenance Merge "reassignEdits: Only UPDATE tables if there's rows to update" 2022-02-24 17:43:50 +00:00
mw-config eslint: Only apply client rules to client files 2022-02-09 02:40:11 +00:00
resources build: Update to QUnit 2.18 2022-02-23 15:21:33 +00:00
skins
tests tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
.dockerignore
.editorconfig
.eslintignore
.eslintrc.json eslint: Only apply client rules to client files 2022-02-09 02:40:11 +00:00
.fresnel.yml Add explanatory comment for .fresnel.yml 2022-02-01 20:32:20 -05:00
.gitattributes
.gitignore
.gitreview
.mailmap
.phpcs.xml phpcs: Disable Generic.Files.LineLength for test files 2022-02-18 18:32:05 +00:00
.stylelintrc.json
.svgo.config.js
.vsls.json
api.php
autoload.php Add "grep.php" to search pages for a regex 2022-02-23 14:20:18 +11:00
CODE_OF_CONDUCT.md
composer.json Update OOUI to v0.43.1 2022-02-10 10:44:51 -05:00
composer.local.json-sample composer.local.json-sample: merge */composer.json 2022-02-07 16:24:23 +01:00
COPYING
CREDITS
DEVELOPERS.md
docker-compose.yml
FAQ
Gruntfile.js QUnit: Set default file type to js 2022-02-09 04:08:42 +00:00
HISTORY
img_auth.php
index.php
INSTALL
jsduck.json Add Codex v0.1.0-alpha.2 2022-02-14 19:59:53 -08:00
load.php
opensearch_desc.php
package-lock.json build: Update to QUnit 2.18 2022-02-23 15:21:33 +00:00
package.json build: Update to QUnit 2.18 2022-02-23 15:21:33 +00:00
phpunit.xml.dist
README.md Fix bullets in README.md 2022-02-14 19:38:27 -08:00
RELEASE-NOTES-1.38 build: Update to QUnit 2.18 2022-02-23 15:21:33 +00:00
rest.php
SECURITY
thumb.php maintenance: Replace some usages of Wikimedia\(suppress|restore)Warnings() 2022-02-24 12:52:05 +00:00
thumb_handler.php
UPGRADE

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.

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.