r112203 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112202‎ | r112203 | r112204 >
Date:13:52, 23 February 2012
Author:jeroendedauw
Status:deferred
Tags:
Comment:
fix encoding issue
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_Infolink.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Infolink.php
@@ -376,8 +376,8 @@
377377 // make URLs less readable
378378 //
379379 $value = str_replace(
380 - array( '-', '#', "\n", ' ', '/', '[', ']', '<', '>', '&lt;', '&gt;', '&amp;', '\'\'', '|', '&', '%', '?' ),
381 - array( '-2D', '-23', '-0A', '-20', '-2F', '-5B', '-5D', '-3C', '-3E', '-3C', '-3E', '-26', '-27-27', '-7C', '-26', '-25', '-3F' ),
 380+ array( '-', '#', "\n", ' ', '/', '[', ']', '<', '>', '&lt;', '&gt;', '&amp;', '\'\'', '|', '&', '%', '?', '$' ),
 381+ array( '-2D', '-23', '-0A', '-20', '-2F', '-5B', '-5D', '-3C', '-3E', '-3C', '-3E', '-26', '-27-27', '-7C', '-26', '-25', '-3F', '-24' ),
382382 $value
383383 );
384384