Module:WikiProject banner/config: Difference between revisions

Content deleted Content added
omit when default category
m remove two unused categories and add new category for conflicting ratings
 
(70 intermediate revisions by 3 users not shown)
Line 4:
image = 'Stop hand nuvola.svg',
type_ = 'content',
text = 'It seems that the <i>WikiProject %s</i> banner has been [[Wikipedia:Substitution|substituted]] on this page instead of being [[Wikipedia:Transclusion|transcluded]]. Please undo the edit and type %s instead.',
categories = '[[Category:WikiProject banners with formatting errors|SUBST]][[Category:Pages with incorrectly substituted templates]]'
},
namespace_warning = {
image = 'Ambox important.svg',
size = '40px',
type_ = 'content',
text = 'The WikiProject banner below should be moved to this %s_PAGETYPE_\'s <b>[[%s|talk page]]</b>. If this is a demonstration of the template, please set the parameter %s to prevent this page being miscategorised.',
small = 'If this is a demonstration of the template, please set the parameter %s to prevent this page being miscategorised.',
on_template_page = 'If this message appears on the template page itself, please check that the value of the %s parameter is correctly set to <kbd>%s</kbd>.',
categories = 'WikiProject banners with formatting errors',
sortkey = 'Location',
sortkey_on_template_page = 'Parameter'
},
image = {
default_size = '80px',
alt = 'WikiProject icon',
header_size = '35x25px'
},
main_text = 'This _PAGETYPE_ is within the scope of <b>[[%s|%s]]</b>, a collaborative effort to improve the coverage of %s on Wikipedia. If you would like to participate, please visit the project page, where you can join [[%s|the discussion]] and see a list of open tasks.',
quality = {
name = 'quality scale',
rating = 'This _PAGETYPE_ %s on %s.',
rated = 'has been rated as <b>%s-class</b>',
not_yet = 'has not yet received a rating',
not_required = 'does not require a rating',
default_scale = 'Wikipedia\'s [[Wikipedia:Content assessment|content assessment]] scale',
project_scale = 'the project\'s %s',
non_article_classes = {'Template', 'File', 'Category', 'Disambig', 'Redirect', 'Portal', 'Project', 'Draft', 'FM', 'Help', 'User'},
border = '0.075em solid',
assessment_category = 'Category:%s-Class %s',
ns_to_class = { -- table that maps namespace IDs to classes
[15] = 'category', -- Category talk
[101] = 'portal', -- Portal talk
[11] = 'template', -- Template talk
[829] = 'template', -- Module talk
[5] = 'project', -- Wikipedia talk
[119] = 'draft' -- Draft talk
}
},
importance = {
rating = 'This _PAGETYPE_ has %s on the %s.',
rated = 'been rated as <b>%s-%s</b>',
not_yet = 'not yet received a rating',
default_scale = '[[Wikipedia:Version 1.0 Editorial Team/Release Version Criteria#Importance of topic|importance scale]]',
project_scale = '[[%s|project\'s %s]]',
scale = '%s scale',
default_name = 'importance',
mask = {top = 'Top', high = 'High', mid = 'Mid', low = 'Low', na = 'NA', no = 'NA'},
unknown = 'Unknown',
na = 'NA'
},
task_force = {
text = 'This _PAGETYPE_ is supported by <b>%s</b>%s.',
importance = '(assessed as %s)',
header = 'Associated task forces:',-- default header for collapsed task forces if TF_COLLAPSED is defined
lower_threshold = 0,-- default threshold for collapsing task forces if TF_HEADER is defined
upper_threshold = 5,-- default threshold for collapsing task forces if TF_HEADER is not defined
icon_alt = 'Taskforce icon',
default_size = 'x25px'
},
note = {
header = 'More information:',-- default header when notes are collapsed
threshold = 2,-- default thresold for notes to collapse
icon_alt = 'Note icon',
default_size = 'x25px',
header_icon = 'x20px'
},
maintext = 'This %s is within the scope of <b>%s</b>, a collaborative effort to improve the coverage of %s on Wikipedia. If you would like to participate, please visit the project page, where you can join %s and see a list of open tasks.',
auto = {
assessed = 'This %s_PAGETYPE_ has been [[Wikipedia:Types of bots#WikiProject tagging and auto-assessment bots|automatically rated]] by a [[Wikipedia:Bots|bot]] or other tool %s. Please ensure the assessment is correct before removing the %s parameter.',
stub = 'as <b>Stub-class</b> because it uses a [[Wikipedia:Stub|stub template]]',
length = 'based on the length of the article',
Line 27 ⟶ 82:
},
attention = {
text = 'This %s_PAGETYPE_ has been marked as needing immediate attention.',
icon = 'Diamond-caution.svg',
default_cat = '%s articles needing attention',
},
infobox = {
text = 'This %s_PAGETYPE_ has been marked as needing an [[Wikipedia:Manual of Style/Infoboxes|infobox]].',
icon = 'Gnome-mime-text-x-credits.svg',
default_cat = '%s articles needing infoboxes',
},
auxiliary_module = 'Module:WikiProject banner/auxiliary',
quality = {
b_checklist = {
name = 'quality scale',
image = '[[File:Bclass-checklist.svg|20px|link=Wikipedia:Content assessment/B-Class criteria|alt=B checklist|center]]',
rating = 'This %s %s on %s.',
ratedtext = 'hasThis beenarticle ratedhas as%s <b>[[%s-class|criteria]]</b> for B-class status:',
not_yetchecked = 'hasbeen notchecked yetagainst receivedthe a ratingfollowing',
not_requirednot_checked = 'does not requireyet been checked aagainst ratingthe',
default_scale = 'Wikipedia\'s [[Wikipedia:Content assessment|content assessment]]/B-Class scalecriteria',
mask = {
project_scale = 'the project\'s %s',
yes = 'y', y = 'y', ['1'] = 'y', pass = 'y', -- pass
no = 'n', n = 'n', ['0'] = 'n', fail = 'n', -- fail
na = 'x', ['n/a'] = 'x', -- not applicable
['<yes/no>'] = 'u', ['yes/no'] = 'u', ['?'] = 'u', [''] = 'u', -- unevaluated
default = 'i' -- invalid
},
icon = {
y = 'Green check',
n = 'Red x',
x = 'Tilde',
i = 'Orange exclamation mark',
u = 'Purple question mark',
},
status = {
y = 'criterion met',
n = 'criterion not met',
x = 'not applicable',
i = 'invalid parameter',
u = 'not checked',
},
criteria = {
[1] = 'Referencing and citation',
[2] = 'Coverage and accuracy',
[3] = 'Structure',
[4] = 'Grammar and style',
[5] = 'Supporting materials',
[6] = 'Accessibility'
},
syntax = {
text = 'To fill out this checklist, please [%s add] the following code to the template call:',
prompt = '| b%s&lt;!--%s--&gt; = <yes/no>',
max_width = 24,
assess = 'assessing the article against each criterion.'
},
},
importanceinactive = {
ratingimage = 'ThisPeople %sicon has %s on the %sdead.svg',
image_size = '40px',
rated = 'been rated as <b>%s-%s</b>',
text = 'This _PAGETYPE_ is within the scope of [[%s|%s]], a project which is currently considered to be <b>[[WP:INACTIVEWP|%s]]</b>.',
not_yet = 'not yet received a rating',
nested = '([[WP:INACTIVEWP|%s]])',
default_scale = '[[Wikipedia:Version 1.0 Editorial Team/Release Version Criteria#Importance of topic|importance scale]]',
status = {defunct = 'defunct'},
project_scale = 'project\'s %s',
scaledefault = '%s scaleinactive',
class = 'inactive-wikiproject'
default_name = 'importance',
},
template_pageunknown_parameters = {
tracking = 'Category:Pages using %s with unknown parameters',
info = 'This [[:Category:WikiProject banner templates|WikiProject banner]] uses %s, a meta-template for easily creating and maintaining project banners. Please report any errors or feature requests to [[Template talk:WPBannerMeta]].',
default = 'Category:WikiProject templates with unknown parameters',
notice_text = 'Information or warnings about the template are below:',
preview = 'Page using %s with unexpected parameter "_VALUE_"',
custom_quality_mask = {
},
in_use = 'A <b>[[%s|custom class mask]]</b> is in use.',
todo_list = {
missing = 'The %s parameter is set to <i>subpage</i> but there is no custom class mask held at [[%s]]. Therefore the quality scale has been switched off.',
default_title = 'To-do list',
unused = 'The [[%s|/class subpage]] is currently not in use. To use it, set %s. To remove this warning, please delete or blank that subpage.'
edit = 'edit',
history = 'history',
watch = 'watch',
purge = 'purge',
},
image_needed = {
vowels = {
a = true,
e = true,
i = true,
o = true,
u = true
},
custom_importance_maskarticle = {
vowel = 'an',
in_use = 'A <b>[[%s|custom importance mask]]</b> is in use.',
consonant = 'a'
missing = 'The %s parameter is set to <i>subpage</i> but there is no custom importance mask held at [[%s]]. Therefore the importance scale has been switched off.',
unused = 'The [[%s|/importance subpage]] is currently not in use. To use it, set %s. To remove this warning, please delete or blank that subpage.'
},
default_type = 'an <b>image</b> or <b>photograph</b>',
collapsing_notes = {
details = 'of <b>%s</b>',
text = 'The %s notes in this template will automatically collapse if %s of them are activated. To change this setting, set or update the %s parameter.',
help = '<b>%s</b> may be able to help!',
more_than = 'more than %s',
text = 'An editor has requested that %s%s be [[Wikipedia:Uploading images|added]] to this _PAGETYPE_.%s',
any = 'any',
___location = 'Wikipedia requested %ss in %s',
note_counter = 'A hook is attached to the %s parameter but no valid counter has been attached to %s. If the hook can output more than one row, you may like to add the [[Template:WPBannerMeta/hooks/notecounter|notecounter hook]] to ensure consistent collapsing behaviour.',
topic = 'Wikipedia requested %ss of %s',
tracking = {sort_key = 'Hook collapsed'},
default_image = 'Camera-photo.svg',
},
collaboration = {
default_image = 'Crystal 128 kuser.png',
default_text = 'project collaboration',
size = '30px',
candidate = 'This _PAGETYPE_ is a [[%s|candidate]] to be the %s.',
current = 'This _PAGETYPE_ is currently the %s.',
past = 'This _PAGETYPE_ was a past %s.',
},
a_class = {
text = 'This article %s an [[%s|A-Class review]].',
mask = {
pass = 'pass',
keep = 'pass',
kept = 'pass',
fail = 'fail',
demote = 'fail',
demoted = 'fail',
current = 'current'
},
assessment_linkstatus = {
pass = 'has passed',
missing = 'This project banner specifies a non-existent assessment page %s. Please <b>[%s update or remove]</b> the %s parameter to fix this problem.',
fail = 'has failed',
default = 'This project banner does not specify an assessment page but is using, by default, the page %s. Please check [[Template:WPBannerMeta/Assessment link|here]] for more information and consider [%s adding] the %s parameter to the template.',
edit_summarycurrent = 'setis ASSESSMENT_LINKcurrently parameterundergoing',
},
substcheckicon = {
pass = 'Symbol a class.svg',
text = 'A feature for detecting incorrectly [[Wikipedia:Template substitution|substituted]] project banners has not yet been implemented on this template. Please see the [[Template:WPBannerMeta/doc#Simple options|documentation]] for how to set the %s parameter.',
fail = 'Symbol unsupport A vote.svg',
tracking = {sort_key = 'Check'},
current = 'A candidate.svg'
},
portalcategory = {
pass = 'ACR_PASS_CAT',
text = 'This banner template includes a link to [[%s]], %s',
fail = 'ACR_FAIL_CAT',
no_image = 'but there is no custom image defined yet. Please read the %s.',
current = 'ACR_CURRENT_CAT'
image_link = 'and the accompanying image is %s. See the %s on how to change this.',
instructions = '[[Template:Portal/doc#Image|instructions]]',
missing = 'but this portal does not exist - you may have defined %s incorrectly or the portal may have been deleted.',
tracking = {sort_key = 'O'},
},
background = '#66ffff',
task_force = {
create_summary = 'Create A-class review discussion page'
text = 'A task force does not have a defined name, which is needed for proper classification of these articles. Please add the %s parameter.',
},
tracking = {sort_key = 'N'},
peer_review = {
},
default_image = 'Nuvola apps kedit.png',
quality_criteria = {
default_size = '30px',
custom = 'This project is using a non-standard scale and has opted out of project-independent quality assessments.',
current = 'This article <b>[[%s|is currently undergoing]]</b> a [[%s|peer review]].',
custom_tracking = {category = 'WikiProjects using a non-standard quality scale'},
past = 'This article has had a [[%s|peer review]] which is <b>[[%s|now archived]]</b>.',
standard = 'This project is using the standard quality assessment scale but may be using a customised class mask. Please review the %s parameter.',
},
standard_tracking = {category = 'WikiProjects using the standard quality scale with customised class masks'},
banner_shell = {
category = {
no_banner_shell_articles = 'Articles with WikiProject banners but without a banner shell',
no_banner_shell = 'WikiProject banners without banner shells',
no_quality_rating = 'WikiProject banners with class parameter that needs moving to banner shell',
redundant_class = 'WikiProject banners with redundant class parameter',
outside_shell = 'WikiProject banners placed outside the banner shell'
},
piqa_warning = 'Please add the quality rating to the <code>{{WikiProject banner shell}}</code> template instead of this project banner. See [[WP:PIQA]] for details.',
check_category = {
redirects = {'WikiProject banner shell', 'WikiProject banner shell/sandbox', 'Bannershell', 'Multiple wikiprojects', 'Project shell', 'Scope shell', 'WPB', 'WPBS', 'WPBannerShell', 'WP Banner Shell', 'WP banner shell', 'WikiProjectBannerShell', 'WikiProjectBanner Shell', 'WikiProjectBanners', 'WikiProject BannerShell', 'WikiProject Banner Shell', 'WikiProject Banners', 'WikiProject Banners Shell', 'WikiProject Shell', 'WikiProject banner', 'WikiProject banner shell/redirect', 'WikiProject shell', 'WikiprojectBannerShell', 'Wikiproject banner holder', 'Wikiproject banner shell', 'Wikiprojectbanners', 'Wikiprojectbannershell', 'Wpb', 'Wpbannershell', 'Wpbsgclass', 'Article assessment', 'Wpbs'},
missing = 'Some of the assessment categories required for %s do not currently exist, and should to be created to avoid redlinks appearing on talk pages. Alternatively, you may need to set or update the %s parameter in this template.',
conflict = {
other = 'The following categories are required for the banner to work correctly. Please either create these categories or adjust the banner so that they are not required.',
category = '-Class articles with conflicting quality ratings',
icon = 'Nuvola apps kfig.svg',
category2 = '%s-Class articles conflicting with %s-Class project-independent quality rating',
create_summary = 'Creating category for [[WP:1.0/A|1.0 Assessment scheme]]',
text = 'This _PAGETYPE_ has been given a rating which conflicts with the [[WP:PIQA|project-independent quality rating]] in the banner shell. Please resolve this conflict if possible.'
quality_preload = 'Template:WPBannerMeta/templatepage/preloadqual',
importance_preload = 'Template:WPBannerMeta/templatepage/preloadimp',
meta_preload = 'Template:WPBannerMeta/templatepage/preloadmeta',
editintro = 'Template:WPBannerMeta/templatepage/editintro',
parameter_suffix = 'ASSESSMENT_CAT',
tracking = {category = 'WPBannerMeta templates with missing assessment categories'},
},
valid_users = {
default_tracking = 'WikiProject banners with formatting errors',
"AlexNewArtBot",
"InceptionBot",
"SDZeroBot",
"TedderBot",
"UBX",
"WP 1.0",
}
}
}