Wikipedia talk:WikiProject Articles for creation/Helper script/Rewrite: Difference between revisions
Content deleted Content added
Theopolisme (talk | contribs) |
Theopolisme (talk | contribs) →Parsing: r |
||
Line 11:
: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)
:: Okay, then. I skimmed through the source code and Parsoid was mentioned only in one place, and seemingly only to extract that information. Quite a waste of bandwidth right now, as a Parsoid-parsed page contains human-readable data entangled with with machine-readable data (never mind more HTTP round trips). Not sure how the former might become useful later, but I guess you know what you are doing. <span class="signature">[[User:Kephir|Keφr]]</span> 08:17, 14 March 2014 (UTC)
:::Yeah, I'm definitely not completely sure about ditching the API of course. I'll being doing some more detailed speed comparisons and such in the future -- thanks for brining this to my attention. '''[[User:Theopolisme|<span style="color:#232323;">Theopolisme</span>]] <span style="color:#4F4F4F;">([[User talk:Theopolisme|<span style="color:#4F4F4F;">talk</span>]])</span>''' 17:25, 14 March 2014 (UTC)
== More notes. ==
|