r57569 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57568‎ | r57569 | r57570 >
Date:16:36, 9 October 2009
Author:raymond
Status:ok
Tags:
Comment:
* Move parentheses into tt styled section. From a typographical point of view standard parentheses around tt styled text look ugly.
Modified paths:
  • /trunk/extensions/AbuseFilter/AbuseFilter.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AbuseFilter/AbuseFilter.class.php
@@ -1657,7 +1657,7 @@
16581658 if ( !empty( $variableMessageMappings[$key] ) ) {
16591659 $mapping = $variableMessageMappings[$key];
16601660 $keyDisplay = wfMsgExt( "abusefilter-edit-builder-vars-$mapping", 'parseinline' ) .
1661 - ' (' . Xml::element( 'tt', null, $key ) . ')';
 1661+ ' ' . Xml::element( 'tt', null, wfMsg( 'parentheses', $key ) );
16621662 } else {
16631663 $keyDisplay = Xml::element( 'tt', null, $key );
16641664 }

Status & tagging log