wiki.techinc.nl/includes
Timo Tijhof 3cf2f18bb8 resourceloader: Omit empty parameters from mw.loader.implement calls
Follows-up ebeb29723, 1f393b6da, 0e719ce23.

Also:
* Add tests for ResourceLoader::makeLoaderImplementScript().
* Apply ResourceLoader::trimArray to makeLoaderImplementScript (new in c0c221bf).

This commit changes the load.php response to omit empty parameters.

These parameters were required until recently. The client has been
updated (1f393b6da and 0e719ce23) to make these optional, thus supporting
both the old server format and the change this commit makes

Clients with a tab open from before 0e719ce23 are naturally not
compatible with load.php responses from after this commit. Ensure
this is deployed several days after 0e719ce23 to reduce race
conditions of this nature.

(This is a re-submitted version of 4ce0c0da4)

Bug: T88879
Change-Id: I9e998261ee9b0b745e3339bc3493755c0cb04b6a
2015-04-03 07:20:51 +01:00
..
actions Made InfoAction::invalidateCache() use READ_LATEST 2015-03-31 23:49:10 +00:00
api Localisation updates from https://translatewiki.net. 2015-04-02 20:28:33 +02:00
cache Rely less on file stat cache in FileDependency 2015-03-31 17:22:31 +00:00
changes Add hook EnhancedChangesList::getLogText 2015-03-03 01:50:32 +00:00
clientpool
composer
config Made ConfigException extend Exception 2015-02-27 11:24:15 -08:00
content JsonContent: Pass FormatJson::UTF8_OK when beautifying JSON 2015-03-16 21:53:33 +01:00
context Mention metrics in IContextSource docs 2015-03-11 19:15:33 +00:00
dao
db Added slave/master fallback logic in Revision 2015-03-31 23:39:28 +00:00
debug Merge "Use wikimedia/utfnormal library, add backwards-compatability layer" 2015-03-31 00:51:16 +00:00
deferred Merge "Explicitly mark HTMLCacheUpdateJob jobs that are recursive for clarity" 2015-03-02 21:16:21 +00:00
diff Added slave/master fallback logic in Revision 2015-03-31 23:39:28 +00:00
exception Use "string|false" as @return instead of "string|bool" where appropiate 2015-04-01 09:48:30 +01:00
externalstore Profile all external HTTP requests from MW 2015-03-03 20:54:30 -08:00
filebackend Merge "Fix and make PHPDoc tags in FileBackend more specific" 2015-03-18 16:45:20 +00:00
filerepo Force LocalFile::purgeMetadataCache use the master DB 2015-03-18 17:56:11 +00:00
gallery Add srcset for images in <gallery> 2015-02-25 19:52:06 -04:00
htmlform Use HTMLForm for Special:FileDuplicateSearch 2015-03-29 17:23:12 +02:00
installer Merge "installer: Use wfLoadExtension/Skin in LocalSettingsGenerator" 2015-04-01 22:27:27 +00:00
interwiki
jobqueue Made showJobs.php include abandoned jobs in --list 2015-03-26 12:17:10 -07:00
json Use "string|false" as @return instead of "string|bool" where appropiate 2015-04-01 09:48:30 +01:00
libs SECURITY: Always expand xml entities when checking SVG's 2015-04-01 09:56:20 -07:00
logging Migrate import log to new log system 2015-03-18 13:21:52 +00:00
mail Fix phpcs errors in includes/ 2015-01-08 20:15:07 +01:00
media SECURITY: Don't allow entities in XMP with HHVM 2015-04-01 09:56:43 -07:00
objectcache Minor doc fixes 2015-03-09 23:08:37 -07:00
page New hook: OpportunisticLinksUpdate 2015-04-01 11:17:57 +00:00
pager Converted some profiling to scopedProfileIn 2015-01-07 21:03:02 -08:00
parser Minor cleanups 2015-04-02 16:22:42 +00:00
password
poolcounter Merge "Removed obsolete "containsOldMagic" code" 2015-03-04 06:02:04 +00:00
profiler Simplify profiler output class selection 2015-04-02 11:01:52 -07:00
rcfeed Create a generic UDP transport class 2014-12-15 15:06:43 -07:00
registration registration: Use array_merge() rather than array plus when merging 2015-03-31 00:45:10 +00:00
resourceloader resourceloader: Omit empty parameters from mw.loader.implement calls 2015-04-03 07:20:51 +01:00
revisiondelete Use new log system when create log entry for revision delete 2015-02-07 20:05:13 +00:00
search Remove copious amounts of commented out preg_replace calls 2015-01-27 05:34:40 +00:00
site Use wikimedia/utfnormal library, add backwards-compatability layer 2015-03-24 12:59:26 -07:00
skins Revert "Optimize order of styles and scripts" 2015-03-25 04:40:46 +00:00
specialpage Remove FormSpecialPage::$fields 2015-03-19 16:12:56 +00:00
specials Added read-only checks around User::saveSettings where they belong 2015-04-02 18:12:37 +00:00
templates Remove unneeded variable assignment in Usercreate.php 2015-03-26 20:13:01 +01:00
title Use wikimedia/utfnormal library, add backwards-compatability layer 2015-03-24 12:59:26 -07:00
upload SECURITY: Fix animate blacklist 2015-04-01 09:55:22 -07:00
utils Ignore phpcs in autoload.php 2015-03-16 19:09:28 +01:00
.htaccess
AjaxDispatcher.php Remove obvious function-level profiling 2015-01-07 11:14:24 -08:00
AjaxResponse.php
AuthPlugin.php
AutoLoader.php autoloader: Remove incorrect documentation comment 2014-12-19 06:02:34 +00:00
Autopromote.php
Block.php Remove obvious function-level profiling 2015-01-07 11:14:24 -08:00
Category.php Fix phpcs errors in includes/ 2015-01-08 20:15:07 +01:00
CategoryFinder.php Remove obvious function-level profiling 2015-01-07 11:14:24 -08:00
CategoryViewer.php Change labels of paging links in Category page 2015-03-28 00:48:32 +05:30
CdbCompat.php
ChangeTags.php Creation, deletion and improved management of change tags 2015-02-04 14:14:18 -05:00
Collation.php Use wikimedia/utfnormal library, add backwards-compatability layer 2015-03-24 12:59:26 -07:00
DefaultSettings.php Introduce ProfilerOutputStats 2015-04-02 01:32:46 +00:00
Defines.php Merge "Remove EditFilterMerged detection define" 2015-03-19 17:11:46 +00:00
DeprecatedGlobal.php
EditPage.php SECURITY: Don't execute another user's CSS or JS on preview 2015-04-01 09:55:52 -07:00
Export.php Remove obvious function-level profiling 2015-01-07 11:14:24 -08:00
Fallback.php
Feed.php FeedItem: Use full URL with protocol for <id>/<guid> in Atom/RSS feeds 2015-03-07 23:52:44 +01:00
FeedUtils.php Use wikimedia/utfnormal library, add backwards-compatability layer 2015-03-24 12:59:26 -07:00
FileDeleteForm.php Updated some try-catch statements: MWException -> Exception 2015-01-09 17:20:22 -08:00
ForkController.php
FormOptions.php
GitInfo.php
GlobalFunctions.php Introduce ProfilerOutputStats 2015-04-02 01:32:46 +00:00
HistoryBlob.php
Hooks.php Add lots of @throws 2014-12-24 13:49:20 +00:00
Html.php SECURITY: Escape > in Html::expandAttributes 2015-04-01 09:56:12 -07:00
HtmlFormatter.php Removed remaining profile calls 2015-01-08 02:49:33 -08:00
HttpFunctions.php Make wfWarn name the caller in Http::get 2015-03-26 10:46:10 +00:00
Import.php Add null check in WikiImporter 2015-03-30 19:50:59 +00:00
Licenses.php
limit.sh
Linker.php Emergency remove .mw-headline-anchor 2015-03-17 22:31:45 +00:00
LinkFilter.php Avoid using DB_MASTER in makeLikeArray 2015-03-27 17:58:57 +00:00
MagicWord.php Merge "Remove obvious function-level profiling" 2015-01-07 19:27:45 +00:00
MediaWiki.php Removed view event from $wgAutopromoteOnce 2015-03-26 15:47:33 -07:00
MediaWikiVersionFetcher.php tests: Clean up file headers 2015-04-01 00:17:12 +01:00
Message.php Message: Clean up unit tests and improve code coverage 2015-04-02 08:36:19 +01:00
MessageBlobStore.php Revert "Made insertMessageBlob use (start|end)Atomic in case DBO_TRX is off" 2015-03-03 16:33:07 +00:00
mime.info
mime.types
MimeMagic.php
MovePage.php Made wfFindFile/wfLocalFile callers use explicit "latest" flags 2015-03-06 04:18:50 +00:00
MWNamespace.php
MWTimestamp.php Reject out-of-range output when converting to TS_MW 2014-12-19 17:06:38 -05:00
NoLocalSettings.php Adding TemplateParser class providing interface to Mustache templates 2015-02-19 17:41:45 -08:00
OutputHandler.php
OutputPage.php Merge "SECURITY: Don't execute another user's CSS or JS on preview" 2015-04-01 17:31:57 +00:00
PathRouter.php
PHPVersionError.php
Preferences.php Adjusting patrol checks for RC and watchlist prefs 2015-02-18 20:17:16 +00:00
PrefixSearch.php Shorten long lines in PrefixSearch.php to make phpcs pass 2015-03-04 09:13:53 +02:00
ProtectionForm.php Refactor out 'infinity' variants 2015-03-12 16:38:02 +00:00
Revision.php Added slave/master fallback logic in Revision 2015-03-31 23:39:28 +00:00
RevisionList.php
Sanitizer.php Use wikimedia/utfnormal library, add backwards-compatability layer 2015-03-24 12:59:26 -07:00
Setup.php Merge "Change default of $wgResourceLoaderMaxQueryLength to 2000" 2015-03-27 22:45:56 +00:00
SiteConfiguration.php
SiteStats.php Remove obvious function-level profiling 2015-01-07 11:14:24 -08:00
SquidPurgeClient.php
Status.php Fix magic getter for $status->ok 2015-02-14 00:05:41 +00:00
StreamFile.php Removed remaining profile calls 2015-01-08 02:49:33 -08:00
StubObject.php Removed remaining profile calls 2015-01-08 02:49:33 -08:00
TemplateParser.php TemplateParser: Use ObjectCache::newAccelerator() with fallback set 2015-03-23 03:34:57 +00:00
tidy.conf
Title.php Merge "Drop outdated "documentation reviewed" tags" 2015-03-18 16:56:58 +00:00
TitleArray.php
TitleArrayFromResult.php
User.php Added read-only checks around User::saveSettings where they belong 2015-04-02 18:12:37 +00:00
UserArray.php Add UserArray::newFromNames() 2015-02-26 19:18:35 +00:00
UserArrayFromResult.php
UserRightsProxy.php Shorten long lines in UserRightsProxy.php to make phpcs pass 2015-03-04 04:26:47 +00:00
WatchedItem.php Remove obvious function-level profiling 2015-01-07 11:14:24 -08:00
WebRequest.php Make WebRequest objects time-aware 2015-04-01 18:21:26 -07:00
WebResponse.php Set parameter default to array() in WebResponse::setcookie() 2015-03-27 09:58:58 +01:00
WebStart.php Make WebRequest objects time-aware 2015-04-01 18:21:26 -07:00
WikiMap.php Fix some stuttering in comments and documentation 2014-12-17 19:44:10 +00:00
Xml.php SECURITY: Don't allow directly calling Xml::isWellFormed 2015-04-01 09:56:29 -07:00
ZhConversion.php Update the Chinese conversion table for Chinese WikiProjects 2015-03-06 19:51:13 +00:00