r96243 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96242‎ | r96243 | r96244 >
Date:18:15, 4 September 2011
Author:maxsem
Status:ok
Tags:
Comment:
Revert the getCode() part of r96189: breaks prefabs table generation
Modified paths:
  • /trunk/extensions/wikihiero/wikihiero.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/wikihiero/wikihiero.body.php
@@ -482,7 +482,6 @@
483483 * @return string: converted code
484484 */
485485 public static function getCode( $file ) {
486 - $s = substr( $file, strlen( WH_IMG_PRE ), -( 1 + strlen( self::IMG_EXT ) ) );
487 - return str_replace( '&', ':', $s );
 486+ return substr( $file, strlen( WH_IMG_PRE ), -( 1 + strlen( self::IMG_EXT ) ) );
488487 }
489488 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r96189* Good bye, ugly globals!...maxsem14:38, 3 September 2011

Status & tagging log