Wikivoyage talk:LintErrors Expedition
Latest comment: 6 years ago by ShakespeareFan00 in topic Diving in the United Kingdom showing up on LintErrors, No immediate concern found.
Diving in the United Kingdom showing up on LintErrors, No immediate concern found.
[edit]- Swept in from the pub
So what broke?
This is generating an unbalanced span somehow inside a template called {{divesitelisting}}?
Can someone good with templates figure out WHY it's unbalanced and add the appropriate tag in the correct location please? ShakespeareFan00 (talk) 23:33, 17 December 2017 (UTC)
- Some of the divesitelisting have bullet points in them, that could be it.
- On a general point, is there a page on Wikivoyage explaining why there is this Lint Error activity, what tools there are to identify them, what needs to be done etc. Edits appear to be affecting a lot of pages, would be useful to explain to people. --Traveler100 (talk) 06:20, 18 December 2017 (UTC)
- Yes, that would be helpful. Most of the remaining LintErrors in mainspace though seem to be directly connected with the listing template. As I've said elsewhere this should be re-written in Lua, and the design limitations owing to the use of bdi tags reconsidered. (For those technically minded see also https://html.spec.whatwg.org/#the-bdi-element and https://html.spec.whatwg.org/#phrasing-content-2 vs https://html.spec.whatwg.org/#flow-content-2 This would seem to suggest that putting multiple paragraphs inside BDI tags shouldn't work, and only does so because of a quirk in how media-wiki tidies up the HTML generated. Ideally the template should be re-written so that the generated HTML is properly structured.)ShakespeareFan00 (talk) 10:13, 18 December 2017 (UTC)
- Something like Wikivoyage:LintErrors Expedition. Would appreciate input on this as I have only just started looking at the topic. --Traveler100 (talk) 18:43, 18 December 2017 (UTC)
- That's an excellent start, The stripped tags error, seems to be where the parser is encountering a unpaired closing tag, which typically means something is mismatched elsewhere. ShakespeareFan00 (talk) 19:13, 18 December 2017 (UTC)
- Something like Wikivoyage:LintErrors Expedition. Would appreciate input on this as I have only just started looking at the topic. --Traveler100 (talk) 18:43, 18 December 2017 (UTC)
- Yes, that would be helpful. Most of the remaining LintErrors in mainspace though seem to be directly connected with the listing template. As I've said elsewhere this should be re-written in Lua, and the design limitations owing to the use of bdi tags reconsidered. (For those technically minded see also https://html.spec.whatwg.org/#the-bdi-element and https://html.spec.whatwg.org/#phrasing-content-2 vs https://html.spec.whatwg.org/#flow-content-2 This would seem to suggest that putting multiple paragraphs inside BDI tags shouldn't work, and only does so because of a quirk in how media-wiki tidies up the HTML generated. Ideally the template should be re-written so that the generated HTML is properly structured.)ShakespeareFan00 (talk) 10:13, 18 December 2017 (UTC)