Topic on Help talk:Lint errors/fostered

Support on translatewiki

4
Amire80 (talkcontribs)

Hi,

I get a DiscussionTools error when I try to click "Reply" on https://translatewiki.net/wiki/Support , specifically this version. This is the main community discussion page of translatewiki.net. I cannot find what is fostered content there. There is one table there, but it seems valid, although it's possible I'm missing something.

Can anyone help, please?

Arlolra (talkcontribs)

The problem seems to have resolved itself, at least there are no more fostered content errors for that page.

It's possible that Parsoid was failing to parse that revision and so the errors were outdated.

Amire80 (talkcontribs)

OK, but for the next time, do you have any tips for debugging it?

Arlolra (talkcontribs)

I don't know too much about how translatewiki is configured. For WMF projects, when an edit is made, changeprop runs so that restbase is populated with a fresh parse of the page. That's when linting generally happens, when parsoid parses the page.

It looks like VE is talking to Parsoid 'direct'ly, rather that through an exposed rest interface ('vrs'). So there's no restbase and I doubt that's configured.

Recently we're switching to populating the parsercache with parsoid output on each edit, much like for the legacy parse. That too would cause linting to happen.

Maybe neither of those are happening. Which leaves the only way for a parse of the page to happen in parsoid being when VE is opened (?veaction=edit). So try that.

If it looks like VE displaying the correct result, maybe it's just a lag between when the parse happens and the lint job is run.

Reply to "Support on translatewiki"