r80483 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80482‎ | r80483 | r80484 >
Date:01:05, 18 January 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
single quotes ftw
Modified paths:
  • /trunk/extensions/SemanticForms/specials/SF_FormEdit.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/specials/SF_FormEdit.php
@@ -43,8 +43,8 @@
4444 $fe_url = $fe->getTitle()->getFullURL();
4545 $i = 0;
4646 foreach ( $alt_forms as $alt_form ) {
47 - if ( $i++ > 0 ) { $text .= ", "; }
48 - $text .= "<a href=\"$fe_url/$alt_form/$target_name\">" . str_replace( '_', ' ', $alt_form ) . "</a>";
 47+ if ( $i++ > 0 ) { $text .= ', '; }
 48+ $text .= "<a href=\"$fe_url/$alt_form/$target_name\">" . str_replace( '_', ' ', $alt_form ) . '</a>';
4949 }
5050 return $text;
5151 }