r40718 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40717‎ | r40718 | r40719 >
Date:23:02, 10 September 2008
Author:demon
Status:old
Tags:
Comment:
Revert r40707. Could produce broken XHTML if the source wiki has unclosed div tags.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/parser/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/Parser.php
@@ -3161,7 +3161,7 @@
31623162
31633163 if (strlen($url) > 255)
31643164 return wfMsg('scarytranscludetoolong');
3165 - return "<div class=\"mw-iw-transclusion\">\n" . $this->fetchScaryTemplateMaybeFromCache($url) . "</div>\n";
 3165+ return $this->fetchScaryTemplateMaybeFromCache($url);
31663166 }
31673167
31683168 function fetchScaryTemplateMaybeFromCache($url) {
Index: trunk/phase3/RELEASE-NOTES
@@ -121,8 +121,6 @@
122122 Special:Statistics
123123 * (bug 15514) Setting $wgRightsText without $wgRightsUrl now produces a
124124 plaintext copyright notice. Patch by Juliano F. Ravasi.
125 -* (bug 12400) Pages transcluded from other wikis ($wgEnableScaryTransclusion)
126 - are now wrapped in the "mw-iw-transclusion" class.
127125
128126 === Bug fixes in 1.14 ===
129127

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r40707(bug 12400) Add class to content transcluded from IW source.demon18:18, 10 September 2008

Status & tagging log