r50895 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50894‎ | r50895 | r50896 >
Date:14:35, 22 May 2009
Author:nikerabbit
Status:ok
Tags:
Comment:
Revert a bit of too much escaping
Modified paths:
  • /trunk/phase3/includes/Preferences.php (modified) (history)
  • /trunk/phase3/languages/Language.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Preferences.php
@@ -122,7 +122,7 @@
123123 'type' => 'info',
124124 'label' => wfMsgExt( 'prefs-memberingroups', 'parseinline',
125125 count($userEffectiveGroupsArray) ),
126 - 'default' => htmlspecialchars( $wgLang->commaList( $userEffectiveGroupsArray ) ),
 126+ 'default' => $wgLang->commaList( $userEffectiveGroupsArray ),
127127 'raw' => true,
128128 'section' => 'personal/info',
129129 );
Index: trunk/phase3/languages/Language.php
@@ -2049,7 +2049,7 @@
20502050 function commaList( $list ) {
20512051 return implode(
20522052 $list,
2053 - wfMsgExt( 'comma-separator', array( 'escapenoentities', 'language' => $this ) ) );
 2053+ wfMsgExt( 'comma-separator', array( 'parsemag', 'escapenoentities', 'language' => $this ) ) );
20542054 }
20552055
20562056 /**
@@ -2061,7 +2061,7 @@
20622062 function semicolonList( $list ) {
20632063 return implode(
20642064 $list,
2065 - wfMsgExt( 'semicolon-separator', array( 'escapenoentities', 'language' => $this ) ) );
 2065+ wfMsgExt( 'semicolon-separator', array( 'parsemag', 'escapenoentities', 'language' => $this ) ) );
20662066 }
20672067
20682068 /**

Status & tagging log