mediawiki-extensions-Visual.../modules/ve-mw/ui/pages
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
..
ve.ui.MWAdvancedSettingsPage.js Allow VE users to change displaytitle in advanced settings dialog 2014-06-12 01:27:57 +00:00
ve.ui.MWCategoriesPage.js Update VE core submodule to master (55a5cdc): use new ve.ui.Dialogs and ve.ui.Inspectors 2014-04-09 20:28:30 -07:00
ve.ui.MWLanguagesPage.js Use registered target, instead of ve.init.Target 2014-06-17 20:41:01 +01:00
ve.ui.MWParameterPage.js build: Update jscs and use new "wikimedia" preset 2014-06-26 17:00:15 +00:00
ve.ui.MWParameterPlaceholderPage.js build: Update jscs and use new "wikimedia" preset 2014-06-26 17:00:15 +00:00
ve.ui.MWSettingsPage.js Merge "Allow extensions to add extra meta item checkboxes to the page settings dialog" 2014-05-29 00:33:19 +00:00
ve.ui.MWTemplatePage.js MWTemplatePage: Account for template.title being null 2014-07-10 13:49:41 +00:00
ve.ui.MWTemplatePlaceholderPage.js Try some more to handle template namespace properly 2014-07-03 01:20:02 +00:00
ve.ui.MWTransclusionContentPage.js build: Update jscs and use new "wikimedia" preset 2014-06-26 17:00:15 +00:00