Talk:Emeryville
Add topicAppearance
Latest comment: 4 months ago by WhatamIdoing in topic Listing editor issue in Emeryville
Nice start! (WT-en) Majnoona 22:41, 19 Jan 2004 (EST)
Listing editor issue in Emeryville
[edit]I'm finding that when I click the "add listing" button in any section of the Emeryville article except "Get in", I get an error message: "Error occurred loading content for this section." I haven't seen this issue in any other articles. This problem happens with both the regular and beta versions of the listing editor. Does anyone know what the problem might be? @IHurbainPalatin (WMF), Jdlrobson: Pinging in case you have any insight. —Granger (talk · contribs) 01:48, 12 August 2024 (UTC)
- I'll have a look, thanks for reporting! IHurbainPalatin (WMF) (talk) 08:52, 12 August 2024 (UTC)
- As far as I can tell, this is an matter of discrepancy in some cases between section numbering in Parsoid and in core (where the API trying to get the section content lives). We have a couple of issues related to that in Phabricator already; I'll try to have that triaged to the correct one. IHurbainPalatin (WMF) (talk) 12:57, 12 August 2024 (UTC)
- The failure of the listing editor is the result of a severe software bug. The section numbering differs from that of non-Parsoid renderer. The wrong numbering results in getting wrong section texts, and in many cases the listing template is not found. To get an idea please go to the "Get in" section and after this to "By bus". Then the message "Cannot find section" will occur. I added a Phabricator task with high priority. --RolandUnger (talk) 10:37, 13 August 2024 (UTC)
- The Wikitext was invalid, so the parser returned a wrong result. The old parser is much more error-resistant. --RolandUnger (talk) 10:52, 13 August 2024 (UTC)
- Thank you for finding that. I wonder, is there a way to produce a list of all articles that have invalid wikitext like this, so we can go through and fix them all? —Granger (talk · contribs) 14:26, 13 August 2024 (UTC)
- By grepping all the articles, actually only Emeryville seems to have this particular typo. You could probably render all pages with and without Parsoid, and diff the result html's... good luck with that :)) -- andree 07:29, 17 August 2024 (UTC)
- It's possible that the WMF could add it to Special:LintErrors. (I don't know what the minimum requirements are for including something in that system.) WhatamIdoing (talk) 20:12, 17 August 2024 (UTC)
- By grepping all the articles, actually only Emeryville seems to have this particular typo. You could probably render all pages with and without Parsoid, and diff the result html's... good luck with that :)) -- andree 07:29, 17 August 2024 (UTC)
- Thank you for finding that. I wonder, is there a way to produce a list of all articles that have invalid wikitext like this, so we can go through and fix them all? —Granger (talk · contribs) 14:26, 13 August 2024 (UTC)
- I've had listings end up in the lead for years (example). I wonder if that's related at all. WhatamIdoing (talk) 15:03, 13 August 2024 (UTC)
- The Wikitext was invalid, so the parser returned a wrong result. The old parser is much more error-resistant. --RolandUnger (talk) 10:52, 13 August 2024 (UTC)