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


Author: brianna.laugher



$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

bzimport added projects: MediaWiki-Interface, Easy.Via ConduitNov 21 2014, 10:13 PM
bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz14496.
bzimport created this task.Via LegacyJun 10 2008, 2:59 PM
demon added a comment.Via ConduitJun 10 2008, 3:56 PM

Done in r36157

Add Comment