https://www.mediawiki.org/wiki/Special:Code/MediaWiki/108367

Revision: 108367
Author:   amire80
Date:     2012-01-08 21:07:27 +0000 (Sun, 08 Jan 2012)
Log Message:
-----------
Fix the regression pointed out by Robin in r105855.

Modified Paths:
--------------
    trunk/phase3/includes/Linker.php

Modified: trunk/phase3/includes/Linker.php
===================================================================
--- trunk/phase3/includes/Linker.php    2012-01-08 20:44:23 UTC (rev 108366)
+++ trunk/phase3/includes/Linker.php    2012-01-08 21:07:27 UTC (rev 108367)
@@ -1178,7 +1178,6 @@
                                $link = '';
                        }
                }
-               $auto = "$link$auto";
                if ( $pre ) {
                        # written summary $presep autocomment (summary /* 
section */)
                        $auto = wfMsgExt( 'autocomment-prefix', array( 
'escapenoentities', 'content' ) ) . $auto;
@@ -1188,7 +1187,7 @@
                        $auto .= wfMsgExt( 'colon-separator', array( 
'escapenoentities', 'content' ) );
                }
                $auto = '<span class="autocomment">' . $auto . '</span>';
-               $comment = $pre . $auto . $post;
+               $comment = $pre . $link . $wgLang->getDirMark() . '<span 
dir="auto">' . $auto . $post . '</span>';
                return $comment;
        }
 


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to