Wikipedia talk:WikiProject Articles for creation/Helper script/Rewrite: Difference between revisions
Content deleted Content added
→Parsing: new section |
Theopolisme (talk | contribs) →Parsing: reply |
||
Line 9:
If all you care about is template names and their parameters, you could have avoided using Parsoid and use [[mw:API:Revisions|<code>rvgeneratexml</code>]] instead. See [[mw:User:Kephir/XML parse tree]] for the parse tree format. <span class="signature">[[User:Kephir|Keφr]]</span> 06:22, 14 March 2014 (UTC)
:Thanks for the heads up, [[User:Kephir|Keφr]]! I'm actually not just getting template names/parameters but also various other pieces of data about the page (more in the future). Yeah, I probably *could* use the API combined with some other query parameters but Parsoid is fast enough already for our needs (especially via parsoid-prod.wmflabs), plus the JSON is very simple to manipulate as well as grab new information from. '''[[User:Theopolisme|<span style="color:#232323;">Theopolisme</span>]] <span style="color:#4F4F4F;">([[User talk:Theopolisme|<span style="color:#4F4F4F;">talk</span>]])</span>''' 06:52, 14 March 2014 (UTC)
|