Template talk:Wiki Loves Africa header 2021

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Please explain the revert

[edit]

Tacsipacsi, please explain why you reverted the most recent edit, restoring closing tags with no corresponding opening tags. You can see these errors listed in the "Page information" available from the left sidebar. Jonesey95 (talk) 22:40, 27 October 2022 (UTC)[reply]

@Jonesey95: Because they do have corresponding opening tags. If they didn’t have, then your version and my version would look the same, which is clearly not the case. (It was even more visible when looking at pages transcluding this template – the rest of the page was “eaten” and made two-column by the template –, but it’s hard to view these broken states now due to how the translation system works.) If the linter says these don’t have corresponding opening tags, then the linter is buggy. You should never blindly remove tags the linter guesses to be wrong, as due to the complexity of wikitext (here the culprit is probably the translation system; at other places, it may be parser tags, or templates emitting unbalanced wikitext), the linter can only guess, not with 100% reliability determine. —Tacsipacsi (talk) 00:14, 28 October 2022 (UTC)[reply]
Fascinating. Thanks for catching this interesting edge case. At first glance, that looks like a Linter parsing bug to me. I thought I had seen all of the LintHint tool's quirks after fixing tens of thousands of pages, but this one was a new one to me. I'll look at it again tomorrow and see if there is an existing Phabricator bug already filed. Jonesey95 (talk) 03:13, 28 October 2022 (UTC)[reply]