Current configuration on the wiki
Find a file
Timo Tijhof 8fc75cbd20 htmlform: Fix HTMLForm::addButton phan-param to allow message params
Example at Ia0281346be:

```
$form->addButton( [
  'name' => 'renew',
  'value' => '1',
  'label-message' => [ 'wikimediaevents-special-wikimediadebug-submit-renew',
    Message::durationParam( self::DEFAULT_EXPIRY )
  ],
] );
```

Causes

> `PhanTypeMismatchArgument Argument 1 ($data) is array{…label-message:array{0:'wikimediaevents-special-wikimediadebug-submit-renew',1:int[]}} but \MediaWiki\HTMLForm\HTMLForm::addButton() takes array{…,label-message?:\MessageSpecifier|string|string[],…} defined at ../../includes/htmlform/HTMLForm.php:1244`

The inferred return value of Message::durationParam() and other such
Message class methods is `int[]`, not string.

Change-Id: Id0835193442e17e0f9979373c366c087ff4a7640
2024-03-14 17:16:38 -07:00
.phan build: Fix line indents 2024-03-11 00:14:16 +01:00
cache
docs Merge "ResourceLoader: Add module property skipStructureTest" 2024-03-13 22:09:01 +00:00
extensions
images
includes htmlform: Fix HTMLForm::addButton phan-param to allow message params 2024-03-14 17:16:38 -07:00
languages Merge "Replace "<a>" with entities in a message" 2024-03-14 15:34:32 +00:00
maintenance migrateBlocks.php: Fix infinite loop 2024-03-13 11:04:12 +11:00
mw-config Namespace includes/context 2024-02-08 11:07:01 -05:00
resources Merge "rightClickEdit.js: Compatibility with new heading HTML" 2024-03-14 01:57:54 +00:00
skins
tests filebackend: Refactor FileBackendIntegrationTest 2024-03-14 20:27:25 +00:00
.dockerignore
.editorconfig Fix .editorconfig for tests/parser/ directory 2024-02-27 17:35:16 +01:00
.eslintignore .eslintignore: Remove jquery.tipsy reference 2024-01-16 21:11:39 +00:00
.eslintrc.json
.fresnel.yml
.gitattributes
.gitignore Merge "maintenance: Remove dev folder" 2024-01-01 20:24:44 +00:00
.gitmessage
.gitreview
.mailmap CREDITS: Fix various duplicates 2024-03-14 11:53:13 -07:00
.phpcs.xml build: Fix line indents 2024-03-11 00:14:16 +01:00
.stylelintrc.json Login page: Use Codex CSS components 2023-07-06 17:20:17 -07:00
.svgo.config.js
.vsls.json
api.php Namespace includes/context 2024-02-08 11:07:01 -05:00
autoload.php Merge "Remove experimental contributions endpoints" 2024-03-14 09:12:55 +00:00
CODE_OF_CONDUCT.md
composer.json Bump wikimedia/html-formatter to 4.1.0 2024-03-13 18:52:00 +00:00
composer.local.json-sample
COPYING
CREDITS CREDITS: Fix various duplicates 2024-03-14 11:53:13 -07:00
DEVELOPERS.md DEVELOPERS.md: fix formatting in bullet list 2024-01-19 09:11:25 +01:00
docker-compose.yml docker: Update apache2 image to one with a /view rewrite rule 2023-07-20 15:32:51 -04:00
FAQ
Gruntfile.js build: Update karma-qunit to 4.2.0 and remove old __karma__ hack 2024-03-02 20:11:36 +00:00
HISTORY Fix casing of Mediawiki to MediaWiki 2024-01-29 17:15:04 +00:00
img_auth.php Namespace includes/context 2024-02-08 11:07:01 -05:00
index.php Namespace includes/context 2024-02-08 11:07:01 -05:00
INSTALL Prepare active branch following REL1_41 cut, labelling as 1.42-alpha 2023-10-09 22:11:03 -04:00
jsdoc-plugin-allow-dots-in-modules.js jsdoc: Support dots in '@module <name>' and '@exports <name>' 2024-02-07 20:41:54 +00:00
jsdoc.js Merge "docs: Migrate Vue wrapper to JSDoc" 2024-03-11 17:07:18 +00:00
load.php ResourceLoader: Follow-up creation of ResourceLoaderEntryPoint 2024-02-22 22:30:39 +00:00
opensearch_desc.php Use namespaced classes 2023-12-11 16:07:18 +01:00
package-lock.json Update jsdoc-wmf-theme from 0.0.12 to 0.0.13 2024-03-05 08:11:23 -08:00
package.json Update jsdoc-wmf-theme from 0.0.12 to 0.0.13 2024-03-05 08:11:23 -08:00
phpunit.xml.dist phpunit: Determine what extensions to load in unit tests via config 2023-09-25 23:03:48 +00:00
README.md docs: Link to "Local development quickstart" in README 2024-01-22 13:58:11 +00:00
RELEASE-NOTES-1.42 Partial revert of REL-NOT, class has been undeprecated 2024-03-14 12:17:36 +00:00
rest.php Rest: Turn Rest\EntryPoint into a MediaWikiEntryPoint subclass 2024-03-12 14:37:18 +01:00
SECURITY
thumb.php Namespace includes/context 2024-02-08 11:07:01 -05:00
thumb_handler.php
UPGRADE Update DEVELOPERS.md and UPGRADE with new way to use update.php 2023-06-16 12:33:56 +00: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.

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.