mediawiki-extensions-Visual.../modules/ve-mw/ui
Timo Tijhof fd83cafa4b MWTemplatePage: Account for template.title being null
Example:
* Transclusion with html comment in target
  {{ Unsigned <!-- ignored -->  |Example}}.
* Transclusion with wikitext expression as target
  {{ {{echo|Unsigned}} <!-- ignored -->  |Example}}.

The first case was handled already (Parsoid strips the comment
when it normalises the target title). The second case, however,
is not handled and ends in template.title being null.

This was already documented (MWTemplateModel#getTitle returns
{string|null}), but not used correctly.

The title of the dialog is unaffected as it fallsback to
displaying target.wt instead of target.title.

Bug: 66724
Change-Id: Ib6696ac3538f6cb9e93da2f6f8666f373247eeb4
2014-07-10 13:49:41 +00:00
..
dialogs Apply 'original size' to images and enable apply button in ve-MW 2014-07-08 13:11:07 -04:00
inspectors build: Update jscs and use new "wikimedia" preset 2014-06-26 17:00:15 +00:00
pages MWTemplatePage: Account for template.title being null 2014-07-10 13:49:41 +00:00
styles Followup 54458c8: make newly RTFified icons actually work everywhere 2014-07-02 19:54:07 -07:00
themes Hide unsupported UI elements in references on mobile 2014-05-21 16:18:08 -07:00
tools Merge Media Edit and Media Insert dialogs 2014-07-01 17:30:51 -07:00
widgets Merge "Try some more to handle template namespace properly" 2014-07-03 01:23:47 +00:00
ve.ui.MWCommandRegistry.js Merge Media Edit and Media Insert dialogs 2014-07-01 17:30:51 -07:00