r62017 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62016‎ | r62017 | r62018 >
Date:06:54, 5 February 2010
Author:bawolff
Status:ok
Tags:
Comment:
follow-up r60863 - fix issue with name attribute on <map> not matching usemap attribute on <img>
Modified paths:
  • /trunk/extensions/timeline/Timeline.php (modified) (history)

Diff [purge]

Index: trunk/extensions/timeline/Timeline.php
@@ -101,7 +101,7 @@
102102 } else {
103103 @$map = file_get_contents( $fname.".map" );
104104 $map = str_replace( ' >', ' />', $map );
105 - $map = "<map name=\"" . htmlspecialchars( $hash ) . "\">{$map}</map>";
 105+ $map = "<map name=\"timeline_" . htmlspecialchars( $hash ) . "\">{$map}</map>";
106106 $map = easyTimelineFixMap( $map );
107107
108108 if (wfIsWindows()) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r60863(bug 21948) Cached timelines have the wrong links between secure server and n...siebrand18:02, 9 January 2010

Status & tagging log