Board Thread:General Coding Help/@comment-5301680-20170721072504

When trying to parse pages in wikis, I found out that there are two ways to achieve this: Two api endpoints return pages parsed as html. But the results are not quite the same: Of course the json itself differs, but what's important is the parsed string especially.

http://de.harry-grangers-test.wikia.com/api.php?action=query&titles=MediaWiki:Custom-Masthead-Statistic&prop=revisions&rvprop=content&format=jsonfm&indexpageids=true&rvparse=true

http://de.harry-grangers-test.wikia.com/api.php?action=parse&page=MediaWiki:Custom-Masthead-Statistic&format=jsonfm&indexpageids=true

Does anyone know how they differ technically and which one is the "better one" or if both have their own advantages in specific cases? 