Content deleted Content added
m Archiving 1 discussion(s) from Template talk:WPBannerMeta) (bot |
m Archiving 1 discussion(s) from Template talk:WPBannerMeta) (bot |
||
Line 35:
:::We've only used automatic detection of a page's class value if no class is defined. (If the class is defined then this will always be used.) I think this is the right approach in general, but any project can change this default behaviour by using a custom class mask. — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 23:03, 5 May 2020 (UTC)
::::{{ping|MSGJ}} There probably are a few other cases where it might be useful to do automatic detection. For example, if an article is in mainspace but is tagged as "Draft class", it certainly means that whoever moved it to mainspace forgot to remove that it was a draft, and it should be treated as if the class were left undefined. --[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<span style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:-.3em;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</span>]]) 21:30, 31 May 2020 (UTC)
== Portal ==
I was just looking at the history of /core. [https://en.wikipedia.org/w/index.php?title=Template:WPBannerMeta/core&diff=915029858&oldid=774482359 This] change looks invalid to me (incorrect syntax) so I'm not sure if it's achieving what it was meant to. — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 09:02, 6 October 2020 (UTC)
:Yes, there's a misplaced pipe in one line. Instead of this: <syntaxhighlight lang=moin> {{#ifexist: Portal:{{{PORTAL|}}}|</syntaxhighlight> it should have been this: <syntaxhighlight lang=moin> |{{#ifexist: Portal:{{{PORTAL|}}}</syntaxhighlight> The purpose, IIRC, was to suppress the display of a redlinked portal at a time when a large number of portals were being deleted without all incoming links being removed. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] 🌹 ([[User talk:Redrose64|talk]]) 14:49, 6 October 2020 (UTC)
::Never mind I see it was undone a few days later — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 18:25, 6 October 2020 (UTC)
|