Wikipedia talk:WikiProject Articles for creation/Helper script/Rewrite: Difference between revisions
Content deleted Content added
Theopolisme (talk | contribs) →More notes.: manually clear items too |
Theopolisme (talk | contribs) →Parsing: thank you! |
||
Line 12:
:: 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)
{{od}}
{{U|Kephir}} Spent my afternoon doing some serious speed tests. It looks like even with the additional requests in the future (metadata, categories, etc.), using the api itself rather than Parsoid is still faster. So... I've implemented it! Your guide was extremely helpful, and the script is significantly sped up as a result. Just goes to show that shiny new features aren't always better. (The funny thing is, I was working on Special:ExpandTemplates in MediaWiki itself recently...implemented the HTML preview functionality... and still didn't remember that you could get the XML parse tree...*sigh*). Again, '''thank you'''. :) '''[[User:Theopolisme|<span style="color:#232323;">Theopolisme</span>]] <span style="color:#4F4F4F;">([[User talk:Theopolisme|<span style="color:#4F4F4F;">talk</span>]])</span>''' 01:25, 15 March 2014 (UTC)
== More notes. ==
|