Help talk:Lint errors/tidy-font-bug
Add topic| This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
Colorful templates
[edit]The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Any suggestions on how to fix this in templates? E.g. nl:Sjabloon:Infobox werelderfgoed has a link at the bottom, which gets passed as a parameter to the next template. Bdijkstra (talk) 22:14, 31 October 2017 (UTC)
- I don't have a good easy suggestion for you right now.
- But, looks like enwiki is fixing some templates ( https://en.wikipedia.org/wiki/Wikipedia_talk:WikiProject_Trains#Sydney_styling_in_Template:S-line ) to address similar issues. I am not sure if what they are doing is relevant for you or not. SSastry (WMF) (talk) 14:17, 1 November 2017 (UTC)
- Thanks for the link. The idea that links should ideally be visible as links, is a good argument to remove unnecessary styling. Bdijkstra (talk) 15:39, 2 November 2017 (UTC)
Font-wrapped images
[edit]The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Is the linter supposed to flag cases where no text appears between double brackets? E.g. on nl:Station Antwerpen-Centraal, the top of the infobox is an image, which is wrapped between font-tags. Bdijkstra (talk) 16:18, 1 November 2017 (UTC)
- Image captions are also affected, although maybe we don't have checks for whether the image caption is absent. For that scenario, we don't need to flag a lint error. SSastry (WMF) (talk) 16:29, 1 November 2017 (UTC)
- Are you sure? Captions shouldn't render differently, and if they do, I suppose that would be a different linter category. Bdijkstra (talk) 17:14, 1 November 2017 (UTC)
- Hmm ... you are right. I am sure I tested it, but, clearly I botched my testing there! I'll update my linter code to not flag image captions. Thanks for the bug report! :) SSastry (WMF) (talk) 17:28, 1 November 2017 (UTC)
- https://www.mediawiki.org/w/index.php?title=User:SSastry_(WMF)/Sandbox&oldid=2607140&action=parsermigration-edit#Tidy_font_bug_&_images SSastry (WMF) (talk) 17:34, 1 November 2017 (UTC)
Removing font tag
[edit]I would like to know the problem that occurs when I remove the font tag and replace it without removing 'Tidy bug affecting font tags wrapping links' Adithyak1997 (talk) 15:57, 18 November 2018 (UTC)