http://www.mediawiki.org/wiki/Special:Code/MediaWiki/62017

Revision: 62017
Author:   bawolff
Date:     2010-02-05 06:54:05 +0000 (Fri, 05 Feb 2010)

Log Message:
-----------
follow-up r60863 - fix issue with name attribute on <map> not matching usemap 
attribute on <img>

Modified Paths:
--------------
    trunk/extensions/timeline/Timeline.php

Modified: trunk/extensions/timeline/Timeline.php
===================================================================
--- trunk/extensions/timeline/Timeline.php      2010-02-05 06:36:40 UTC (rev 
62016)
+++ trunk/extensions/timeline/Timeline.php      2010-02-05 06:54:05 UTC (rev 
62017)
@@ -101,7 +101,7 @@
        } else {
                @$map = file_get_contents( $fname.".map" );
                $map = str_replace( ' >', ' />', $map );
-               $map = "<map name=\"" . htmlspecialchars( $hash ) . 
"\">{$map}</map>";
+               $map = "<map name=\"timeline_" . htmlspecialchars( $hash ) . 
"\">{$map}</map>";
                $map = easyTimelineFixMap( $map );
 
                if (wfIsWindows()) {



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to