]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - includes/ProfilerSimpleText.php
MediaWiki 1.16.0
[autoinstallsdev/mediawiki.git] / includes / ProfilerSimpleText.php
index 9252e302289116c5e504d183b458a9f4bee08fdb..d3df390832f37761b12eb535a870e5e0a9fc474f 100644 (file)
@@ -21,6 +21,10 @@ class ProfilerSimpleText extends ProfilerSimple {
        public $visible=false; /* Show as <PRE> or <!-- ? */
 
        function getFunctionReport() {
+               global $wgRequest;
+               if ( $wgRequest->getVal( 'action' ) == 'raw' ) # bug 20388
+                       return;
+
                if ($this->visible) print "<pre>";
                        else print "<!--\n";
                uasort($this->mCollated,array('self','sort'));