https://bugzilla.wikimedia.org/show_bug.cgi?id=47333

       Web browser: ---
            Bug ID: 47333
           Summary: The disablepp parameter of action=parse doesn't work
           Product: MediaWiki
           Version: 1.22-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

When I try to remove the "NewPP limit report" from HTML returned by the API by
adding &disablepp to the query, the output doesn't change. That is, it still
contains the PP report even with &disablepp.

For example, the query

http://en.wikipedia.org/w/api.php?action=parse&format=jsonfm&page=User:Svick/Sandbox&prop=text&disablepp

currently returns something like:

{
    "parse": {
        "title": "User:Svick/Sandbox",
        "text": {
            "*": "<p>Use <a rel=\"nofollow\" class=\"external text\"
href=\"http://example.com\";>THIS LINK</a> to contact the vendor.</p>\n\n\n<!--
\nNewPP limit report\nPreprocessor visited node count: 1/1000000\nPreprocessor
generated node count: 4/1500000\nPost-expand include size: 0/2048000
bytes\nTemplate argument size: 0/2048000 bytes\nHighest expansion depth:
1/40\nExpensive parser function count: 0/500\n-->\n\n<!-- Saved in parser cache
with key enwiki:pcache:idhash:15416342-0!*!*!*!*!*!* and timestamp
20130417193229 -->\n"
        }
    }
}

The expectation is that the output shouldn't contain the "NewPP limit report"
comment.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to