Current configuration on the wiki
Find a file
Kevin Israel 63e07eed60 MaintenanceRunner: load script file early if possible
If possible, load the script file before running Setup.php. This way,
script files can control the setup process by defining constants. This
is needed by scome scripts, namely:
- instal.php, to override config loading by defining MW_CONFIG_CALLBACK
- generateConfigSchema.php, for setting MW_USE_CONFIG_SCHEMA_CLASS
- mergeMessageFileList.php, for setting MW_NO_EXTENSION_MESSAGES
- shell.php, for setting MW_NO_SESSION

Note that this will not work for scripts defined in extensions.

In order to allow script files to be loaded based on class name,
AutoLoader.php is included before Setup.php is run.

This is a modified version of I638f99c3cc6f8ab8216bd65ada959a6a11ff454b.

Co-authored-by: PleaseStand <pleasestand@live.com>
Change-Id: I2bf3b91c0a7162413cd1392252cb4f29a0d3d594
2023-03-14 10:18:29 +01:00
.phan objectcache: Remove $wgMainWANCache and $wgWANObjectCaches 2023-03-07 22:47:04 +00:00
cache
docs Merge "objectcache: Remove $wgMainWANCache and $wgWANObjectCaches" 2023-03-07 23:07:49 +00:00
extensions Use spacey style also for code in comments and documentation 2022-08-12 08:59:10 +00:00
images Set "X-Content-Type-Options: nosniff" header in images/.htaccess 2023-02-24 23:59:22 -05:00
includes MaintenanceRunner: load script file early if possible 2023-03-14 10:18:29 +01:00
languages Localisation updates from https://translatewiki.net. 2023-03-08 08:25:04 +01:00
maintenance MaintenanceRunner: load script file early if possible 2023-03-14 10:18:29 +01:00
mw-config Make use of jQuery method chaining where it makes sense 2023-02-14 09:17:04 +01:00
resources mediawiki.less: Introduce @opacity-icon-base--disabled 2023-03-07 13:34:16 -08:00
skins Use spacey style also for code in comments and documentation 2022-08-12 08:59:10 +00:00
tests MaintenanceRunner: load script file early if possible 2023-03-14 10:18:29 +01:00
.dockerignore
.editorconfig build: Exclude .git/** in .editorconfig 2022-06-22 01:53:33 +01:00
.eslintignore build: Run eslint for /docs/ and make pass 2022-07-27 00:43:02 +02:00
.eslintrc.json eslint: Only apply client rules to client files 2022-02-09 02:40:11 +00:00
.fresnel.yml
.gitattributes .gitattributes: Ship docker-compose.yml to the tarball 2022-11-30 09:37:13 -05:00
.gitignore gitignore: add /images/phonos-render for Extension:Phonos 2022-12-12 13:13:56 -05:00
.gitreview
.mailmap CREDITS: Update ahead of REL1_40 branching 2023-02-23 15:21:04 -05:00
.phpcs.xml maintenance: Migrate mcc.php from CommandLineInc to Maintenance 2023-01-14 02:02:59 +00:00
.stylelintrc.json build: Update stylelint-config-wikimedia to 0.13.0 2022-05-04 23:17:03 +01:00
.svgo.config.js build: Upgrade eslint-config-wikimedia from 0.22.1 to 0.24.0 2023-02-07 10:17:30 -05:00
.vsls.json build: Upgrade eslint-config-wikimedia from 0.22.1 to 0.24.0 2023-02-07 10:17:30 -05:00
api.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
autoload.php MaintenanceRunner: load script file early if possible 2023-03-14 10:18:29 +01:00
CODE_OF_CONDUCT.md
composer.json build: Pin PHPUnit to 9.5.28 like in other repos 2023-02-27 09:53:09 -05:00
composer.local.json-sample composer.local.json-sample: merge */composer.json 2022-02-07 16:24:23 +01:00
COPYING
CREDITS CREDITS: Update ahead of REL1_40 branching 2023-02-23 15:21:04 -05:00
DEVELOPERS.md Merge "Add Windows-specific instructions in DEVELOPERS.md" 2022-12-14 03:19:55 +00:00
docker-compose.yml MediaWiki-Docker: Switch PHP images to PHP 8.1 2022-12-15 07:31:23 +00:00
FAQ
Gruntfile.js Merge "tests: Improve --qunit-watch handling in Gruntfile" 2023-02-20 19:52:21 +00:00
HISTORY Add 1.39.2 to HISTORY 2023-02-22 21:03:56 +00:00
img_auth.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
index.php index.php: Remove global $mediaWiki variable 2022-03-26 21:55:56 +00:00
INSTALL Prepare active branch following REL1_39 cut, labelling as 1.40-alpha 2022-09-05 20:30:54 -04:00
jsduck.json mediawiki.base: Restore and document importScript "once" behaviour 2022-09-01 02:27:54 +02:00
load.php resourceloader: Minor doc changes following PSR-4 namepace change 2022-05-29 16:41:19 +00:00
opensearch_desc.php
package-lock.json build: Rebuild package-lock.json 2023-02-22 23:27:05 +00:00
package.json build: Upgrade grunt from 1.5.3 to 1.6.1 2023-02-22 15:47:01 +00:00
phpunit.xml.dist tests: Move all language converter tests into /includes/ 2023-02-01 20:10:56 +01:00
README.md Fix bullets in README.md 2022-02-14 19:38:27 -08:00
RELEASE-NOTES-1.40 Merge "objectcache: Remove $wgMainWANCache and $wgWANObjectCaches" 2023-03-07 23:07:49 +00:00
rest.php
SECURITY
thumb.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
thumb_handler.php
UPGRADE Drop 1.34 db updates 2023-02-09 23:28:10 +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.