mediawiki-extensions-Visual.../modules/ve
Roan Kattouw 94879a98b7 Use jquery.i18n for standalone i18n
VisualEditor.php:
* Make jquery.i18n a dependency of ext.visualEditor.standalone

makeStaticLoader.php:
* Remove ve.init.platform.addMessages() call with PHP-generated messages
* Add fake module for jquery.i18n
** Needed because the module might come from MW core
** Also add special treatment for fallbacks.js and language scripts

ve.init.sa.Platform.js:
* Remove basic message system, replace with jquery.i18n
* Add initialize method that loads messages for current language and
  fallbacks

ve.init.sa.Target.js:
* Wait for the platform to initialize before actually doing things
* Add .setup() method to allow callers to short-circuit this process
** This is convenient for callers of ve.init.sa.Target in the test suite

ve.ce.test.js:
* Use existing ve.test.utils function for creating a surface

ve.test.utils.js:
* Call .setup() on the target so we can get a surface synchronously

ve.init.Platform.test.js:
* Make these tests async, wait for the platform to initialize
* Allow for missing messages to be output either as <foo> (MW)
  or foo (jquery.i18n)
* Get rid of message clearing code, namespace test messages instead

Change-Id: Iac7dfd327eadf9b503a61510574d35d748faac92
2013-12-17 21:16:26 +01:00
..
ce Add a getDirectionFromRange Method to ve.ce.Document 2013-12-13 12:07:19 -08:00
dm Merge "Check values property exists before removing attribute" 2013-12-13 19:39:42 +00:00
i18n Localisation updates from https://translatewiki.net. 2013-12-16 19:50:58 +00:00
init Use jquery.i18n for standalone i18n 2013-12-17 21:16:26 +01:00
test Use jquery.i18n for standalone i18n 2013-12-17 21:16:26 +01:00
ui Add a getDirectionFromRange Method to ve.ce.Document 2013-12-13 12:07:19 -08:00
ve.BranchNode.js
ve.debug.js
ve.Document.js Always use #getDocumentNode. 2013-12-04 22:55:26 +00:00
ve.EventSequencer.js ve.EventSequencer onLoop: minor consistency change 2013-12-13 18:33:11 +00:00
ve.js Set up node-jscs, pass it, and configure in local Gruntfile 2013-12-06 10:37:27 -08:00
ve.LeafNode.js
ve.Node.js Rename @emits to @fires so we're forward compatible with JSDuck 5 2013-10-22 19:11:16 +00:00
ve.Range.js doc: Fix existing violations detected by JSDuck 5 2013-11-19 16:10:25 +05:30
ve.track.js ve.track: add topic-based analytic event subscription 2013-10-16 10:03:27 -07:00