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:
raymond 2012-09-07 10:47:14 +02:00
parent 42c863a1f8
commit dabc66a883

View file

@ -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 ) )