Page MenuHomePhabricator

Sourcefilename and destfilename messages should use wfMsgExt with parseinline
Closed, ResolvedPublic

Description

Author: brianna.laugher

Description:
SpecialUpload.php

currently

$sourcefilename = wfMsgExt( 'sourcefilename', 'escapenoentities' );
$destfilename = wfMsgExt( 'destfilename', 'escapenoentities' );

should be

$sourcefilename = wfMsgExt( 'sourcefilename', array( 'parseinline','escapenoentities') );
$destfilename = wfMsgExt( 'destfilename', array( 'parseinline' ,'escapenoentities') );

These messages used to have parseinline and our custom forms such as "deownwork" (which combined a language code with a purpose) would then work. Sourcefilename messages for "deownwork" are filled with "{{MediaWiki:sourcefilename/de}}" so that the expected default is shown. (same with destfilename)

Now, the curly brackets are shown directly on the form.


Version: unspecified
Severity: minor

Details

Reference
bz14496

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:13 PM
bzimport set Reference to bz14496.
bzimport added a subscriber: Unknown Object (MLST).