Page MenuHomePhabricator

Message mwe-upwiz-license-cc-subhead need to be paresed
Open, Needs TriagePublicBUG REPORT


List of steps to reproduce (step by step, including full links if applicable):

  • Visit Special:UploadWizard on commonwiki
  • Select "This file is not my own work" in phase "Release rights", jump to section "Now tell us why you are sure you have the right to publish this work:"

What happens?:
Message (mwe-upwiz-license-cc-subhead) (locally overridden) displayed in wikitext form.

image.png (708×1 px, 209 KB)

What should have happened instead?:
It should be parsed and link should be properly displayed.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
1.39.0-wmf.5 (adb92e7)

Event Timeline

Handling logic is at ./resources/uw.LicenseGroup.js:87

$subhead = this.config.subhead && $( '<div>' )
	.addClass( 'mwe-upwiz-deed-license-group-subhead' )
	.msg( this.config.subhead, this.count ),                // <--

Tried replacing with mw.message().parse() (of course need another dependency mediawiki.jqueryMsg), but seems not working with [[COM:VRT]] link.