Dian schreef:
hi,
as described on the MW API help pages [1], the parse method should
return parsed wikitext. But when I test the method, the result includes:
<!--
NewPP limit report
Preprocessor node count: 2/1000000
Post-expand include size: 40/2097152 bytes
Template argument size: 0/2097152 bytes
Expensive parser function count: 0/100
-->
This was on my test wiki-system, but direct over MW the result is the same.
Any ideas how to fix this?
It's not unexpected data, it's valid HTML. You'll notice that
it's even
in the HTML index.php generates. Since it's just an HTML comment, it
should be harmless. If you really want to, you can remove it by simply
stripping all comments.
Roan Kattouw (Catrope)