模块:Citation/CS1/Configuration:修订间差异

imported>Antigng
imported>Ericliu1912
依據編輯請求更新頁面 自Module:Citation/CS1/Configuration/sandbox合并Kcx36版本87707661
 
(未显示4个用户的9个中间版本)
第1行: 第1行:
local citation_config = {};
local citation_config = {};


第30行: 第29行:


local messages = {
local messages = {
['_safe_for_italics'] = {'lay source'},
['archived-dead'] = '($1存档于$2)',
['archived-dead'] = '($1存档于$2)',
['archived-not-dead'] = '(原始内容$1于$2)',
['archived-not-dead'] = '(原始内容$1于$2)',
['archived-missing'] = '(原始内容$1存档于$2)',
['archived-missing'] = '(原始内容$1存档于$2)',
['archived-unfit'] = '原始内容存档于$1',
['archived'] = '存档',
['archived'] = '存档',
['by'] = 'By', -- contributions to authored works: introduction, foreword, afterword
['by'] = 'By', -- contributions to authored works: introduction, foreword, afterword
['cartography'] = 'Cartography by $1',
['cartography'] = 'Cartography by $1',
['docket'] = 'Docket $1',
['editor'] = '编',
['editor'] = '编',
['editors'] = '编',  
['editors'] = '编',  
['edition'] = '$1',  
['edition'] = ' $1',  
['episode'] = '第$1集',
['episode'] = '第$1集',
['et al'] = '',  
['et al'] = 'et al',  
['in'] = '(编)', -- edited works
['in'] = '(编)', -- edited works
['inactive'] = '不活跃',
['inactive'] = '不活跃',
['interview'] = ' 與$2的$1',
['inset'] = '$1 inset',
['inset'] = '$1 inset',
['lay summary'] = '简明摘要',
['lay summary'] = '简明摘要',
['lay source'] = " – ''$1''",
['newsgroup'] = '[[Usenet newsgroup|Newsgroup]]: $1',
['newsgroup'] = '[[Usenet newsgroup|Newsgroup]]: $1',
['original'] = '原始内容',
['original'] = '原始内容',
['orig year'] = ' [$1]',
['published'] = '$1',
['published'] = '$1',
['retrieved'] = '[$1]',
['retrieved'] = '[$1]',
第53行: 第59行:
['sections'] = '§§ $1',
['sections'] = '§§ $1',
['series'] = '第$1系列',
['series'] = '第$1系列',
['thesis with type'] = '$1论文',
['thesis no type'] = '学位论文',
['translated'] = '由$1翻译',
['type'] = ' ($1)', -- for titletype
['type'] = ' ($1)', -- for titletype
['written'] = '写于$1',
['written'] = ' 写于$1',


['vol'] = '$1 Vol. $2', -- $1 is sepc; bold journal style volume is in presentation{}
['vol'] = '$1 Vol. $2', -- $1 is sepc; bold journal style volume is in presentation{}
第74行: 第83行:
['j-sheets'] = ': Sheets $1',
['j-sheets'] = ': Sheets $1',
['subscription'] = '[[File:Lock-red-alt.svg|9px|link=|alt=需要付费订阅|需要付费订阅]]' ..
['language'] = '<span style="font-family: sans-serif; cursor: default; color:var(--color-subtle, #54595d); font-size: 0.8em; bottom: 0.1em; font-weight: bold;" title="连接到$1网页">($1)</span>',  
'[[Category:含有連結內容需訂閱查看的頁面]]',
['registration']='[[File:Lock-blue-alt-2.svg|9px|link=|alt=需要免费注册|需要免费注册]]' ..
'[[Category:含有內容需登入查看的頁面]]',
['language'] = '<span style="font-family: sans-serif; cursor: default; color:#555; font-size: 0.8em; bottom: 0.1em; font-weight: bold;" title="连接到$1网页">($1)</span>',  
['via'] = " &ndash;-{zh-hans:通过;zh-hant:透過;}-$1",
['via'] = " &ndash;-{zh-hans:通过;zh-hant:透過;}-$1",
['event'] = '事件发生在',
['event'] = ' 事件发生在 $1',
['minutes'] = '记录于',  
['minutes'] = ' $1 记录于',  
['parameter-separator'] = '、',
['parameter-separator'] = '、',
['parameter-final-separator'] = '和',
['parameter-final-separator'] = '和',
['parameter-pair-separator'] = '和',
['parameter-pair-separator'] = '和',
['publication-date'] = ' ($1)',
-- Determines the location of the help page
-- Determines the location of the help page
['help page link'] = 'Help:引文格式1错误',
['help page link'] = 'Help:引文格式1错误',
['help page label'] = '帮助',
['help page label'] = '帮助',
['maintenance-link'] = 'link',
-- Internal errors (should only occur if configuration is bad)
['maintenance-item'] =  ' $1 ($2)'
}
 
--[[--------------------------< I N T E R N A L _ E R R O R S >-------------------------------------------
 
Internal errors (should only occur if configuration is bad)
 
]]
 
local internal_errors = {
['undefined_error'] = '调用了一个未定义的错误条件',
['undefined_error'] = '调用了一个未定义的错误条件',
['unknown_manual_ID'] = '无法识别的手动ID模式',
['unknown_manual_ID'] = '无法识别的手动ID模式',
['unknown_ID_mode'] = '无法识别的ID模式',
['unknown_ID_mode'] = '无法识别的ID模式',
['unknown_argument_map'] = 'Argument map not defined for this variable',
['unknown_argument_map'] = '检测到参数别名与参数名之间的映射丢失',
['bare_url_no_origin'] = 'Bare url found but origin indicator is nil or empty',
['bad_link_no_origin'] = '检测到格式错误但源头不明的内部链接',
['bad_url_no_origin'] = '检测到格式错误但源头不明的网址',
['bare_url_no_origin'] = '检测到源头不明的裸网址',
}
}


第107行: 第123行:


]]
]]
local presentation =  
local presentation = {
{
['_safe_for_italics'] = {'italic-title', 'trans-italic-title'},
-- Error output
-- Error output
-- .error class is specified at https://git.wikimedia.org/blob/mediawiki%2Fcore.git/9553bd02a5595da05c184f7521721fb1b79b3935/skins%2Fcommon%2Fshared.css#L538
-- .error class is specified at https://git.wikimedia.org/blob/mediawiki%2Fcore.git/9553bd02a5595da05c184f7521721fb1b79b3935/skins%2Fcommon%2Fshared.css#L538
第115行: 第132行:
['visible-error'] = '<span style="font-size:100%" class="error citation-comment">$1</span>',
['visible-error'] = '<span style="font-size:100%" class="error citation-comment">$1</span>',


['accessdate'] = '<span class="reference-accessdate">$2</span>', -- to allow editors to hide accessdate using personal css
['accessdate'] = ' <span class="reference-accessdate">$2</span>', -- to allow editors to hide accessdate using personal css


['bdi'] = '<bdi$1>$2</bdi>', -- bidirectional isolation used with |script-title= and the like
['bdi'] = '<bdi$1>$2</bdi>', -- bidirectional isolation used with |script-title= and the like
第135行: 第152行:
['nowrap2'] = '<span class="nowrap">$1</span> $2', -- for nowrapping portions of an item: <span ...>dd mmmm</span> yyyy (note white space)
['nowrap2'] = '<span class="nowrap">$1</span> $2', -- for nowrapping portions of an item: <span ...>dd mmmm</span> yyyy (note white space)
['OCinS'] = '<span title="$1" class="Z3988"><span style="display:none;">&nbsp;</span></span>',
-- Note: Using display: none on the COinS span breaks some clients.
['parameter'] = '<code style="'..code_style..'">&#124;$1=</code>',
['parameter'] = '<code style="'..code_style..'">&#124;$1=</code>',


第142行: 第162行:
['trans-italic-title'] = "&#91;$1&#93;",
['trans-italic-title'] = "&#91;$1&#93;",
['trans-quoted-title'] = "&#91;$1&#93;",
['trans-quoted-title'] = "&#91;$1&#93;",
['vol-bold'] = ' <b>$1</b>', -- for journal cites; for other cites ['vol'] in messages{}
['vol-bold'] = ' <b>$1</b>', -- for journal cites; for other cites ['vol'] in messages{}
['maintenance'] = '<span class="citation-comment" style="display:none; color:#33aa33">$1</span>',
['citation-with-id'] = '<cite id="$1" class="$2">$3</cite>',
['citation-no-id'] = '<cite class="$1">$2</cite>'
}
}
--[[--------------------------< P E R I O D I C A L _ P A R A M E T E R S >-----------------------------------
用于整理periodical系列参数的别名,key为对应的citation class。在主模块中推断{{citation}}的引用类型时会用到。
]]
local periodical_parameters = {
['journal'] = {'journal'},
['news'] = {'newspaper'},
['magazine'] = {'magazine'},
['web'] = {'website'},
['encyclopaedia'] = {'encyclopedia', 'encyclopaedia', 'dictionary'},
['mailinglist'] = {'mailinglist', 'mailing-list'},
['_general'] = {'work', 'periodical'}
} -- 注意参数排列顺序,_general一定要放最后。
local periodical_compatibility = {
['journal'] = {
['drop'] = {'news', 'encyclopaedia', 'mailinglist'},
['warn'] = {'magazine'},
['suggest'] = 'journal'
},
['news'] = {
['drop'] = {'encyclopaedia', 'mailinglist', 'journal'},
['warn'] = {'magazine'},
['suggest'] = 'newspaper'
},
['magazine'] = {
['drop'] = {'encyclopaedia', 'mailinglist'},
['warn'] = {'journal', 'news'},
['suggest'] = 'magazine'
},
['web'] = {
['drop'] = {'encyclopaedia', 'mailinglist'},
['warn'] = {'news', 'journal', 'magazine'},
['suggest'] = 'website'
},
['encyclopaedia'] = {
['drop'] = {'mailinglist', 'news', 'journal', 'magazine'},
},
['mailinglist'] = {
['drop'] = {'encyclopaedia', 'news', 'journal', 'magazine', 'web'},
},
['book'] = {
['drop'] = {'news', 'journal', 'mailinglist'},
['warn'] = {'encyclopaedia', 'magazine'},
['suggest'] = 'work'
},
['conference'] = {
['drop'] = {'news', 'magazine', 'mailinglist', 'encyclopaedia'},
['warn'] = {'journal'},
['suggest'] = 'book-title'
},
['map'] = {
['drop'] = {'mailinglist', 'encyclopaedia'},
},
['interview'] = {
['drop'] = {'mailinglist', 'encyclopaedia', 'journal'},
},
['AV media'] = {
['drop'] = {'mailinglist', 'encyclopaedia', 'journal', 'magazine'},
},
['podcast'] = {
['drop'] = {'mailinglist', 'encyclopaedia', 'journal', 'magazine', 'news'},
},
['serial'] = {
['drop'] = {'mailinglist', 'encyclopaedia', 'journal', 'magazine', 'news'},
},
['speech'] = {
['drop'] = {'mailinglist', 'encyclopaedia', 'journal', 'magazine'},
},
['episode'] = {
['drop'] = {'mailinglist', 'encyclopaedia', 'journal', 'magazine', 'news'},
},
['thesis'] = {
['drop'] = {'mailinglist', 'encyclopaedia', 'magazine', 'news'},
},
['pressrelease'] = {
['drop'] = {'mailinglist', 'encyclopaedia', 'magazine', 'journal'},
},
['arxiv'] = {
['drop'] = {'mailinglist', 'encyclopaedia', 'magazine', 'journal', 'web'}
}
}
local function build_periodical ()
local periodical_items = {};
for _, aliases in pairs (periodical_parameters) do
for _, aliase in pairs (aliases) do
table.insert (periodical_items, aliase);
end
end
return periodical_items;
end
local periodical = {
parameters = periodical_parameters,
compatibility = periodical_compatibility
}


--[[--------------------------< A L I A S E S >----------------------------------------------------------------
--[[--------------------------< A L I A S E S >----------------------------------------------------------------
第164行: 第290行:
['Callsign'] = {'call-sign', 'callsign'}, -- cite interview
['Callsign'] = {'call-sign', 'callsign'}, -- cite interview
['Cartography'] = 'cartography',
['Cartography'] = 'cartography',
['Chapter'] = {'chapter', 'contribution', 'entry', 'article', 'section'},
['Chapter'] = {'chapter', 'contribution'},
['ChapterFormat'] = {'chapter-format', 'contribution-format', 'section-format'};
['ChapterFormat'] = {'chapter-format', 'contribution-format', 'section-format'};
['ChapterURL'] = {'chapter-url', 'chapterurl', 'contribution-url', 'contributionurl', 'section-url', 'sectionurl'},
['ChapterURL'] = {'chapter-url', 'chapterurl', 'contribution-url', 'contributionurl', 'section-url', 'sectionurl'},
['ChapterUrlAccess'] = {'chapter-url-access', 'section-url-access'};
['City'] = 'city', -- cite interview
['City'] = 'city', -- cite interview
['Class'] = 'class', -- cite arxiv and arxiv identifiers
['Class'] = 'class', -- cite arxiv and arxiv identifiers
第174行: 第301行:
['ConferenceURL'] = {'conference-url', 'conferenceurl', 'event-url', 'eventurl'},
['ConferenceURL'] = {'conference-url', 'conferenceurl', 'event-url', 'eventurl'},
['Contribution'] = 'contribution', -- introduction, foreword, afterword, etc; required when |contributor= set
['Contribution'] = 'contribution', -- introduction, foreword, afterword, etc; required when |contributor= set
['Date'] = {'date', 'air-date', 'airdate'},
['Date'] = 'date',
['DeadURL'] = {'dead-url', 'deadurl','url-status','urlstatus'},
['DeadURL'] = {'dead-url', 'deadurl','url-status','urlstatus'},
['Degree'] = 'degree',
['Degree'] = 'degree',
第185行: 第312行:
['Editors'] = 'editors',
['Editors'] = 'editors',
['Embargo'] = 'embargo',
['Embargo'] = 'embargo',
['Encyclopedia'] = {'encyclopedia', 'encyclopaedia'}, -- this one only used by citation
['Entry'] = {'entry', 'article'}, -- cite encyclopedia only
['Episode'] = 'episode', -- cite serial only TODO: make available to cite episode?
['Episode'] = 'episode', -- cite serial only TODO: make available to cite episode?
['Format'] = 'format',
['Format'] = 'format',
第198行: 第325行:
['LaySource'] = {'lay-source', 'laysource'},
['LaySource'] = {'lay-source', 'laysource'},
['LayURL'] = {'lay-url', 'lay-summary', 'layurl', 'laysummary'},
['LayURL'] = {'lay-url', 'lay-summary', 'layurl', 'laysummary'},
['MailingList'] = {'mailinglist', 'mailing-list'}, -- cite mailing list only
['Map'] = 'map', -- cite map only
['Map'] = 'map', -- cite map only
['MapFormat'] = 'map-format', -- cite map only
['MapFormat'] = 'map-format', -- cite map only
['MapURL'] = {'mapurl', 'map-url'}, -- cite map only
['MapURL'] = {'mapurl', 'map-url'}, -- cite map only
['MapUrlAccess'] = {'map-url-access'}, -- cite map only
['MessageID'] = 'message-id',
['MessageID'] = 'message-id',
['Minutes'] = 'minutes',
['Minutes'] = 'minutes',
第215行: 第342行:
['Page'] = {'p', 'page'},
['Page'] = {'p', 'page'},
['Pages'] = {'pp', 'pages'},
['Pages'] = {'pp', 'pages'},
['Periodical'] = {'journal', 'newspaper', 'magazine', 'work',
['Periodical'] = build_periodical (),
'website',  'periodical', 'encyclopedia', 'encyclopaedia', 'dictionary', 'mailinglist'},
['Place'] = {'place', 'location'},
['Place'] = {'place', 'location'},
['Program'] = 'program', -- cite interview
['Program'] = 'program', -- cite interview
第230行: 第356行:
['ScriptTitle'] = 'script-title',
['ScriptTitle'] = 'script-title',
['Section'] = 'section',
['Section'] = 'section',
['Sections'] = 'sections', -- cite map only
['Season'] = 'season',
['Season'] = 'season',
['Sections'] = 'sections', -- cite map only
['Series'] = {'series', 'version'},
['Series'] = {'series', 'version'},
['SeriesSeparator'] = 'series-separator',
['SeriesSeparator'] = 'series-separator',
第293行: 第419行:




--[[--------------------------< V O L U M E ,  I S S U E ,  P A G E S >----------------------------------------
--[[--------------------------< A R G S _ S U P P O R T >-----------------------------------------------------


These tables hold cite class values (from the template invocation) and identify those templates that support
These tables hold cite class values (from the template invocation) and identify those templates that support or require
|volume=, |issue=, and |page(s)= parameters.  Cite conference and cite map require further qualification which
certain parameters.  
is handled in the main module.


]]
]]
 
local args_support = {
local templates_using_volume = {'citation', 'AV media', 'book', 'conference', 'encyclopaedia', 'interview', 'journal', 'magazine', 'map', 'news', 'report', 'techreport'}
['templates_using_volume'] = {'citation', 'AV media', 'book', 'conference', 'encyclopaedia', 'interview', 'journal', 'magazine', 'map', 'news', 'report', 'techreport', 'thesis'},
local templates_using_issue = {'citation', 'conference', 'episode', 'interview', 'journal', 'magazine', 'map', 'news'}
['templates_using_issue'] = {'citation', 'conference', 'episode', 'interview', 'journal', 'magazine', 'map', 'news'},
local templates_not_using_page = {'AV media', 'episode', 'mailinglist', 'newsgroup', 'podcast', 'serial', 'sign', 'speech'}
['templates_not_using_page'] = {'AV media', 'episode', 'mailinglist', 'newsgroup', 'podcast', 'serial', 'sign', 'speech'},
 
['templates_involving_time'] = {'AV media', 'episode', 'speech', 'podcast', 'serial'},
 
['templates_not_using_chapter'] = {'encyclopaedia', 'web', 'news', 'journal', 'magazine', 'pressrelease','podcast', 'newsgroup', 'mailinglist', 'map', 'conference', 'episode', 'serial', 'arxiv', 'biorxiv', 'citeseerx', 'ssrn'},
['templates_not_using_chapter_format'] = {'web', 'news', 'journal', 'magazine', 'pressrelease','podcast', 'newsgroup', 'mailinglist', 'arxiv', 'biorxiv', 'citeseerx', 'ssrn'},
['templates_using_contributor'] = {'book', 'citation'}, -- |contributor= and |contribution= only supported in book cites
['templates_requiring_url'] = {'web', 'podcast', 'mailinglist'}
}


--[[--------------------------< K E Y W O R D S >--------------------------------------------------------------
--[[--------------------------< K E Y W O R D S >--------------------------------------------------------------
第315行: 第444行:
local keywords = {
local keywords = {
['yes_true_y'] = {'yes', 'true', 'y'}, -- ignore-isbn-error, last-author-amp, no-tracking, nopp, registration, subscription
['yes_true_y'] = {'yes', 'true', 'y'}, -- ignore-isbn-error, last-author-amp, no-tracking, nopp, registration, subscription
['deadurl'] = {'yes', 'true', 'y', 'dead', 'no', 'live', 'unfit', 'usurped'},
['deadurl'] = {'yes', 'true', 'y', 'dead', 'no', 'live', 'unfit', 'usurped', 'deviated'},
['deadurl-live'] = {'no', 'live'},
['deadurl-unfit'] = {'unfit', 'usurped'},
['mode'] = {'cs1', 'cs2'},
['mode'] = {'cs1', 'cs2'},
['name-list-format'] = {'vanc', 'amp', '&'},
['name-list-format'] = {'vanc', 'amp', '&'},
第366行: 第497行:
}
}


--[[--------------------------< E X T R A _ T E X T _ P A T T E R N >--------------------------------------
]]
local extra_text_pattern = {
['edition'] = {
['good'] = {
},
['bad'] = {
'%f[%a][Ee]d%.?$',
'%f[%a][Ee]dition$'
}
},
['page'] = {
['good'] = {
'^P[^%.Pp]' -- ok to begin with uppercase P: P7 (pg 7 of section P) but not p123 (page 123) TODO: add Gg for PG or Pg?
},
['bad'] = {
'^[Pp]?[Pp]%.?[ %d]',
'^[Pp]ages?'
}
}
}
--[[---------------------< S T R I P M A R K E R S >----------------------------
Common pattern definition location for stripmarkers so that we don't have to go
hunting for them if (when) MediaWiki changes their form.
]]
local stripmarkers = {
['any'] = '\127[^\127]*UNIQ%-%-(%a+)%-[%a%d]+%-QINU[^\127]*\127', -- capture returns name of stripmarker
['math'] = '\127[^\127]*UNIQ%-%-math%-[%a%d]+%-QINU[^\127]*\127' -- math stripmarkers used in coins_cleanup() and coins_replace_math_stripmarker()
}
local indic_script = '[\224\164\128-\224\181\191\224\163\160-\224\183\191\225\128\128-\225\130\159\234\167\160-\234\167\191\234\169\160-\234\169\191]';


--[[--------------------------< M A I N T E N A N C E _ C A T E G O R I E S >----------------------------------
--[[--------------------------< M A I N T E N A N C E _ C A T E G O R I E S >----------------------------------
第388行: 第555行:
['untitled'] = '引文格式1维护:无标题期刊',
['untitled'] = '引文格式1维护:无标题期刊',
['zbl_format'] = '引文格式1维护:zbl格式',
['zbl_format'] = '引文格式1维护:zbl格式',
['registration'] = '含有內容需登入查看的頁面',
['subscription'] = '含有連結內容需訂閱查看的頁面'
}
}


第411行: 第580行:


local title_types = {
local title_types = {
['AV media notes'] = 'Media notes',
['AV media notes'] = '音像媒体说明',
['DVD notes'] = 'Media notes',
['interview'] = '访谈',
['mailinglist'] = '邮件列表',
['mailinglist'] = '邮件列表',
['map'] = 'Map',
['map'] = '地图',
['podcast'] = 'Podcast',
['podcast'] = '-{zh-cn:播客; zh-tw:Podcast;}-',
['pressrelease'] = '新闻稿',
['pressrelease'] = '新闻稿',
['report'] = 'Report',
['report'] = '报告',
['techreport'] = 'Technical report',
['speech'] = '演讲',
['thesis'] = 'Thesis',
['techreport'] = '技术报告',
['thesis'] = '学位论文'
}
}


第455行: 第625行:
hidden = false },
hidden = false },
arxiv_params_not_supported = {
arxiv_params_not_supported = {
message = '不支持的参数使用了arXiv',
message = 'cite arXiv模板填写了不支持的参数',
anchor = 'arxiv_params_not_supported',
anchor = 'arxiv_params_not_supported',
category = '引文格式1错误:arXiv', -- same as bad arxiv
category = '引文格式1错误:arXiv', -- same as bad arxiv
第575行: 第745行:
hidden = false },
hidden = false },
bad_url = {
bad_url = {
message = '请检查<code style="'..code_style..'">&#124;url=</code>值',
message = '请检查<code style="'..code_style..'">&#124;$1=</code>值',
anchor = 'bad_url',
anchor = 'bad_url',
category = '含有网址格式错误的引用的页面',
category = '含有网址格式错误的引用的页面',
hidden = false },
hidden = false },
bare_url_missing_title = {
bare_url_missing_title = {
message = '$1缺少标题',
message = '<code style="'..code_style..'">&#124;$1=</code>缺少标题',
anchor = 'bare_url_missing_title',
anchor = 'bare_url_missing_title',
category = '含有裸露网址的引用的页面',
category = '含有裸露网址的引用的页面',
第629行: 第799行:
anchor = 'contributor_missing_required_param',
anchor = 'contributor_missing_required_param',
category = '引文格式1错误:合作者',
category = '引文格式1错误:合作者',
hidden = false },
date_year_mismatch = {
message = '<code style="'..code_style..'">&#124;year=</code>与<code style="'..code_style..'">&#124;$1=</code>不匹配',
anchor = 'date_year_mismatch',
category = '引文格式1错误:日期与年不匹配',
hidden = false },
hidden = false },
deprecated_params = {
deprecated_params = {
message = '引文使用过时参数$1',
message = '引文使用过时参数<code style="'..code_style..'">$1</code>',
anchor = 'deprecated_params',
anchor = 'deprecated_params',
category = '含有过时参数的引用的页面',
category = '含有过时参数的引用的页面',
hidden = true },
hidden = true },
doi_inactive_dated = {
message = '自$1年含有不活躍DOI的頁面',
anchor = 'doi_inactive_dated',
category = '自$1年含有不活躍DOI的頁面',
hidden = true},
doi_inactive = {
message = '含有不活躍DOI的頁面',
anchor = 'doi_inactive_dated',
category = '含有不活躍DOI的頁面',
hidden = true},
empty_citation = {
empty_citation = {
message = '空引用',
message = '空引用',
第679行: 第864行:
anchor = 'param_has_ext_link',
anchor = 'param_has_ext_link',
category = '引文格式1错误:外部链接',
category = '引文格式1错误:外部链接',
hidden = false },
parameter_discarded = {
message = '<code style="'..code_style..'">&#124;$1=</code>被忽略',
anchor = 'parameter_discarded',
category = '引文格式1错误:已知参数被忽略',
hidden = false },
hidden = false },
parameter_ignored = {
parameter_ignored = {
第689行: 第879行:
anchor = 'parameter_ignored_suggest',
anchor = 'parameter_ignored_suggest',
category = '含有未知参数的引用的页面',
category = '含有未知参数的引用的页面',
hidden = false },
periodical = {
message = '参数<code style="'..code_style..'">&#124;$1=</code>与模板<code style="'..code_style..'">{{cite $2}}</code>不匹配(建议改用<code style="'..code_style..'">{{cite $3}}</code>或<code style="'..code_style..'">&#124;$4=</code>)',
anchor = 'periodical',
category = '引文格式1错误:periodical系列参数与模板类型不匹配',
hidden = false },
hidden = false },
redundant_parameters = {
redundant_parameters = {
第808行: 第1,003行:
label = 'doi',
label = 'doi',
mode = 'manual',
mode = 'manual',
prefix = '//dx.doi.org/',
prefix = '//doi.org/',
COinS = 'info:doi',
COinS = 'info:doi',
custom_access = 'doi-access',
custom_access = 'doi-access',
第1,028行: 第1,223行:
return {
return {
aliases = aliases,
aliases = aliases,
args_support = args_support,
defaults = defaults,
defaults = defaults,
error_conditions = error_conditions,
error_conditions = error_conditions,
indic_script = indic_script,
internal_errors = internal_errors,
id_handlers = id_handlers,
id_handlers = id_handlers,
keywords = keywords,
keywords = keywords,
invisible_chars = invisible_chars,
invisible_chars = invisible_chars,
extra_text_pattern = extra_text_pattern,
maint_cats = maint_cats,
maint_cats = maint_cats,
messages = messages,
messages = messages,
periodical = periodical,
presentation = presentation,
presentation = presentation,
prop_cats = prop_cats,
prop_cats = prop_cats,
stripmarkers = stripmarkers,
title_types = title_types,
title_types = title_types,
uncategorized_namespaces = uncategorized_namespaces,
uncategorized_namespaces = uncategorized_namespaces,
uncategorized_subpages = uncategorized_subpages,
uncategorized_subpages = uncategorized_subpages,
templates_using_volume = templates_using_volume,
templates_using_issue = templates_using_issue,
templates_not_using_page = templates_not_using_page,
}
}