Module:WikiProject banner/config: Difference between revisions

Content deleted Content added
m updates
m remove two unused categories and add new category for conflicting ratings
 
(47 intermediate revisions by 3 users not shown)
Line 5:
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 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 = {
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.',
default_size = '80px',
auto = {
alt = 'WikiProject icon',
assessed = 'This %s 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.',
header_size = '35x25px'
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 %s has been marked as needing immediate attention.',
icon = 'Diamond-caution.svg',
default_cat = '%s articles needing attention',
},
infobox = {
text = 'This %s 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',
},
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 %s_PAGETYPE_ %s on %s.',
rated = 'has been rated as <b>%s-class</b>',
not_yet = 'has not yet received a rating',
Line 46 ⟶ 31:
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', 'BookFM', 'FMHelp', '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 %s_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'
},
statustask_force = {
text = 'This _PAGETYPE_ is supported by <b>%s</b>%s.',
inactive = 'inactive',
['semi-active']importance = 'semi-active(assessed as %s)',
header = 'Associated task forces:',-- default header for collapsed task forces if TF_COLLAPSED is defined
semiactive = 'semi-active',
lower_threshold = 0,-- default threshold for collapsing task forces if TF_HEADER is defined
defunct = 'defunct',
upper_threshold = 5,-- default threshold for collapsing task forces if TF_HEADER is not defined
default = 'active'
icon_alt = 'Taskforce icon',
default_size = 'x25px'
},
template_pagenote = {
header = 'More information:',-- default header when notes are collapsed
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]].',
threshold = 2,-- default thresold for notes to collapse
notice_text = 'Information or warnings about the template are below:',
icon_alt = 'Note icon',
custom_quality_mask = {
default_size = 'x25px',
in_use = 'A <b>[[%s|custom class mask]]</b> is in use.',
header_icon = 'x20px'
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.',
},
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.'
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
},
custom_importance_maskicon = {
y = 'Green check',
in_use = 'A <b>[[%s|custom importance mask]]</b> is in use.',
n = 'Red x',
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.',
x = 'Tilde',
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.'
i = 'Orange exclamation mark',
u = 'Purple question mark',
},
collapsing_notesstatus = {
y = 'criterion met',
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.',
more_thann = 'morecriterion thannot %smet',
anyx = 'anynot applicable',
i = 'invalid parameter',
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.',
tracking = {sort_keyu = 'Hooknot collapsedchecked'},
},
assessment_linkcriteria = {
[1] = 'Referencing and citation',
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.',
[2] = 'Coverage and accuracy',
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.',
[3] = 'Structure',
edit_summary = 'set ASSESSMENT_LINK parameter',
[4] = 'Grammar and style',
[5] = 'Supporting materials',
[6] = 'Accessibility'
},
projectsyntax = {
text = 'To fill out this checklist, please [%s add] the following code to the template call:',
text = 'The required PROJECT parameter has not been defined.',
prompt = '| b%s&lt;!--%s--&gt; = <yes/no>',
banner = 'The page name of the banner template does not exist. Please check the PROJECT or BANNER_NAME parameters.',
max_width = 24,
tracking = {sort_key = 'Missing PROJECT parameter'},
assess = 'assessing the article against each criterion.'
},
},
substcheck = {
inactive = {
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.',
image = 'People icon dead.svg',
tracking = {sort_key = 'Check'},
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
},
portalarticle = {
vowel = 'an',
text = 'This banner template includes a link to [[%s]], %s',
consonant = 'a'
no_image = 'but there is no custom image defined yet. Please read the %s.',
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'},
},
default_type = 'an <b>image</b> or <b>photograph</b>',
task_force = {
details = 'of <b>%s</b>',
text = 'A task force does not have a defined name, which is needed for proper classification of these articles. Please add the %s parameter.',
help = '<b>%s</b> may be able to help!',
tracking = {sort_key = 'N'},
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'
},
quality_criteriastatus = {
pass = 'has passed',
custom = 'This project is using a non-standard scale and has opted out of project-independent quality assessments.',
fail = 'has failed',
custom_tracking = {category = 'WikiProjects using a non-standard quality scale'},
current = 'is currently undergoing',
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'},
},
check_assessmenticon = {
pass = 'Symbol a class.svg',
classes = {'FA', 'FL', 'A', 'GA', 'B', 'C', 'Start', 'Stub', 'List', 'Unassessed'},
fail = 'Symbol unsupport A vote.svg',
extended_classes = {'File', 'Category', 'Portal', 'Template', 'Project', 'Disambig', 'Draft'},
current = 'A candidate.svg'
importances = {'Top', 'High', 'Mid', 'Low', 'NA', 'Unknown'},
text = '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.',
icon = 'Nuvola apps kfig.svg',
create_summary = 'Creating category for [[WP:1.0/A|1.0 Assessment scheme]]',
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'},
},
check_othercategory = {
pass = 'ACR_PASS_CAT',
text = '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.',
iconfail = 'Nuvola apps kfig.svgACR_FAIL_CAT',
current = 'ACR_CURRENT_CAT'
tracking = {sort_key = 'Z'},
},
background = '#66ffff',
default_tracking = 'WikiProject banners with formatting errors',
create_summary = 'Create A-class review discussion page'
template_categories = {
},
non_standard = {category = 'WikiProject banners with non-standard names'},
peer_review = {
sandbox = {category = 'WikiProject banner template sandboxes'},
default_image = 'Nuvola apps kedit.png',
with_quality = {category = 'WikiProject banners with quality assessment'},
default_size = '30px',
without_quality = {category = 'WikiProject banners without quality assessment'},
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'
},
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.',
parameters = {
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'},
preview = 'Unexpected or deprecated parameter _VALUE_',
conflict = {
config = {'PROJECT', 'BANNER_NAME', 'PROJECT_NAME', 'PROJECT_LINK', 'DOC', 'IMAGE_LEFT', 'IMAGE_LEFT_SIZE', 'IMAGE_RIGHT', 'IMAGE_RIGHT_SIZE', 'QUALITY_SCALE', 'QUALITY_CRITERIA', 'AUTO_ASSESS_CAT', 'IMPORTANCE_SCALE', 'ASSESSMENT_CAT', 'ASSESSMENT_LINK', 'MAIN_TEXT', 'MAIN_ARTICLE', 'PORTAL', 'MAIN_CAT', 'ATTENTION_CAT', 'INFOBOX_CAT', 'NOTE_SIZE', 'COLLAPSED', 'COLLAPSED_HEAD', 'BOTTOM_TEXT', 'TF_SIZE', 'HOOK_NESTED', 'HOOK_ASSESS', 'HOOK_TF', 'HOOK_NOTE', 'HOOK_BOTTOM', 'HOOK_COLLAPSED', 'HOOK_IMPORTANCE', 'PROJECT_STATUS'},
category = '-Class articles with conflicting quality ratings',
passthrough = {'substcheck', 'category', 'listas', 'class', 'auto', 'b1', 'b2', 'b3', 'b4', 'b5', 'b6', 'importance', 'priority', 'attention', 'infobox'},
category2 = '%s-Class articles conflicting with %s-Class project-independent quality rating',
taskforce = {
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.'
prefix = 'TF_%s_',
suffix = {'LINK', 'NAME', 'NESTED', 'IMAGE', 'TEXT', 'QUALITY', 'ASSESSMENT_CAT', 'MAIN_CAT', 'PORTAL', 'HOOK', 'SIZE'},
},
note = {
prefix = 'NOTE_%s_',
suffix = {'TEXT', 'IMAGE', 'CAT', 'SIZE'},
},
},
valid_users = {
},
"AlexNewArtBot",
WPBS_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'},
"InceptionBot",
"SDZeroBot",
"TedderBot",
"UBX",
"WP 1.0",
}
}
}