Add custom label text setting to be used for email output
label-raw is likely to contain HTML which we don't want Bug: T96087 Change-Id: Ia3ee1e9f56bec9129afb13e2af845717744a5c43
This commit is contained in:
parent
a913c98f3d
commit
0d15b02444
|
@ -350,7 +350,9 @@ class SpecialContact extends UnlistedSpecialPage {
|
|||
continue;
|
||||
}
|
||||
|
||||
if ( isset( $field['label-message'] ) ) {
|
||||
if ( isset( $field['contactpage-email-label'] ) ) {
|
||||
$name = $field['contactpage-email-label'];
|
||||
} elseif ( isset( $field['label-message'] ) ) {
|
||||
$name = wfMessage( $field['label-message'] )->inContentLanguage()->text();
|
||||
} else {
|
||||
$name = $field['label'];
|
||||
|
|
Loading…
Reference in New Issue