wiki.techinc.nl/includes
Kunal Mehta e103ba265b resourceloader: Only store sources' load.php urls
Previously ResourceLoader would store any arbitrary data about a
source, provided it had a 'loadScript' key. It would register
the 'local' source with an additional 'apiScript' key, which was
also documented in DefaultSettings.php. However, it was
completely unused outside of the ForeignAPIGadgetRepo class in
Gadgets 2.0, which should be changed to take an API url as a
parameter. This was not useful as it was not ever formally
exposed, and it could not be depended upon that a source had
registered an 'apiScript' key.

For backwards compatability, both ResourceLoader::addSource()
and mw.loader.addSource() will both take an array/object, but
discard all parameters except for 'loadScript'.

Also added tests for ResourceLoader::addSource().

Bug: 69878
Change-Id: I4205cf788cddeec13b619be0c3576197dec1b8bf
2014-09-05 04:38:22 +02:00
..
actions Use getConfig in HistoryAction for global 2014-08-22 21:52:27 +02:00
api Merge "API: Add iwprop=url, deprecate iwurl for prop=iwlinks" 2014-08-22 05:53:47 +00:00
cache Made getCachedRevisionObject() use MapCacheLRU 2014-08-22 18:12:29 +00:00
changes Use getConfig for ChangesList 2014-08-22 22:01:08 +02:00
clientpool Cleanup some docs (includes/[a-d]) 2014-07-24 19:42:45 +02:00
composer
config Mark ConfigFactory::destroyDefaultInstance() with @codeCoverageIgnore 2014-08-22 23:32:37 -07:00
content Merge "Remove wrong type from @param on ContentHandler::merge3" 2014-08-20 06:57:42 +00:00
context Merge "Use config instead of globals for ImageGallery" 2014-08-22 23:53:13 +00:00
dao
db Merge "Change @return to start with type" 2014-08-22 23:20:36 +00:00
debug Rename MWNamespace, MWDebug and MWTidy files to match their class 2014-07-15 20:59:39 +00:00
deferred Add support for adding deferred update within a deferred update 2014-08-20 22:13:11 +00:00
diff Add missing @param to function docs 2014-08-14 20:22:52 +02:00
exception Add missing @param to function docs 2014-08-14 20:22:52 +02:00
externalstore Cleanup some docs (includes/[e-l]) 2014-07-24 19:43:03 +02:00
filebackend Add missing @param to function docs 2014-08-14 20:22:52 +02:00
filerepo Merge "Made LocalFile move/delete/restore handle network partitions better" 2014-08-21 15:38:10 +00:00
gallery Use config instead of globals for ImageGallery 2014-08-22 22:36:59 +02:00
htmlform Merge "Apply csshelpclass to vform help" 2014-08-24 04:39:47 +00:00
installer Localisation updates from https://translatewiki.net. 2014-08-23 21:12:41 +02:00
interwiki Cleanup some docs (includes/[e-l]) 2014-07-24 19:43:03 +02:00
jobqueue Merge "Added more JobRunner docs" 2014-08-18 18:32:49 +00:00
json
libs Fixed doc comment 2014-08-14 15:35:30 -07:00
logging Cleanup some docs (includes/[e-l]) 2014-07-24 19:43:03 +02:00
media Move @codingStandardsIgnoreStart into doc comment 2014-08-19 21:55:22 +02:00
normal Remove some PHP4 microtime() compat wrappers 2014-07-16 23:39:48 -04:00
objectcache Ensure that expiry times are given as integers 2014-08-22 09:55:59 -06:00
page On redirects update the URL to that of the target page with JavaScript 2014-08-20 20:21:33 +00:00
pager Split includes/Pager.php 2014-08-23 14:25:02 +02:00
parser Made getCachedRevisionObject() use MapCacheLRU 2014-08-22 18:12:29 +00:00
password Fixed docs 2014-08-04 12:00:15 +02:00
poolcounter Correct variable names in @param to match method declarations 2014-08-13 21:48:28 +02:00
profiler Add missing @param to function docs 2014-08-14 20:22:52 +02:00
rcfeed Remove various functions and globals deprecated since 1.22 from RecentChange 2014-08-12 22:19:36 -07:00
resourceloader resourceloader: Only store sources' load.php urls 2014-09-05 04:38:22 +02:00
revisiondelete Split RevisionDeleteAbstracts.php to separate files 2014-08-20 19:08:33 +02:00
search Fix highlighting of results when the search result does not return termMatches 2014-08-18 15:55:51 +00:00
site Cleanup some docs (includes/[s-z]) 2014-07-24 19:43:44 +02:00
skins Merge "Change @return to start with type" 2014-08-22 23:20:36 +00:00
specialpage Use config instead of globals for ImageGallery 2014-08-22 22:36:59 +02:00
specials Merge "Be consistent about 'TablePager' CSS class usage" 2014-08-23 19:46:57 +00:00
templates Make Special:UserLogin form use mw-ui-checkbox 2014-08-14 18:31:41 +00:00
title Don't include images/categories when behind a local interwiki prefix 2014-08-01 18:20:51 +10:00
upload Merge "Correct variable names in @param to match method declarations" 2014-08-13 20:13:37 +00:00
utils Add missing @param to function docs 2014-08-18 16:24:59 +00:00
.htaccess
AjaxDispatcher.php Fixed spacing 2014-07-24 11:53:04 +02:00
AjaxResponse.php Fixed spacing 2014-07-24 11:53:04 +02:00
AuthPlugin.php
AutoLoader.php Split includes/Pager.php 2014-08-23 14:25:02 +02:00
Autopromote.php
Block.php Add missing @param to function docs 2014-08-18 16:24:59 +00:00
Category.php Add missing @param to function docs 2014-08-14 20:22:52 +02:00
Categoryfinder.php Cleanup some docs (includes/*.php) 2014-07-24 19:42:24 +02:00
CategoryViewer.php Use config instead of globals for ImageGallery 2014-08-22 22:36:59 +02:00
ChangeTags.php Cleanup some docs (includes/*.php) 2014-07-24 19:42:24 +02:00
Collation.php Cleanup some docs (includes/*.php) 2014-07-24 19:42:24 +02:00
Cookie.php Fixed spacing 2014-08-04 11:51:22 +02:00
DefaultSettings.php resourceloader: Only store sources' load.php urls 2014-09-05 04:38:22 +02:00
Defines.php Add JSONContent and handler from EventLogging 2014-08-08 23:31:26 +00:00
DeprecatedGlobal.php
EditPage.php EditPage: Remove unused classic toolbar accesskeys data 2014-08-20 18:42:33 +02:00
Export.php Add dbname to XML database dump "siteinfo" 2014-07-30 19:00:11 +00:00
Fallback.php Cleanup some docs (includes/*.php) 2014-07-24 19:42:24 +02:00
Feed.php Add missing @param to function docs 2014-08-14 20:22:52 +02:00
FeedUtils.php Cleanup some docs (includes/*.php) 2014-07-24 19:42:24 +02:00
FileDeleteForm.php
ForkController.php Add missing @param to function docs 2014-08-14 20:22:52 +02:00
FormOptions.php Add missing @param to function docs 2014-08-14 20:22:52 +02:00
GitInfo.php Cleanup some docs (includes/*.php) 2014-07-24 19:42:24 +02:00
GlobalFunctions.php Add missing @param to function docs 2014-08-18 16:24:59 +00:00
HistoryBlob.php Cleanup some docs (includes/*.php) 2014-07-24 19:42:24 +02:00
Hooks.php Cleanup some docs (includes/*.php) 2014-07-24 19:42:24 +02:00
Html.php Add blanket support for mediawiki ui via globals 2014-08-15 14:48:00 -07:00
HtmlFormatter.php Cleanup some docs (includes/*.php) 2014-07-24 19:42:24 +02:00
HttpFunctions.php Cleanup some docs (includes/*.php) 2014-07-24 19:42:24 +02:00
Import.php Drop "left in" debugging var_dump from WikiImporter 2014-08-22 16:11:30 +02:00
Licenses.php Cleanup some docs (includes/*.php) 2014-07-24 19:42:24 +02:00
limit.sh
Linker.php Correct type of @param of Linker::getRevDeleteLink 2014-08-20 06:25:16 +00:00
LinkFilter.php
MagicWord.php
MediaWiki.php Use Config instead of globals in MediaWiki 2014-08-07 21:47:51 +00:00
MediaWikiVersionFetcher.php
Message.php Consistent handling of multiple keys in Message 2014-08-06 12:29:28 +01:00
MessageBlobStore.php
mime.info Unify the spelling of MIME in documentation 2014-08-07 23:38:45 +02:00
mime.types
MimeMagic.php Unify the spelling of MIME in documentation 2014-08-07 23:38:45 +02:00
MWNamespace.php Rename MWNamespace, MWDebug and MWTidy files to match their class 2014-07-15 20:59:39 +00:00
MWTimestamp.php Remove unmatched @param 2014-08-16 22:50:02 +02:00
OutputHandler.php
OutputPage.php Merge "Use config instead of globals for OutputPage" 2014-08-23 20:21:44 +00:00
PathRouter.php
PHPVersionError.php Use PHP_VERSION constant instead of phpversion() function call 2014-07-09 16:46:35 -07:00
Preferences.php Preferences: Disable the 'skin' preference if there are no skins 2014-08-02 12:07:11 +00:00
PrefixSearch.php Remove colon after @deprecated/@param/@todo/@note 2014-07-24 11:30:25 +02:00
ProtectionForm.php
Revision.php Revision: Allow for userCanBitfield to check per-page restrictions 2014-08-18 11:25:49 -07:00
RevisionList.php
Sanitizer.php Cleanup some docs (includes/*.php) 2014-07-24 19:42:24 +02:00
Setup.php Deprecate $wgDeferredUpdateList 2014-08-23 22:41:26 -07:00
SiteConfiguration.php
SiteStats.php Cleanup some docs (includes/*.php) 2014-07-24 19:42:24 +02:00
SquidPurgeClient.php Cleanup some docs (includes/*.php) 2014-07-24 19:42:24 +02:00
StatCounter.php
Status.php Cleanup some docs (includes/*.php) 2014-07-24 19:42:24 +02:00
StreamFile.php
StubObject.php Fix visibility in SkinFallback and StubObject 2014-08-12 01:06:49 +00:00
tidy.conf
TimestampException.php
Title.php Merge "Rename variable in Title: $parser -> $titleParser" 2014-08-22 23:10:37 +00:00
TitleArray.php
TitleArrayFromResult.php
User.php Followup I4049b666: "Removing prefix exception for HTMLCheckMatrix" 2014-08-07 22:02:55 +00:00
UserArray.php
UserArrayFromResult.php Cleanup some docs (includes/*.php) 2014-07-24 19:42:24 +02:00
UserMailer.php Add missing @param to function docs 2014-08-14 19:38:57 +00:00
UserRightsProxy.php Fix userrights-interwiki when the 'user' table is shared 2014-08-10 12:01:25 +00:00
WatchedItem.php Use batch inserts for watchlist 2014-08-15 14:16:04 -07:00
WebRequest.php Cleanup some docs (includes/*.php) 2014-07-24 19:42:24 +02:00
WebResponse.php Docs: compatability -> compatibility 2014-08-13 19:39:07 +02:00
WebStart.php Shorten if/else to ternary expressions in WebStart.php 2014-07-22 14:07:03 -07:00
WikiMap.php
Xml.php Remove Xml::namespaceSelector() (deprecated since 1.19) 2014-08-19 23:34:21 -07:00
ZhConversion.php