Wikipedia talk:WikiProject Articles for creation/Helper script/Rewrite

This is an old revision of this page, as edited by Technical 13 (talk | contribs) at 13:32, 14 March 2014 (Notice on user talk page has no header: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Latest comment: 11 years ago by Technical 13 in topic Notice on user talk page has no header

This page is for feedback about the rewritten Articles for creation helper script. See the rewrite page for more information.

[0.3] Feedback about article review

Review this submission should not appear if(mw.config.get('wgPageContentModel') !== 'wikitext'). There is no reason for the script to appear on userjscss pages... — {{U|Technical 13}} (tec) 02:15, 14 March 2014 (UTC)Reply

  Done, thanks :) Theopolisme (talk) 04:49, 14 March 2014 (UTC)Reply

Parsing

If all you care about is template names and their parameters, you could have avoided using Parsoid and use rvgeneratexml instead. See mw:User:Kephir/XML parse tree for the parse tree format. Keφr 06:22, 14 March 2014 (UTC)Reply

Thanks for the heads up, 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. Theopolisme (talk) 06:52, 14 March 2014 (UTC)Reply
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. Keφr 08:17, 14 March 2014 (UTC)Reply

More notes.

Accept button returns no action with "NS_ERROR_DOM_QUOTA_REACHED: Persistent storage maximum size reached" as an error message in the console. Decline and Comment do work, but visually need a bottom border as the letters are too hard to read with the bottom of them bleeding into the white space below. — {{U|Technical 13}} (tec) 12:51, 14 March 2014 (UTC)Reply

Decline hangs

Declining hangs with "Use of mediawiki.api callback params is deprecated. Use the Promise instead." It does say that it "Saved Draft:" and "Saved User talk:" which are confirmed in [1] and [2] respectively. — {{U|Technical 13}} (tec) 12:57, 14 March 2014 (UTC)Reply

Notice on user talk page has no header

Declining posted the template on the user's talk page, but did not give it a header. — {{U|Technical 13}} (tec) 13:32, 14 March 2014 (UTC)Reply