This is the
talk page for discussing improvements to the
WikiProject Military history template. |
|
Archives:
1,
2Auto-archiving period: 90 days
![]() |
![]() |
Template:WikiProject Military history is permanently
protected from editing because it is a
heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by
consensus, editors may use {{
edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's
documentation to add usage notes or
categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
![]() | Military history Template‑class | ||||||
|
Index
|
||
This page has archives. Sections older than 90 days may be automatically archived by Lowercase sigmabot III when more than 5 sections are present. |
Does anyone know how articles wind up in Category:Military history articles needing attention to tagging? I've looked at a couple and cannot see anything wrong with them. Hawkeye7 (discuss) 03:37, 10 January 2024 (UTC)
A-Class
parameter and either:
Wikipedia:WikiProject Military history/Assessment/**Name of nominated article**
doesn't exist).pass|keep|kept|fail|demote|demoted|current
(most commonly |A-Class=no
)These articles are listed as being incorrectly assessed as articles instead of lists, but class=list. Looks like a problem with the template. Hawkeye7 (discuss) 23:25, 16 January 2024 (UTC)
|list=yes
is required to be added as a parameter in order to apply the list-based assessment criteria.
Harryboyles 08:27, 17 January 2024 (UTC)What progress are we making on getting Template:WikiProject Military history to get it to inherit from Template:WikiProject banner shell? Seems to be a lot of unecessary bot work going on just dealing with this. Hawkeye7 (discuss) 20:15, 17 January 2024 (UTC)
@ Harryboyles: Looking at Talk:Ironclad warship, the WikiProject Banner Shell is set to C class, but this is not being inherited by the WikiProject Military history banner, which for some bizarre reason is showing the article as Start class, although there is no class parameter. This causes weird effects, with the article being categorised as both C and Start class. Any idea where the start comes from? And how we can get the banner to inherit correctly? Hawkeye7 (discuss) 22:23, 31 March 2024 (UTC)
WikiProject Military history has opted out of project-independent quality assessments, please note the qualifier "project-independent" here. Quality assessments still occur, but need to be set on the milhist banner as well as on the banner shell. -- Redrose64 🌹 ( talk) 05:57, 1 April 2024 (UTC)
if args.QUALITY_CRITERIA=='custom' then -- project has opted out of standard assessment scale and uses a custom mask
local custom_mask = banner_name:subPageTitle('class')
if custom_mask.exists and #custom_mask:getContent()>1 then
raw_args.demo_page = args.demo_page -- send demo_page to custom mask
class = mw.text.trim(frame:expandTemplate{
title = custom_mask.prefixedText,
args = raw_args
})
if class=='' and article_class and article_class~='' then -- if unassessed and article class exists, check if it can be inherited
local new_arg_table = {}
for arg, val in pairs(raw_args) do -- construct new argument table to send to custom mask
new_arg_tablearg = val
end
new_arg_table.class = article_class -- replace class with inherited class
local article_class_normalised = mw.text.trim(frame:expandTemplate{
title = custom_mask.prefixedText,
args = new_arg_table
})
if article_class_normalised and article_class_normalised~='' then
class = article_class_normalised -- inherit class from article_class normalised by custom mask
else
article_class = nil -- effectively no article_class for this banner
end
end
end
}}
The A-class review note currently accepts the following values:
I am wondering if we could change the "keep/kept" to "pass" and "demote/demoted" and "fail", in order to simplify this slightly? — Martin ( MSGJ · talk) 13:17, 12 June 2024 (UTC)
This is the
talk page for discussing improvements to the
WikiProject Military history template. |
|
Archives:
1,
2Auto-archiving period: 90 days
![]() |
![]() |
Template:WikiProject Military history is permanently
protected from editing because it is a
heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by
consensus, editors may use {{
edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's
documentation to add usage notes or
categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
![]() | Military history Template‑class | ||||||
|
Index
|
||
This page has archives. Sections older than 90 days may be automatically archived by Lowercase sigmabot III when more than 5 sections are present. |
Does anyone know how articles wind up in Category:Military history articles needing attention to tagging? I've looked at a couple and cannot see anything wrong with them. Hawkeye7 (discuss) 03:37, 10 January 2024 (UTC)
A-Class
parameter and either:
Wikipedia:WikiProject Military history/Assessment/**Name of nominated article**
doesn't exist).pass|keep|kept|fail|demote|demoted|current
(most commonly |A-Class=no
)These articles are listed as being incorrectly assessed as articles instead of lists, but class=list. Looks like a problem with the template. Hawkeye7 (discuss) 23:25, 16 January 2024 (UTC)
|list=yes
is required to be added as a parameter in order to apply the list-based assessment criteria.
Harryboyles 08:27, 17 January 2024 (UTC)What progress are we making on getting Template:WikiProject Military history to get it to inherit from Template:WikiProject banner shell? Seems to be a lot of unecessary bot work going on just dealing with this. Hawkeye7 (discuss) 20:15, 17 January 2024 (UTC)
@ Harryboyles: Looking at Talk:Ironclad warship, the WikiProject Banner Shell is set to C class, but this is not being inherited by the WikiProject Military history banner, which for some bizarre reason is showing the article as Start class, although there is no class parameter. This causes weird effects, with the article being categorised as both C and Start class. Any idea where the start comes from? And how we can get the banner to inherit correctly? Hawkeye7 (discuss) 22:23, 31 March 2024 (UTC)
WikiProject Military history has opted out of project-independent quality assessments, please note the qualifier "project-independent" here. Quality assessments still occur, but need to be set on the milhist banner as well as on the banner shell. -- Redrose64 🌹 ( talk) 05:57, 1 April 2024 (UTC)
if args.QUALITY_CRITERIA=='custom' then -- project has opted out of standard assessment scale and uses a custom mask
local custom_mask = banner_name:subPageTitle('class')
if custom_mask.exists and #custom_mask:getContent()>1 then
raw_args.demo_page = args.demo_page -- send demo_page to custom mask
class = mw.text.trim(frame:expandTemplate{
title = custom_mask.prefixedText,
args = raw_args
})
if class=='' and article_class and article_class~='' then -- if unassessed and article class exists, check if it can be inherited
local new_arg_table = {}
for arg, val in pairs(raw_args) do -- construct new argument table to send to custom mask
new_arg_tablearg = val
end
new_arg_table.class = article_class -- replace class with inherited class
local article_class_normalised = mw.text.trim(frame:expandTemplate{
title = custom_mask.prefixedText,
args = new_arg_table
})
if article_class_normalised and article_class_normalised~='' then
class = article_class_normalised -- inherit class from article_class normalised by custom mask
else
article_class = nil -- effectively no article_class for this banner
end
end
end
}}
The A-class review note currently accepts the following values:
I am wondering if we could change the "keep/kept" to "pass" and "demote/demoted" and "fail", in order to simplify this slightly? — Martin ( MSGJ · talk) 13:17, 12 June 2024 (UTC)