Move <div>...</div> from message to program code for consistency with other stylings.
authorRaimond Spekking <raymond@users.mediawiki.org>
Fri, 20 Feb 2009 12:53:36 +0000 (12:53 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Fri, 20 Feb 2009 12:53:36 +0000 (12:53 +0000)
Other languages will be updated by Translatewiki

includes/Article.php
languages/messages/MessagesEn.php

index 2a9f66d..07dd8ea 100644 (file)
@@ -1128,7 +1128,7 @@ class Article {
                                        $o->tb_name,
                                        $rmvtxt);
                }
-               $wgOut->addWikiMsg( 'trackbackbox', $tbtext );
+               $wgOut->wrapWikiMsg( "<div id='mw_trackbacks'>$1</div>\n", array( 'trackbackbox', $tbtext ) );
                $this->mTitle->invalidateCache();
        }
 
index ffcc22c..0f0e71c 100644 (file)
@@ -3562,9 +3562,8 @@ This confirmation code will expire at $4.',
 'scarytranscludetoolong'  => '[URL is too long]',
 
 # Trackbacks
-'trackbackbox'      => '<div id="mw_trackbacks">Trackbacks for this page:<br />
-$1
-</div>',
+'trackbackbox'      => 'Trackbacks for this page:<br />
+$1',
 'trackback'         => '; $4$5 : [$2 $1]', # do not translate or duplicate this message to other languages
 'trackbackexcerpt'  => '; $4$5 : [$2 $1]: <nowiki>$3</nowiki>', # do not translate or duplicate this message to other languages
 'trackbackremove'   => ' ([$1 Delete])',