wiki.techinc.nl/includes/resourceloader
Bartosz Dziewoński c57fe1c4a8 Refactor upload dialog to make it configurable
This aims to solve all the problems and fulfill all the use cases.
It allows the dialog to be configured for Wikimedia Commons without
hardcoding anything, and it should be flexible enough for third-party
use. The default configuration should be sane for any wiki.

The file upload dialog can be configured using $wgUploadDialog.
See DefaultSettings.php for documentation. Example configuration for
Wikimedia Commons: Id56370e2334c8fe34e88180356232b48c244b7c4.

Configuration is loaded using ResourceLoaderUploadDialogModule for
local uploads or using ApiQuerySiteinfo (action=query&meta=siteinfo)
for uploads to a foreign wiki. Custom localisation messages may be
loaded using action=query&meta=allmessages.

Renamed messages:
  upload-form-label-own-work-message-local       -> upload-form-label-own-work-message-generic-local
  upload-form-label-not-own-work-message-local   -> upload-form-label-not-own-work-message-generic-local
  upload-form-label-not-own-work-local-local     -> upload-form-label-not-own-work-local-generic-local
  upload-form-label-own-work-message-default     -> upload-form-label-own-work-message-generic-foreign
  upload-form-label-not-own-work-message-default -> upload-form-label-not-own-work-message-generic-foreign
  upload-form-label-not-own-work-local-default   -> upload-form-label-not-own-work-local-generic-foreign

Deleted messages, moved to WikimediaMessages in Id2977e19330aeaf854157d4355cd17e5dc72f16a:
  upload-form-label-own-work-message-shared
  upload-form-label-not-own-work-message-shared
  upload-form-label-not-own-work-local-shared

Bug: T118097
Bug: T120998
Bug: T121632
Bug: T121633
Bug: T127895
Change-Id: I3017b8f09c27625deb7a92d6f667895b71cc0637
2016-05-16 21:14:58 +02:00
..
DerivativeResourceLoaderContext.php resourceloader: Consistently refer to the framework as ResourceLoader 2015-10-28 03:24:40 +00:00
ResourceLoader.php resourceloader: Implement modern module loading (2/2) 2016-04-13 15:43:41 +00:00
ResourceLoaderContext.php resourceloader: Remove false return from Context::getUserObj() 2016-05-10 20:39:56 +01:00
ResourceLoaderEditToolbarModule.php resourceloader: Consistently refer to the framework as ResourceLoader 2015-10-28 03:24:40 +00:00
ResourceLoaderFileModule.php CSSMin: Remove file-existance filter in getLocalFileReferences() 2016-03-03 00:16:13 +00:00
ResourceLoaderFilePath.php
ResourceLoaderForeignApiModule.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ResourceLoaderImage.php resourceloader: Remove wfExpandUrl() from ResourceLoaderImage 2016-04-02 00:25:11 +01:00
ResourceLoaderImageModule.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ResourceLoaderJqueryMsgModule.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ResourceLoaderLanguageDataModule.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ResourceLoaderLanguageNamesModule.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ResourceLoaderModule.php resourceloader: Remove unused Module::setOrigin() method 2016-05-10 19:13:33 +01:00
ResourceLoaderOOUIImageModule.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ResourceLoaderRawFileModule.php Always use 'bool' instead of 'boolean' in Doxygen tags 2016-03-24 09:44:09 +01:00
ResourceLoaderSiteModule.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ResourceLoaderSkinModule.php Fix and standardize Doxygen tags 2016-04-30 12:10:17 +02:00
ResourceLoaderSpecialCharacterDataModule.php Follow-up Idb1202579: Add special-characters-group-greekextended to RL module 2016-04-14 19:50:10 +01:00
ResourceLoaderStartUpModule.php resourceloader: Avoid Title::newMainPage() to support $wgForceUIMsgAsContentMsg 2016-04-01 23:37:09 +00:00
ResourceLoaderUploadDialogModule.php Refactor upload dialog to make it configurable 2016-05-16 21:14:58 +02:00
ResourceLoaderUserCSSPrefsModule.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ResourceLoaderUserDefaultsModule.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ResourceLoaderUserGroupsModule.php resourceloader: Remove false return from Context::getUserObj() 2016-05-10 20:39:56 +01:00
ResourceLoaderUserModule.php resourceloader: Remove false return from Context::getUserObj() 2016-05-10 20:39:56 +01:00
ResourceLoaderUserOptionsModule.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ResourceLoaderUserTokensModule.php OutputPage: Minor clean up of <head> and HTML 2016-03-24 03:24:31 +00:00
ResourceLoaderWikiModule.php Allow specifying targets for ResourceLoaderWikiModule 2016-05-02 11:32:20 -07:00