Current configuration on the wiki
Find a file
Timo Tijhof c0c221bfe4 resourceloader: Refactor empty value trimming for mw.loader.register
We already did this, but it was rather convoluted with lots of
if/elseif sequences checking all the possible values.

Remove this logic from ResourceLoaderStartUpModule. Simplying it
simply create the array and pass it to ResourceLoader::makeLoaderRegisterScript.

In makeLoaderRegisterScript, we apply a filter to the array(s) that
trim empty values.

While at it:
* As with other registration properties' default values (like for dependencies,
  group, and skip) also use 'null' for the default value of 'source'.
  The mediawiki.js client was already compatible with this, and the server omitted
  it if it was the last value in the list. But in all other cases it explicitly
  outputs "local". Use null instead of simplicity sake. This also gains us a
  few characters in the output, and a relatively larger win after gzip since
  there's lots more re-using of "null".
* Remove stray casting of $version to int. This only happened in case of
  registering a single module (which don't do anywhere), and is redundant.

Change-Id: I1f321e7b8bd3b5cffc550b51169957a3da9b971d
2014-12-09 00:47:14 +00:00
cache Revert .htaccess permissions back to 0644 2013-10-28 14:38:07 -07:00
docs Stop using $wgProfileToDatabase 2014-12-03 10:37:03 -08:00
extensions Update release notes and documentation about skins 2014-08-13 21:58:01 +02:00
images Add FollowSymLinks option to /images .htaccess rule 2014-12-05 22:50:36 +00:00
includes resourceloader: Refactor empty value trimming for mw.loader.register 2014-12-09 00:47:14 +00:00
languages Localisation updates from https://translatewiki.net. 2014-12-08 22:58:32 +01:00
maintenance Fixed spacing 2014-12-05 22:28:07 +01:00
mw-config Require PHP >= 5.3.3 2014-10-30 10:10:52 -07:00
resources Merge "Index ResourceLoader dependency lists in startup" 2014-12-08 19:17:23 +00:00
serialized Generate Utf8Case.ser directly from UnicodeData.txt 2014-01-06 18:22:24 -05:00
skins Delete skins/common/images/bullet.gif 2014-11-14 21:57:51 +00:00
tests resourceloader: Refactor empty value trimming for mw.loader.register 2014-12-09 00:47:14 +00:00
.gitattributes Make *.sh files use LF 2014-05-10 20:26:03 +00:00
.gitignore Allow use of phpunit.phar with MediaWiki's phpunit.php test entry point 2014-08-02 21:41:38 +00:00
.gitreview Revert "Applied patches to new WMF 1.21wmf11 branch" 2013-03-04 18:39:47 +00:00
.jscsrc build: Upgrade grunt-jscs and remove legacy jshint camelcase/nomen 2014-11-30 19:02:22 +00:00
.jshintignore Split /resources into /resources/lib and /resources/src 2014-04-07 12:21:21 -07:00
.jshintrc build: Upgrade grunt-jscs and remove legacy jshint camelcase/nomen 2014-11-30 19:02:22 +00:00
.rubocop.yml Make rubocop ignore remote repositories 2014-11-05 11:34:57 +01:00
.rubocop_todo.yml Prepare repository for running RuboCop after every push to Gerrit 2014-10-24 13:11:12 +02:00
.travis.yml Enable Travis CI for PostgreSQL 2014-11-07 19:17:09 +00:00
api.php Require PHP >= 5.3.3 2014-10-30 10:10:52 -07:00
api.php5 Clean up access points 2014-03-28 01:05:30 +00:00
autoload.php Optimize how user options are delivered to the client 2014-12-05 19:36:45 +00:00
composer.json composer.json: cdb/cdb was renamed to wikimedia/cdb 2014-12-08 22:58:05 +00:00
COPYING COPYING: Update the list of CC licenses icons used 2014-09-26 19:09:27 +00:00
CREDITS Remove Brad from Patch Contributors as already in Developer list 2014-11-06 21:22:55 +00:00
FAQ Use HTTPS for the link in FAQ 2013-10-31 14:01:22 +00:00
Gemfile Prepare repository for running RuboCop after every push to Gerrit 2014-10-24 13:11:12 +02:00
Gemfile.lock Prepare repository for running RuboCop after every push to Gerrit 2014-10-24 13:11:12 +02:00
HISTORY Remove RELEASE-NOTES-1.24 and merge into HISTORY 2014-11-29 16:37:21 -08:00
img_auth.php img_auth: fix mismatched profiling 2014-09-05 16:04:42 -07:00
img_auth.php5 Clean up access points 2014-03-28 01:05:30 +00:00
index.php Require PHP >= 5.3.3 2014-10-30 10:10:52 -07:00
index.php5 Clean up access points 2014-03-28 01:05:30 +00:00
INSTALL Require PHP >= 5.3.3 2014-10-30 10:10:52 -07:00
load.php Make load.php parse in PHP 4 again 2014-11-04 17:33:01 +00:00
load.php5 Clean up access points 2014-03-28 01:05:30 +00:00
opensearch_desc.php Merge OpenSearchXml extension into core 2014-11-26 21:07:22 -08:00
opensearch_desc.php5 Clean up access points 2014-03-28 01:05:30 +00:00
profileinfo.php Stop using $wgProfileToDatabase 2014-12-03 10:37:03 -08:00
profileinfo.php5 Clean up access points 2014-03-28 01:05:30 +00:00
README Link to bugzilla.wikimedia.org in README for consistency 2014-03-23 10:52:22 +00:00
README.mediawiki Symlink README.mediawiki to README so Github renders it as wikitext. 2012-10-29 14:11:29 +00:00
RELEASE-NOTES-1.25 RELEASE-NOTES-1.25: bug 44740 -> T46740 2014-12-06 06:31:58 -05:00
StartProfiler.sample Revert "Remove deprecated profiling config parameters, clarify docs" 2014-12-04 21:40:13 +00:00
thumb.php Per 5a4a33a, remove support for magic quotes gpc 2014-09-22 15:01:56 -07:00
thumb.php5 Clean up access points 2014-03-28 01:05:30 +00:00
thumb_handler.php Clean up access points 2014-03-28 01:05:30 +00:00
thumb_handler.php5 Clean up access points 2014-03-28 01:05:30 +00:00
UPGRADE http://www.mediawiki.org --> https://www.mediawiki.org 2014-01-28 07:06:02 +00:00
wiki.phtml Clean up access points 2014-03-28 01:05:30 +00:00

== MediaWiki ==

MediaWiki is a popular and free, open-source wiki software package written in
PHP. It serves as the platform for Wikipedia and the other projects of the Wikimedia
Foundation, which deliver content in over 280 languages to more than half a billion
people each month. MediaWiki's 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 over 2,000 extensions;
* scalable and suitable for both small and large sites;
* available in your language; and
* simple to install, working on most hardware/software combinations.

For system requirements, installation, and upgrade details, see the files
RELEASE-NOTES, INSTALL, and UPGRADE.

* Ready to get started?
** https://www.mediawiki.org/wiki/Download
* Looking for the technical manual?
** https://www.mediawiki.org/wiki/Manual:Contents
* Seeking help from a person?
** https://www.mediawiki.org/wiki/Communication
* Looking to file a bug report or a feature request?
** https://bugzilla.wikimedia.org/
* Interested in helping out?
** https://www.mediawiki.org/wiki/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.