Go to file
Moriel Schottlender 3820295f23 Reorganize api calls and add sourceHandler and error message
Add a sourceHandler that deals with all source-related actions
like fetching template source and validating the existing
TemplateData string.

Also add a MessageDialog warning the user in case the TemplateData
is invalid. In this case, the user will be given the option either
to correct the JSON by hand or to start the editor to replace the
existing TemplateData with a new one.

Bug: T91730
Bug: T91325
Change-Id: I4e6d04f02565a02d8dcf5c70a575ab6433caa27f
2015-03-18 18:21:02 +00:00
api Add i18n for API module help 2014-10-29 14:59:23 -07:00
i18n Reorganize api calls and add sourceHandler and error message 2015-03-18 18:21:02 +00:00
lib/jquery.uls Eventify TemplateDataGenerator and use oojs-ui 2014-12-22 12:58:37 -05:00
modules Reorganize api calls and add sourceHandler and error message 2015-03-18 18:21:02 +00:00
resources TemplateDataBlob: Implement 'type' and 'label' 2013-05-09 02:49:56 +00:00
tests Reorganize api calls and add sourceHandler and error message 2015-03-18 18:21:02 +00:00
.csslintrc Add a grunt checker for jshint, jscs, csslint, and banana and pass them 2014-06-03 20:16:18 -07:00
.gitignore Document code with JSDuck 2015-03-06 17:56:30 -08:00
.gitreview Add .gitreview and .gitignore 2013-02-14 15:36:56 +00:00
.jscsrc Add a grunt checker for jshint, jscs, csslint, and banana and pass them 2014-06-03 20:16:18 -07:00
.jshintignore Add a grunt checker for jshint, jscs, csslint, and banana and pass them 2014-06-03 20:16:18 -07:00
.jshintrc Change global class variables to mw.TemplateData 2015-02-18 17:47:08 -08:00
composer.json Add composer entry point for phpcs and linting 2015-03-06 10:15:10 -08:00
COPYING license: Add COPYING file for GNU GPL v2 2014-03-13 23:19:19 +01:00
extension.json Reorganize api calls and add sourceHandler and error message 2015-03-18 18:21:02 +00:00
Gruntfile.js Add a grunt checker for jshint, jscs, csslint, and banana and pass them 2014-06-03 20:16:18 -07:00
jsduck.external.js Document code with JSDuck 2015-03-06 17:56:30 -08:00
jsduck.json Document code with JSDuck 2015-03-06 17:56:30 -08:00
package.json Document code with JSDuck 2015-03-06 17:56:30 -08:00
Specification.md Implement new "maps" property in Root 2014-11-08 20:29:51 +00:00
TemplateData.hooks.php Use ResourceLoader::isModuleRegistered() 2015-03-15 16:54:16 -07:00
TemplateData.i18n.php Update i18n shim 2014-04-22 13:47:40 +00:00
TemplateData.php Reorganize api calls and add sourceHandler and error message 2015-03-18 18:21:02 +00:00
TemplateDataBlob.php Make elseif into else because it is 2015-03-03 18:30:32 -08:00