Template talk:WPBannerMeta

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
WikiProject Council
WikiProject icon This 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.

Infobox No

Wanted to see if someone could help me out. I've noticed a few pages with infobox=no that are still getting categorized into "Needs infobox" categories. In looking at the source code, it seems that these should not be categorized but I think I'm missing something... Anyone able to provide some insight? --Zackmann (Talk to me/What I been doing) 22:34, 3 October 2018 (UTC)

@Zackmann08: Which pages are these? It will depend upon the coding within the individual infobox template. --Redrose64 馃尮 (talk) 22:58, 3 October 2018 (UTC)
@Redrose64: thanks for the response. One example would be Talk:Battle, East Sussex which uses {{WikiProject UK geography}}. Sounds like what you're saying is that the issue doesn't actually lie here with {{WPBannerMeta}} but with the way that particular template (in this case {{WikiProject UK geography}}) is calling the template? --Zackmann (Talk to me/What I been doing) 23:04, 3 October 2018 (UTC)
Read the Deprecated parameters section of the documentation for {{WikiProject UK geography}}. The parameter is behaving as described in the docs. -- WOSlinker (talk) 23:11, 3 October 2018 (UTC)
@WOSlinker: ah ok! Thank you for pointing me to that. It is a bit bass-ackwards, but really appreciate you pointing me to the right place. I figured I was just missing something so thank you much! --Zackmann (Talk to me/What I been doing) 23:22, 3 October 2018 (UTC)
@Zackmann08: That's probably why it was deprecated. There's only seems to be about 38 that need updating to the needs-infobox parameter format or removing if the infobox is there now. -- WOSlinker (talk) 08:44, 4 October 2018 (UTC)

Links from redirects?

Special:WhatLinksHere/Canadian Open Wireless and Mobile Communications Engineering Journal shows that Talk:Canadian Open Wireless and Mobile Communications Engineering Journal links to Canadian Open Wireless and Mobile Communications Engineering Journal.

However, I can't find any such links on either Talk:Canadian Open Wireless and Mobile Communications Engineering Journal, or {{WP Journals}}. What gives?

Does something in the metabanner need to make use of {{linkless exists}}? Possibly Module:Pagetype? Headbomb {tcpb} 23:09, 12 October 2018 (UTC)

@Headbomb: Thanks for the ping. The talk page uses {{WikiProject Academic Journals}} which uses {{WPBannerMeta}}. That and its subpages do a few #ifexist: checks but only on pages such as WP:WikiProject Academic Journals, and there's no #invoke: for a direct module call. Those subpages do use several other complex templates which may record a spurious wikilink. I agree that {{Pagetype}} is the most likely candidate. Someone could test that theory by pretending to edit the module and previewing the talk page with the pagetype call removed. (I can't do this myself, as the modules are protected.)
As you've noticed, Module:Linkless is currently up for deletion. If done carefully, that could still allow {{linkless exists}} to keep working, but deleting the module-level interface would prevent other modules such as Pagetype from calling it.
However, I don't think that Linkless can help us here. Pagetype is not just checking for existence but reading the page to find out whether it is, for example, a redirect. I don't know any way to do that without recording a wikilink. Even if we found a way, I'm not sure that it would be a good idea: we do want the talk page banner to update if its counterpart in the main namespace changes type. Certes (talk) 23:58, 12 October 2018 (UTC)
Well, ideally, we'd want the banner to update, but without creating a link record. Because that's pretty annoying. Headbomb {tcpb} 00:07, 13 October 2018 (UTC)
Sadly, I don't think that's possible. Updating the banner requires the link record. As I understand it, when a page (such as the redirect in main namespace) changes, MediaWiki runs a query similar to "what links here" to work out which other pages depend on it, and updates them. No link means no update. Certes (talk) 00:51, 13 October 2018 (UTC)
It's not possible. --Izno (talk) 01:03, 13 October 2018 (UTC)
At least not until T14019 is dealt with. Headbomb {tcpb} 01:17, 13 October 2018 (UTC)

Proposed extension to usage of project banners

Comments please, on Wikipedia:Village pump (idea lab)/Archive 26#Semi-automate DELSORT based on Project tags. Thanks, Cabayi (talk) 14:10, 31 October 2018 (UTC)

Template:WikiProject Japan seems to be suppressing TOCs

I'm not sure if this is the right place to ask, but it seems that the template is blocking TOCs from being displayed unless __TOC__ forces the page to show it. See for example Talk:Japanese battleship Yamato, which has an apparently suppressed TOC. All of the project templates except for Japan are at Talk:German battleship Bismarck, where there is no problem with the TOC displaying. I looked at the template, but there's nothing I can see that's causing the problem (though I by no means know what I'm doing). Can anybody take a look? Thanks. Parsecboy (talk) 13:04, 19 November 2018 (UTC)

@Parsecboy: It's not, if you look in the Todo section of the banner on that page, you'll find the toc there. It's because Wikipedia:WikiProject Japan/ToDo as sections. If these were replaced with just bolded text then the toc would appear after all the banners. -- WOSlinker (talk) 16:27, 19 November 2018 (UTC)
Ah, that would explain it - the sections were added here, but I've reverted them. Thanks. Parsecboy (talk) 16:34, 19 November 2018 (UTC)
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template_talk:WPBannerMeta&oldid=869753161"
This content was retrieved from Wikipedia : http://en.wikipedia.org/wiki/Template_talk:WPBannerMeta
This page is based on the copyrighted Wikipedia article "Template talk:WPBannerMeta"; it is used under the Creative Commons Attribution-ShareAlike 3.0 Unported License (CC-BY-SA). You may redistribute it, verbatim or modified, providing that you comply with the terms of the CC-BY-SA