mediawiki-extensions-Visual.../modules/ve
Timo Tijhof 0560084393 ve.ui.MWTemplateDialog: Implement inferring of template data
Clean up of logic implemented during the template-sprint:

* Store spec inside the content model, directly associated
  with the content-part. This allowed fixing the bug where
  two spec-less template invocations overwrote each other's
  made-up template data due to it using "target.wt" as key.
  The opener now provides the fetcher with a "specId" which
  is set to "part/<id>" for wt-generated template targets.

* Batching is now implemented inside the fetcher instead
  of outside. This allows calling "getTemplateSpecs" inside
  the loop with a dedicated callback for each spec to store
  it in the content.parts[i] object passed by reference.

  It also makes it easier to use by different code paths.
  You call it as much as you like and it will queue up
  naturally through javascript yielding and then make a batch
  request. This is based on the pattern I used in MediaWiki core
  for mw.loader#addEmbeddedCSS.

Follows-up e7af635, da679b7.

Change-Id: I4d7121229d060a96d927585c987a1a81a474b922
2013-05-30 18:37:51 +01:00
..
ce Merge "A fix for arrow movements in RTL wikis." 2013-05-28 21:50:58 +00:00
dm Add support for editing multi-template nodes 2013-05-29 01:10:57 +01:00
init Treat acronyms like words in camel case names 2013-05-28 12:51:41 +00:00
test Add class mw-figcaption to figcaption tag inside mwimage 2013-05-28 23:21:59 +00:00
ui ve.ui.MWTemplateDialog: Implement inferring of template data 2013-05-30 18:37:51 +01:00
ve.BranchNode.js Kill getOffsetFromNode() with fire 2013-05-09 17:26:22 -07:00
ve.debug.js ve.debug: Document why we use global Function#apply+Function#call instead of method.apply 2013-05-30 13:03:14 +01:00
ve.Document.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.Element.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.EventEmitter.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.Factory.js
ve.js Compare objects/arrays fix 2013-05-29 00:39:04 +01:00
ve.LeafNode.js
ve.NamedClassFactory.js Rename ve.NodeFactory to ve.NamedClassFactory 2013-04-09 12:05:05 -07:00
ve.Node.js Introduction of setup and teardown events for ve.ce.View nodes 2013-05-14 19:47:40 +00:00
ve.Range.js
ve.Registry.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00