![]() | Council | |||
|
![]() | If you wish to discuss the behaviour of the project banner inside the banner shell, then you may wish to post at Template talk:WikiProject banner shell instead. |
|
![]() |
|
This page has archives. Sections older than 60 days may be automatically archived by Lowercase sigmabot III when more than 4 sections are present. |
The module currently has an undocumented parameter for the status of a project, which will add a CSS class to the outer table. For example if you set |PROJECT_STATUS=semiactive
then it will add class="semi-active-project"
. Does anyone know if this has any purpose or is used by any tools? It either needs documenting properly or removing — Martin (
MSGJ ·
talk)
11:53, 24 April 2024 (UTC)
Here are my thoughts:
inactive-project
class should continue to be applied to inactive banners.active-project
or semi-active-project
and I don't believe anyone is using these.|PROJECT_STATUS=
parameter can be dropped from active project banners|PROJECT_STATUS=defunct
to be defined instead of the default |PROJECT_STATUS=inactive
. So this parameter should continue to be supported for inactive banners.— Martin ( MSGJ · talk) 11:16, 29 April 2024 (UTC)
There is some talk on Template talk:WikiProject banner shell about moving certain commonly used notes (e.g. attention needed, infobox needed, image needed) to the banner shell, to avoid multiple projects having to replicate the same parameter. Any comments over there please — Martin ( MSGJ · talk) 15:09, 21 May 2024 (UTC)
I am working through the remaining templates using the old hooks.
If anyone knows of any more please add to the list — Martin ( MSGJ · talk) 15:29, 23 May 2024 (UTC)
Can |DOC=auto
also add the template to the project category? Either Category:WikiProject project
or Category:WikiProject project templates
category.
Gonnym (
talk)
11:27, 28 May 2024 (UTC)
Category:WikiProject project templates
exists first. If so use it, otherwise use Category:WikiProject project
? — Martin (
MSGJ ·
talk)
08:24, 4 June 2024 (UTC)
Hi, the template is populating Category:Pages with script errors, and it only displays the following message:
"The time allocated for running scripts has expired. The time allocated for running scripts has expired."
I don't know how to fix this, please help, thanks!! -- Funandtrvl ( talk) 17:00, 2 June 2024 (UTC)
Could syntax highlighting be added to the automatic documentation (i.e. when |DOC=auto
)?
Current display (e.g.
Template:WikiProject AfroCreatives#Full usage):
{{WikiProject AfroCreatives |category= |listas= |class= |importance= |auto= |attention= |needs-image= |type= |details= |location= |topic= }}
Proposed:
{{WikiProject AfroCreatives |category= |listas= |class= |importance= |auto= |attention= |needs-image= |type= |details= |location= |topic= }}
Only applicable in the #Basic usage & #Full usage sections (I think). ~ Tom.Reding ( talk ⋅ dgaf) 17:42, 30 May 2024 (UTC)
{{WikiProject AfroCreatives |category= |listas= |class= |importance= |auto= |attention= |needs-image= |type= |details= |location= |topic= }}
which uses inline, with this: {{WikiProject AfroCreatives |category= |listas= |class= |importance= |auto= |attention= |needs-image= |type= |details= |location= |topic= }}
I have made some small changes to
Module:WikiProject banner/config/sandbox and
Module:WikiProject banner/auxiliary/sandbox to allow me to stop using custom code at
Template:WikiProject Military history/aclass. The only differences is that |A-class=kept
and |A-class=keep
and treated the same as |A-class=pass
, and |A-class=demote
and |A-class=demoted
are treated the same as |A-class=fail
— Martin (
MSGJ ·
talk)
12:03, 10 June 2024 (UTC)
I would like to add some prominent warnings when people try to use the |class=
parameter in a project banner instead of in the banner shell template
|class=
parameter), then the message will say something like Please add the quality rating to the WikiProject banner shell instead of this project bannerI'm sure the wording could be improved. What do you think? — Martin ( MSGJ · talk) 12:08, 10 June 2024 (UTC)
Please add {{ WikiProject banner shell}} to this page and add the quality rating to it.maybe something like this? Regardless, link the banner shell template. I'm in favor of the warning. Gonnym ( talk) 21:38, 10 June 2024 (UTC)
|listas=
do deal with redundant, duplicate or conflicting data.
Gonnym (
talk)
16:20, 11 June 2024 (UTC)
{{
WikiProject banner shell}}
to this page and add the quality rating to that template instead of this project banner. See
WP:PIQA for details.
![]() | Cycling B‑class | ||||||
|
Okay this is ready to go, but I will wait for Category:Pages using WikiProject banner shell without a project-independent quality rating (174) and Category:Articles with WikiProject banners but without a banner shell (1,297) to be emptied first to avoid ugly warnings on so many pages — Martin ( MSGJ · talk) 09:35, 4 July 2024 (UTC)
@ Gonnym: regading this edit, are you able to make the corresponding changes to Module:WikiProject banner/sandbox/styles.css? — Martin ( MSGJ · talk) 13:25, 12 June 2024 (UTC)
addClass
will usually make that obvious.
addClass
).The documentation appears to say that |IM_TOPIC_CATEGORY=
should provide a default category for requested images or photographs. In {{
WikiProject Fishes}}, |IM_TOPIC_CATEGORY=Wikipedia requested images of fish
. The category exists at ‹The
template
Category link is being
considered for merging.›
Category:Wikipedia requested images of fish. Despite that looking correct to me,
Talk:Bryconops sapezal uses that WikiProject template with |needs-image=yes
, and the incorrect ‹The
template
Category link is being
considered for merging.›
Category:Wikipedia requested photographs of is added to the page. Can someone please troubleshoot or explain this apparent discrepancy? –
Jonesey95 (
talk)
23:07, 20 June 2024 (UTC)
There is a proposal to track uses of WikiProject banners which are placed outside the banner shell. The coding might be complex but I think this would be really useful — Martin ( MSGJ · talk) 17:38, 29 June 2024 (UTC)
I notice that on
Talk:Mount Gorton (
Mount Gorton redirects to
Wilson Hills), all 3 WikiProjects are classified via 3 |class=Stub
, {{
WPBS}} is not, and
Talk:Mount Gorton is not added to
Category:Pages using WikiProject banner shell without a project-independent quality rating (174). Could redirects be made to be included in the category, and eventually corrected? And any/all other page types also being omitted? ~
Tom.Reding (
talk ⋅
dgaf)
13:28, 1 July 2024 (UTC)
|class=stub
is just ignored on such pages. What needs to be corrected? — Martin (
MSGJ ·
talk)
14:15, 1 July 2024 (UTC)
|class=Stub
should be removed from the 3 WikiProjects.|class=
is kept. In the other, WPBS's |class=
, if found, is removed. Someone working on these categories in the future might not know to check the redirect-status of the page before proceeding, and perform the wrong operation.I'm getting a red warning saying, unexpected parameter "attention" while attempting the following:
{{
WikiProject Intertranswiki/OKA|attention=yes}}
The interesting thing is, that in preview mode it is properly generating the notice with the diamond caution sign and "immediate attention needed", as well as displaying the name of the hidden attention-needed category in the footer that would be populated if I hit Publish, but all of that with the Preview error at the same time.
Not sure if it's relevant, but the PROJECT param is Intertranswiki/OKA task force
, and a couple of redirects are involved:
Have I bolloxed it all up with the redirects, somehow? Can someone help me understand what's going on? Mathglot ( talk) 07:25, 2 July 2024 (UTC)
|attention=
is a valid parameter, so why does it say that it isn't in Preview? Preview mode still displays the error message now, if you edit it.
Mathglot (
talk)
07:36, 2 July 2024 (UTC)|BANNER_NAME=
parameter, and so it uses by default Template:WikiProject+PROJECT which in this case yields
Template:WikiProject Intertranswiki/OKA task force which is not the template but a redirect. I have added |BANNER_NAME=
which I think has fixed it — Martin (
MSGJ ·
talk)
08:07, 2 July 2024 (UTC)
|tfN=
for handling task forces, and I wondered how to proceed with that, given that the parent WikiProject didn't have its own banner, so I did the best I could. What I'm hearing, is, maybe this is too rare a case to be worth writing up as a troubleshooting case, and I accept that. But, what is the right path forward, here? Should Intertranswiki have its own banner, and then */OKA would use the |tfN=
params? Or, is it good enough, the way things are, now?
Mathglot (
talk)
11:06, 2 July 2024 (UTC)
I implemented dark mode support for the banners in these sandbox edits, without those on dark mode the banners are showing white text on light yellow background which is not great. The test cases seem good to me, but I would still appreciate a second set of eyes on the change before deploying it. Taavi ( talk!) 22:20, 4 July 2024 (UTC)
![]() | Council | |||
|
![]() | If you wish to discuss the behaviour of the project banner inside the banner shell, then you may wish to post at Template talk:WikiProject banner shell instead. |
|
![]() |
|
This page has archives. Sections older than 60 days may be automatically archived by Lowercase sigmabot III when more than 4 sections are present. |
The module currently has an undocumented parameter for the status of a project, which will add a CSS class to the outer table. For example if you set |PROJECT_STATUS=semiactive
then it will add class="semi-active-project"
. Does anyone know if this has any purpose or is used by any tools? It either needs documenting properly or removing — Martin (
MSGJ ·
talk)
11:53, 24 April 2024 (UTC)
Here are my thoughts:
inactive-project
class should continue to be applied to inactive banners.active-project
or semi-active-project
and I don't believe anyone is using these.|PROJECT_STATUS=
parameter can be dropped from active project banners|PROJECT_STATUS=defunct
to be defined instead of the default |PROJECT_STATUS=inactive
. So this parameter should continue to be supported for inactive banners.— Martin ( MSGJ · talk) 11:16, 29 April 2024 (UTC)
There is some talk on Template talk:WikiProject banner shell about moving certain commonly used notes (e.g. attention needed, infobox needed, image needed) to the banner shell, to avoid multiple projects having to replicate the same parameter. Any comments over there please — Martin ( MSGJ · talk) 15:09, 21 May 2024 (UTC)
I am working through the remaining templates using the old hooks.
If anyone knows of any more please add to the list — Martin ( MSGJ · talk) 15:29, 23 May 2024 (UTC)
Can |DOC=auto
also add the template to the project category? Either Category:WikiProject project
or Category:WikiProject project templates
category.
Gonnym (
talk)
11:27, 28 May 2024 (UTC)
Category:WikiProject project templates
exists first. If so use it, otherwise use Category:WikiProject project
? — Martin (
MSGJ ·
talk)
08:24, 4 June 2024 (UTC)
Hi, the template is populating Category:Pages with script errors, and it only displays the following message:
"The time allocated for running scripts has expired. The time allocated for running scripts has expired."
I don't know how to fix this, please help, thanks!! -- Funandtrvl ( talk) 17:00, 2 June 2024 (UTC)
Could syntax highlighting be added to the automatic documentation (i.e. when |DOC=auto
)?
Current display (e.g.
Template:WikiProject AfroCreatives#Full usage):
{{WikiProject AfroCreatives |category= |listas= |class= |importance= |auto= |attention= |needs-image= |type= |details= |location= |topic= }}
Proposed:
{{WikiProject AfroCreatives |category= |listas= |class= |importance= |auto= |attention= |needs-image= |type= |details= |location= |topic= }}
Only applicable in the #Basic usage & #Full usage sections (I think). ~ Tom.Reding ( talk ⋅ dgaf) 17:42, 30 May 2024 (UTC)
{{WikiProject AfroCreatives |category= |listas= |class= |importance= |auto= |attention= |needs-image= |type= |details= |location= |topic= }}
which uses inline, with this: {{WikiProject AfroCreatives |category= |listas= |class= |importance= |auto= |attention= |needs-image= |type= |details= |location= |topic= }}
I have made some small changes to
Module:WikiProject banner/config/sandbox and
Module:WikiProject banner/auxiliary/sandbox to allow me to stop using custom code at
Template:WikiProject Military history/aclass. The only differences is that |A-class=kept
and |A-class=keep
and treated the same as |A-class=pass
, and |A-class=demote
and |A-class=demoted
are treated the same as |A-class=fail
— Martin (
MSGJ ·
talk)
12:03, 10 June 2024 (UTC)
I would like to add some prominent warnings when people try to use the |class=
parameter in a project banner instead of in the banner shell template
|class=
parameter), then the message will say something like Please add the quality rating to the WikiProject banner shell instead of this project bannerI'm sure the wording could be improved. What do you think? — Martin ( MSGJ · talk) 12:08, 10 June 2024 (UTC)
Please add {{ WikiProject banner shell}} to this page and add the quality rating to it.maybe something like this? Regardless, link the banner shell template. I'm in favor of the warning. Gonnym ( talk) 21:38, 10 June 2024 (UTC)
|listas=
do deal with redundant, duplicate or conflicting data.
Gonnym (
talk)
16:20, 11 June 2024 (UTC)
{{
WikiProject banner shell}}
to this page and add the quality rating to that template instead of this project banner. See
WP:PIQA for details.
![]() | Cycling B‑class | ||||||
|
Okay this is ready to go, but I will wait for Category:Pages using WikiProject banner shell without a project-independent quality rating (174) and Category:Articles with WikiProject banners but without a banner shell (1,297) to be emptied first to avoid ugly warnings on so many pages — Martin ( MSGJ · talk) 09:35, 4 July 2024 (UTC)
@ Gonnym: regading this edit, are you able to make the corresponding changes to Module:WikiProject banner/sandbox/styles.css? — Martin ( MSGJ · talk) 13:25, 12 June 2024 (UTC)
addClass
will usually make that obvious.
addClass
).The documentation appears to say that |IM_TOPIC_CATEGORY=
should provide a default category for requested images or photographs. In {{
WikiProject Fishes}}, |IM_TOPIC_CATEGORY=Wikipedia requested images of fish
. The category exists at ‹The
template
Category link is being
considered for merging.›
Category:Wikipedia requested images of fish. Despite that looking correct to me,
Talk:Bryconops sapezal uses that WikiProject template with |needs-image=yes
, and the incorrect ‹The
template
Category link is being
considered for merging.›
Category:Wikipedia requested photographs of is added to the page. Can someone please troubleshoot or explain this apparent discrepancy? –
Jonesey95 (
talk)
23:07, 20 June 2024 (UTC)
There is a proposal to track uses of WikiProject banners which are placed outside the banner shell. The coding might be complex but I think this would be really useful — Martin ( MSGJ · talk) 17:38, 29 June 2024 (UTC)
I notice that on
Talk:Mount Gorton (
Mount Gorton redirects to
Wilson Hills), all 3 WikiProjects are classified via 3 |class=Stub
, {{
WPBS}} is not, and
Talk:Mount Gorton is not added to
Category:Pages using WikiProject banner shell without a project-independent quality rating (174). Could redirects be made to be included in the category, and eventually corrected? And any/all other page types also being omitted? ~
Tom.Reding (
talk ⋅
dgaf)
13:28, 1 July 2024 (UTC)
|class=stub
is just ignored on such pages. What needs to be corrected? — Martin (
MSGJ ·
talk)
14:15, 1 July 2024 (UTC)
|class=Stub
should be removed from the 3 WikiProjects.|class=
is kept. In the other, WPBS's |class=
, if found, is removed. Someone working on these categories in the future might not know to check the redirect-status of the page before proceeding, and perform the wrong operation.I'm getting a red warning saying, unexpected parameter "attention" while attempting the following:
{{
WikiProject Intertranswiki/OKA|attention=yes}}
The interesting thing is, that in preview mode it is properly generating the notice with the diamond caution sign and "immediate attention needed", as well as displaying the name of the hidden attention-needed category in the footer that would be populated if I hit Publish, but all of that with the Preview error at the same time.
Not sure if it's relevant, but the PROJECT param is Intertranswiki/OKA task force
, and a couple of redirects are involved:
Have I bolloxed it all up with the redirects, somehow? Can someone help me understand what's going on? Mathglot ( talk) 07:25, 2 July 2024 (UTC)
|attention=
is a valid parameter, so why does it say that it isn't in Preview? Preview mode still displays the error message now, if you edit it.
Mathglot (
talk)
07:36, 2 July 2024 (UTC)|BANNER_NAME=
parameter, and so it uses by default Template:WikiProject+PROJECT which in this case yields
Template:WikiProject Intertranswiki/OKA task force which is not the template but a redirect. I have added |BANNER_NAME=
which I think has fixed it — Martin (
MSGJ ·
talk)
08:07, 2 July 2024 (UTC)
|tfN=
for handling task forces, and I wondered how to proceed with that, given that the parent WikiProject didn't have its own banner, so I did the best I could. What I'm hearing, is, maybe this is too rare a case to be worth writing up as a troubleshooting case, and I accept that. But, what is the right path forward, here? Should Intertranswiki have its own banner, and then */OKA would use the |tfN=
params? Or, is it good enough, the way things are, now?
Mathglot (
talk)
11:06, 2 July 2024 (UTC)
I implemented dark mode support for the banners in these sandbox edits, without those on dark mode the banners are showing white text on light yellow background which is not great. The test cases seem good to me, but I would still appreciate a second set of eyes on the change before deploying it. Taavi ( talk!) 22:20, 4 July 2024 (UTC)