Template talk:WPBannerMeta Information

From Wikipedia
https://en.wikipedia.org/wiki/Template_talk:WPBannerMeta
WikiProject Council  
WikiProject iconThis template relates to the WikiProject Council, a collaborative effort regarding WikiProjects in general. If you would like to participate, please visit the project discussion page.
 

Argh

One of my long term projects has been to turn {{ WikiProject Politics}} into this while preserving all the pre-existing categories. @ MSGJ: Can you please help me and fix my spaghetti code? – MJLTalk 06:20, 21 December 2020 (UTC)

If I knew what you were trying to achieve then I might be able to help! — Martin ( MSGJ ·  talk) 09:11, 21 December 2020 (UTC)
@ MJL: what is your intention in creating Template:WPBannerMeta/notes/category? — Martin ( MSGJ ·  talk) 06:38, 3 January 2021 (UTC)
@ MSGJ: I am trying to convert defunt task forces from using the task force hooks to the note hooks. This would make them collapsed by default. The template you mentioned is supposed to ensure the underlying WikiProject task force categories the same and prevent any changes there. – MJLTalk 08:01, 3 January 2021 (UTC)
I think you would be much better off using the taskforce hook but collapsing them. I will show you on the sandbox ... — Martin ( MSGJ ·  talk) 08:16, 3 January 2021 (UTC)
@ MJL: please see Template:WikiProject Politics/sandbox. Alternatively we can put those in the same collapsed section as the notes. — Martin ( MSGJ ·  talk) 15:26, 4 January 2021 (UTC)
@ MSGJ: Woah. Just blew my mind right there. That's practically perfect!! – MJLTalk 02:52, 5 January 2021 (UTC)
You're welcome. Do I have you permission to delete Template:WPBannerMeta/notes/category? — Martin ( MSGJ ·  talk) 21:26, 5 January 2021 (UTC)
@ MJL: ^^ — Martin ( MSGJ ·  talk) 14:45, 14 January 2021 (UTC)
@ MSGJ: Yup! :D – MJLTalk 15:29, 14 January 2021 (UTC)
 Done. Let me know when you're ready to deploy that sandbox — Martin ( MSGJ ·  talk) 17:39, 14 January 2021 (UTC)
@ MSGJ: I think it's good to deploy whenever you are ready. Face-smile.svg MJLTalk 21:05, 8 February 2021 (UTC)

Protected edit request on 8 February 2021

  1. On {{ WPBannerMeta/core}}, at <table class="tmbox tmbox-notice mw-collapsible innercollapse wpb" style="height:0;">, add the following after wpb:
    {{#switch:{{lc:{{{PROJECT_STATUS|}}}}}|inactive=inactive-wikiproject|semi-active|semiactive=semi-active-wikiproject|defunct=defunct-wikiproject|active|#default=}}
  2. In {{ WPBannerMeta}}, after |BOTTOM_TEXT = {{{BOTTOM_TEXT|}}}, add the following on a new line:
    |PROJECT_STATUS = {{{PROJECT_STATUS|}}}
  3. At the bottom of {{ Inactive WikiProject banner}}, add:
    |PROJECT_STATUS = {{{PROJECT_STATUS|{{#if:{{{status|}}}|{{{status}}}|inactive}}}}}

This has been tested at Template:Inactive WikiProject banner/testcases. The change adds a new class to the banner which would allow users to hide inactive WikiProject at their own discretion. – MJLTalk 21:03, 8 February 2021 (UTC)

 Done, but I've added a class also for the actives also. -- Izno ( talk) 04:33, 9 February 2021 (UTC)

Protected edit request on 30 March 2021

The wikitext {{navbar|{{{BANNER_NAME}}}|mini=1|style=float:right; clear:right; margin:-1em 0.1em; display:none;}} should be removed from Template:WPBannerMeta/core. The last attempt to remove it at Template_talk:WPBannerMeta/Archive 10#Edit request to /core to remove navbar call was closed on the grounds that people could enable viewing it using custom CSS, but a search shows that only 7 editors have done this, even years after it was added. It would make much more sense for anyone would like the functionality to use a userscript, like User:BrandonXLF/WPBannerNavbar.js, to show the navbar rather than adding an invisible navbar to millions of pages for use by 7 editors, not the mention the millions of rows the invisible navbar adds to the pagelinks database table.BrandonXLF ( talk) 08:12, 30 March 2021 (UTC)

 Not done for now: please establish a consensus for this alteration before using the {{ edit protected}} template. Accordingly, I am notifying those who took part last time, plus those in the above search query: Netoholic, Mr. Stradivarius, MSGJ, Happy-melon, Andy M. Wang, InverseHypercube. -- Redrose64 🌹 ( talk) 14:03, 30 March 2021 (UTC)

Obviously, I continue to support removal of this silly inclusion as I stated 7 years ago. In that time, the initial concern has doubled, with this minor function now adding unnecessary HTML to 9.3 million talk pages. -- Netoholic @ 14:17, 30 March 2021 (UTC)

I would support removal. -- WOSlinker ( talk) 16:53, 30 March 2021 (UTC)
Support edit, it makes sense to remove it. Never knew it was there to begin with, so I don't use it! Funandtrvl ( talk) 21:24, 30 March 2021 (UTC)

Protected edit request on 31 March 2021

Remove the line <td class="mbox-empty-cell"></td> from Template:WPBannerMeta/core to resolve an issue with the border when the template is inside {{ WikiProject banner shell}}. It was orginally added by User:Happy-melon in revision 301387726 ( diff) so the header and the body would have the same number of table cells since the header also had a mbox-empty-cell table cell that was used to contain the metadata. But now that the metadata was moved and the mbox-empty-cell in the header was removed by User:WOSlinker in revision 982121201 ( diff), there is one extra table cell in the text row, causing the border issue. To fix this, the mbox-empty-cell should in the text row should also be removed. Here's the effect of the change (notice the border in the top right):

Current
[[{{{PROJECT_LINK}}}|CURRENT]]  
This article is within the scope of [[|CURRENT]], a collaborative effort to improve the coverage of {{{PROJECT}}} articles on Wikipedia. If you would like to participate, please visit the project page, where you can join the [[|discussion]] and see a list of open tasks.
 
Proposed
[[{{{PROJECT_LINK}}}|SANDBOX]]  
This article is within the scope of [[|SANDBOX]], a collaborative effort to improve the coverage of {{{PROJECT}}} articles on Wikipedia. If you would like to participate, please visit the project page, where you can join the [[|discussion]] and see a list of open tasks.
 

BrandonXLF ( talk) 05:15, 31 March 2021 (UTC)

 Done -- WOSlinker ( talk) 07:46, 31 March 2021 (UTC)