Remove unused private "filterPage" function from specials/SpecialExport.php
[lhc/web/wiklou.git] / includes / ProfilerSimpleText.php
index 9252e30..d3df390 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'));