Revert r40707. Could produce broken XHTML if the source wiki has unclosed div tags.
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 10 Sep 2008 23:02:48 +0000 (23:02 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 10 Sep 2008 23:02:48 +0000 (23:02 +0000)
RELEASE-NOTES
includes/parser/Parser.php

index 08b627d..f6c0c35 100644 (file)
@@ -121,8 +121,6 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   Special:Statistics
 * (bug 15514) Setting $wgRightsText without $wgRightsUrl now produces a 
   plaintext copyright notice. Patch by Juliano F. Ravasi.
-* (bug 12400) Pages transcluded from other wikis ($wgEnableScaryTransclusion)
-  are now wrapped in the "mw-iw-transclusion" class.
 
 === Bug fixes in 1.14 ===
 
index 02ad544..92c0a4d 100644 (file)
@@ -3161,7 +3161,7 @@ class Parser
 
                if (strlen($url) > 255)
                        return wfMsg('scarytranscludetoolong');
-               return "<div class=\"mw-iw-transclusion\">\n" . $this->fetchScaryTemplateMaybeFromCache($url) . "</div>\n";
+               return $this->fetchScaryTemplateMaybeFromCache($url);
        }
 
        function fetchScaryTemplateMaybeFromCache($url) {