From dd39bd97fff1c700ed5e12f2bb1f2724fc94ffa5 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Fri, 18 Dec 2009 21:21:51 +0000 Subject: [PATCH] * (bug 20388) ProfilerSimpleText no longer outputs comments on action=raw so that the result is valid CSS/JS and don't interfere with wikitext Todo: maybe output /* */ comment when generating CSS/JS, but it'd need to factorise some code in RawPage (or another way) --- RELEASE-NOTES | 1 + includes/ProfilerSimpleText.php | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 65a0d14e38..04db7391cd 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -687,6 +687,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 21536) Fixed JavaScript error on Special:Search caused by an incorrect ID * (bug 21535) RecentChanges RSS feed now always recognises the namespace filter, previously it sometimes didn't due to caching. +* (bug 20388) ProfilerSimpleText no longer outputs comment on action=raw == API changes in 1.16 == diff --git a/includes/ProfilerSimpleText.php b/includes/ProfilerSimpleText.php index 9252e30228..d3df390832 100644 --- a/includes/ProfilerSimpleText.php +++ b/includes/ProfilerSimpleText.php @@ -21,6 +21,10 @@ class ProfilerSimpleText extends ProfilerSimple { public $visible=false; /* Show as
 or