mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +00:00
Replace non standard 'tt' with 'code' for better HTML5 conformity
See http://www.w3.org/wiki/HTML/Elements/tt Change-Id: Ia2ffb09c002bc3aededfb6bcb8a430da32b52cde
This commit is contained in:
parent
42c863a1f8
commit
dabc66a883
|
@ -1907,9 +1907,9 @@ class AbuseFilter {
|
|||
if ( !empty( $variableMessageMappings[$key] ) ) {
|
||||
$mapping = $variableMessageMappings[$key];
|
||||
$keyDisplay = wfMsgExt( "abusefilter-edit-builder-vars-$mapping", 'parseinline' ) .
|
||||
' ' . Xml::element( 'tt', null, wfMsg( 'parentheses', $key ) );
|
||||
' ' . Xml::element( 'code', null, wfMsg( 'parentheses', $key ) );
|
||||
} else {
|
||||
$keyDisplay = Xml::element( 'tt', null, $key );
|
||||
$keyDisplay = Xml::element( 'code', null, $key );
|
||||
}
|
||||
|
||||
if ( is_null( $value ) )
|
||||
|
|
Loading…
Reference in a new issue