Template talk:GlobalProblems: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 9: Line 9:


:::Well, that's one interesting quirk of Wiki. Maybe in the past when category was truncated to the footer, the excess newlines were immediately noticed, so the coding team in the past have made Wiki conscious enough to specifically backspace any amount of newlines above it. Not sure about the exact details. Also interesting that text right after that category will be merged inline with the line above it. The Wiki plugin like parser function (#if:), on the other hand, I guess it didn't work together with Wiki on the excess newlines especially coming from multiple lines of empty output yet. It used to be a big problem in [[Template:Config]] where there were lot of empty newlines when most don't have anything to output, and they couldn't be inlined because each header tag (== ==) requires newline to parse properly, until we've discovered that <nowiki><H2></nowiki> does not so the equal signs were replaced with this for heading. [[User:Lucario|Lucario]] ([[User talk:Lucario|talk]]) 07:45, 26 September 2017 (CEST)
:::Well, that's one interesting quirk of Wiki. Maybe in the past when category was truncated to the footer, the excess newlines were immediately noticed, so the coding team in the past have made Wiki conscious enough to specifically backspace any amount of newlines above it. Not sure about the exact details. Also interesting that text right after that category will be merged inline with the line above it. The Wiki plugin like parser function (#if:), on the other hand, I guess it didn't work together with Wiki on the excess newlines especially coming from multiple lines of empty output yet. It used to be a big problem in [[Template:Config]] where there were lot of empty newlines when most don't have anything to output, and they couldn't be inlined because each header tag (== ==) requires newline to parse properly, until we've discovered that <nowiki><H2></nowiki> does not so the equal signs were replaced with this for heading. [[User:Lucario|Lucario]] ([[User talk:Lucario|talk]]) 07:45, 26 September 2017 (CEST)
You definitely understand it better than I do at least. Thanks for that bit about how it inlines whatever comes after the category, that was the reason that pages displaying global problems ended up having the TOC a little too close to the description, so I was able to fix that. - [[User:Xerxes|Xerxes]] ([[User talk:Xerxes|talk]]) 19:53, 26 September 2017 (CEST)
6,906

edits