Fix issues identified by SpaceBeforeSingleLineComment sniff
[lhc/web/wiklou.git] / includes / api / ApiParse.php
index d67655b..fcab9be 100644 (file)
@@ -171,6 +171,7 @@ class ApiParse extends ApiBase {
 
                                // Don't pollute the parser cache when setting options that aren't
                                // in ParserOptions::optionsHash()
+                               /// @todo: This should be handled closer to the actual cache instead of here, see T110269
                                $suppressCache =
                                        $params['disablepp'] ||
                                        $params['disablelimitreport'] ||
@@ -525,7 +526,7 @@ class ApiParse extends ApiBase {
         * @return Content
         */
        private function getContent( WikiPage $page, $pageId = null ) {
-               $content = $page->getContent( Revision::RAW ); //XXX: really raw?
+               $content = $page->getContent( Revision::RAW ); // XXX: really raw?
 
                if ( $this->section !== false && $content !== null ) {
                        $content = $this->getSectionContent(