Module:WikiProject banner/config: Difference between revisions
From WikiMD's Wellness Encyclopedia
m 1 revision imported |
m 1 revision imported |
||
| (One intermediate revision by one other user not shown) | |||
| Line 11: | Line 11: | ||
size = '40px', | size = '40px', | ||
type_ = 'content', | type_ = 'content', | ||
text = 'The WikiProject banner below should be moved to this | text = 'The WikiProject banner below should be moved to this _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.', | ||
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>.', | 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 errors', | categories = 'WikiProject banners with errors', | ||
| Line 22: | Line 22: | ||
header_size = '35x25px' | header_size = '35x25px' | ||
}, | }, | ||
main_text = 'This | 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 = { | quality = { | ||
name = 'quality scale', | name = 'quality scale', | ||
rating = 'This | rating = 'This _PAGETYPE_ %s on %s.', | ||
rated = 'has been rated as <b>%s-class</b>', | rated = 'has been rated as <b>%s-class</b>', | ||
not_yet = 'has not yet received a rating', | not_yet = 'has not yet received a rating', | ||
| Line 33: | Line 33: | ||
non_article_classes = {'Template', 'File', 'Category', 'Disambig', 'Redirect', 'Portal', 'Project', 'Draft', 'FM', 'Help', 'User'}, | non_article_classes = {'Template', 'File', 'Category', 'Disambig', 'Redirect', 'Portal', 'Project', 'Draft', 'FM', 'Help', 'User'}, | ||
border = '0.075em solid', | border = '0.075em solid', | ||
assessment_category = 'Category:%s-Class %s', | 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 = { | importance = { | ||
rating = 'This | rating = 'This _PAGETYPE_ has %s on the %s.', | ||
rated = 'been rated as <b>%s-%s</b>', | rated = 'been rated as <b>%s-%s</b>', | ||
not_yet = 'not yet received a rating', | not_yet = 'not yet received a rating', | ||
| Line 77: | Line 51: | ||
scale = '%s scale', | scale = '%s scale', | ||
default_name = 'importance', | default_name = 'importance', | ||
mask = {top = 'Top', high = 'High', mid = 'Mid', low = 'Low', na = 'NA', no = 'NA'}, | |||
unknown = 'Unknown', | |||
na = 'NA' | |||
}, | }, | ||
task_force = { | task_force = { | ||
text = 'This | text = 'This _PAGETYPE_ is supported by <b>%s</b>%s.', | ||
importance = '(assessed as %s)', | importance = '(assessed as %s)', | ||
header = 'Associated task forces:',-- default header for collapsed task forces if TF_COLLAPSED is defined | header = 'Associated task forces:',-- default header for collapsed task forces if TF_COLLAPSED is defined | ||
| Line 104: | Line 72: | ||
}, | }, | ||
auto = { | auto = { | ||
assessed = 'This | assessed = 'This _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]]', | stub = 'as <b>Stub-class</b> because it uses a [[Wikipedia:Stub|stub template]]', | ||
length = 'based on the length of the article', | length = 'based on the length of the article', | ||
| Line 114: | Line 82: | ||
}, | }, | ||
attention = { | attention = { | ||
text = 'This | text = 'This _PAGETYPE_ has been marked as needing immediate attention.', | ||
icon = 'Diamond-caution.svg', | icon = 'Diamond-caution.svg', | ||
default_cat = '%s articles needing attention', | default_cat = '%s articles needing attention', | ||
}, | }, | ||
infobox = { | infobox = { | ||
text = 'This | text = 'This _PAGETYPE_ has been marked as needing an [[Wikipedia:Manual of Style/Infoboxes|infobox]].', | ||
icon = 'Gnome-mime-text-x-credits.svg', | icon = 'Gnome-mime-text-x-credits.svg', | ||
default_cat = '%s articles needing infoboxes', | default_cat = '%s articles needing infoboxes', | ||
| Line 165: | Line 133: | ||
assess = 'assessing the article against each criterion.' | assess = 'assessing the article against each criterion.' | ||
}, | }, | ||
}, | }, | ||
inactive = { | inactive = { | ||
image = 'People icon dead.svg', | image = 'People icon dead.svg', | ||
image_size = '40px', | image_size = '40px', | ||
text = 'This | text = 'This _PAGETYPE_ is within the scope of [[%s|%s]], a project which is currently considered to be <b>[[WP:INACTIVEWP|%s]]</b>.', | ||
nested = '([[WP:INACTIVEWP|%s]])' | nested = '([[WP:INACTIVEWP|%s]])', | ||
status = {defunct = 'defunct'}, | |||
default = 'inactive', | |||
class = 'inactive-wikiproject' | |||
}, | }, | ||
unknown_parameters = { | unknown_parameters = { | ||
| Line 206: | Line 170: | ||
details = 'of <b>%s</b>', | details = 'of <b>%s</b>', | ||
help = '<b>%s</b> may be able to help!', | help = '<b>%s</b> may be able to help!', | ||
text = 'An editor has requested that %s%s be [[Wikipedia:Uploading images|added]] to this | text = 'An editor has requested that %s%s be [[Wikipedia:Uploading images|added]] to this _PAGETYPE_.%s', | ||
location = 'Wikipedia requested %ss in %s', | location = 'Wikipedia requested %ss in %s', | ||
topic = 'Wikipedia requested %ss of %s', | topic = 'Wikipedia requested %ss of %s', | ||
| Line 215: | Line 179: | ||
default_text = 'project collaboration', | default_text = 'project collaboration', | ||
size = '30px', | size = '30px', | ||
candidate = 'This | candidate = 'This _PAGETYPE_ is a [[%s|candidate]] to be the %s.', | ||
current = 'This | current = 'This _PAGETYPE_ is currently the %s.', | ||
past = 'This | past = 'This _PAGETYPE_ was a past %s.', | ||
}, | }, | ||
a_class = { | a_class = { | ||
text = 'This article | text = 'This article %s an [[%s|A-Class review]].', | ||
mask = { | mask = { | ||
pass = 'pass', | pass = 'pass', | ||
| Line 239: | Line 203: | ||
fail = 'Symbol unsupport A vote.svg', | fail = 'Symbol unsupport A vote.svg', | ||
current = 'A candidate.svg' | current = 'A candidate.svg' | ||
}, | |||
category = { | |||
pass = 'ACR_PASS_CAT', | |||
fail = 'ACR_FAIL_CAT', | |||
current = 'ACR_CURRENT_CAT' | |||
}, | }, | ||
background = '#66ffff', | background = '#66ffff', | ||
create_summary = 'Create A-class review discussion page' | |||
}, | }, | ||
peer_review = { | peer_review = { | ||
| Line 248: | Line 218: | ||
past = 'This article has had a [[%s|peer review]] which is <b>[[%s|now archived]]</b>.', | past = 'This article has had a [[%s|peer review]] which is <b>[[%s|now archived]]</b>.', | ||
}, | }, | ||
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', | |||
redundant_listas = 'WikiProject banners with redundant listas value', | |||
move_listas = 'WikiProject banners with listas value which needs moving to 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.', | |||
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'}, | |||
conflict = { | |||
category = '-Class articles with conflicting quality ratings', | |||
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.' | |||
}, | }, | ||
valid_users = { | |||
"AlexNewArtBot", | |||
"InceptionBot", | |||
"SDZeroBot", | |||
"TedderBot", | |||
"UBX", | |||
"WP 1.0", | |||
} | |||
} | |||
} | |||
} | |||
} | } | ||
Latest revision as of 04:58, 17 December 2024
Documentation for this module may be created at Module:WikiProject banner/config/doc
return {
language = 'en',
subst_warning = {
image = 'Stop hand nuvola.svg',
type_ = 'content',
text = 'It seems that the <i>%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 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 _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.',
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 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'
},
auto = {
assessed = 'This _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',
inherit = 'because one or more other projects use this class',
sort_codes = {A='0', FA='1', FL='2', GA='3', B='4', C='5', Start='6', Stub='7', List='8'},
default_sort_code = '9',
default_cat = 'Automatically assessed %s articles',
icon = 'Robot icôn.svg',
},
attention = {
text = 'This _PAGETYPE_ has been marked as needing immediate attention.',
icon = 'Diamond-caution.svg',
default_cat = '%s articles needing attention',
},
infobox = {
text = 'This _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',
b_checklist = {
image = '[[File:Bclass-checklist.svg|20px|link=Wikipedia:Content assessment/B-Class criteria|alt=B checklist|center]]',
text = 'This article has %s <b>[[%s|criteria]]</b> for B-class status:',
checked = 'been checked against the following',
not_checked = 'not yet been checked against the',
default_scale = 'Wikipedia:Content assessment/B-Class criteria',
mask = {
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<!--%s--> = <yes/no>',
max_width = 24,
assess = 'assessing the article against each criterion.'
},
},
inactive = {
image = 'People icon dead.svg',
image_size = '40px',
text = 'This _PAGETYPE_ is within the scope of [[%s|%s]], a project which is currently considered to be <b>[[WP:INACTIVEWP|%s]]</b>.',
nested = '([[WP:INACTIVEWP|%s]])',
status = {defunct = 'defunct'},
default = 'inactive',
class = 'inactive-wikiproject'
},
unknown_parameters = {
tracking = 'Category:Pages using %s with unknown parameters',
default = 'Category:WikiProject templates with unknown parameters',
preview = 'Page using %s with unexpected parameter "_VALUE_"',
},
todo_list = {
default_title = 'To-do list',
edit = 'edit',
history = 'history',
watch = 'watch',
purge = 'purge',
},
image_needed = {
vowels = {
a = true,
e = true,
i = true,
o = true,
u = true
},
article = {
vowel = 'an',
consonant = 'a'
},
default_type = 'an <b>image</b> or <b>photograph</b>',
details = 'of <b>%s</b>',
help = '<b>%s</b> may be able to help!',
text = 'An editor has requested that %s%s be [[Wikipedia:Uploading images|added]] to this _PAGETYPE_.%s',
location = 'Wikipedia requested %ss in %s',
topic = 'Wikipedia requested %ss of %s',
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'
},
status = {
pass = 'has passed',
fail = 'has failed',
current = 'is currently undergoing',
},
icon = {
pass = 'Symbol a class.svg',
fail = 'Symbol unsupport A vote.svg',
current = 'A candidate.svg'
},
category = {
pass = 'ACR_PASS_CAT',
fail = 'ACR_FAIL_CAT',
current = 'ACR_CURRENT_CAT'
},
background = '#66ffff',
create_summary = 'Create A-class review discussion page'
},
peer_review = {
default_image = 'Nuvola apps kedit.png',
default_size = '30px',
current = 'This article <b>[[%s|is currently undergoing]]</b> a [[%s|peer review]].',
past = 'This article has had a [[%s|peer review]] which is <b>[[%s|now archived]]</b>.',
},
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',
redundant_listas = 'WikiProject banners with redundant listas value',
move_listas = 'WikiProject banners with listas value which needs moving to 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.',
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'},
conflict = {
category = '-Class articles with conflicting quality ratings',
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.'
},
valid_users = {
"AlexNewArtBot",
"InceptionBot",
"SDZeroBot",
"TedderBot",
"UBX",
"WP 1.0",
}
}
}