r78625 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78624‎ | r78625 | r78626 >
Date:16:42, 20 December 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Do not replace underscores by spaces in the intro and outro parameters. Breaks stuff and you can already use   to add tailing spaces.
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_QueryPrinter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_QueryPrinter.php
@@ -245,11 +245,11 @@
246246 $this->m_params = $params;
247247
248248 if ( array_key_exists( 'intro', $params ) ) {
249 - $this->mIntro = str_replace( '_', ' ', $params['intro'] );
 249+ $this->mIntro = $params['intro'];
250250 }
251251
252252 if ( array_key_exists( 'outro', $params ) ) {
253 - $this->mOutro = str_replace( '_', ' ', $params['outro'] );
 253+ $this->mOutro = $params['outro'];
254254 }
255255
256256 if ( array_key_exists( 'searchlabel', $params ) ) {

Status & tagging log