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

bzimport added projects: MediaWiki-Interface, Easy.Via ConduitNov 21 2014, 10:13 PM
bzimport added a subscriber: wikibugs-l.
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

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.