Module:Citation/CS1/Configuration:修订间差异

求闻百科,共笔求闻
添加的内容 删除的内容
无编辑摘要
无编辑摘要
 

(未显示4个用户的6个中间版本)

第12行: 第12行:


]]
]]
local uncategorized_namespaces = { 'User', 'Talk', 'User_talk', 'Qiuwen_talk', 'File_talk', 'Template_talk', 'Help_talk', 'Category_talk', 'Draft', 'Draft_talk', 'Module_talk', 'MediaWiki_talk' };
local uncategorized_namespaces = { 'User', 'Talk', 'User_talk', 'Qiuwen_talk', 'File_talk', 'Template_talk',
'Help_talk', 'Category_talk', 'Addendum_talk', 'NEA_talk', 'Draft', 'Draft_talk',
'Module_talk', 'MediaWiki_talk' };


local uncategorized_subpages = {'/[Ss]andbox', '/[Tt]estcases'}; -- list of Lua patterns found in page names of pages we should not categorize
local uncategorized_subpages = {'/[Ss]andbox', '/[Tt]estcases'}; -- list of Lua patterns found in page names of pages we should not categorize
第28行: 第30行:
local messages = {
local messages = {
['_safe_for_italics'] = {'lay source'},
['_safe_for_italics'] = {'lay source'},
['archived-dead'] = '($1存档于$2)',
['archived-not-dead'] = '(原始内容$1于$2)',
['archived-missing'] = '(原始内容$1存档于$2)',
['archived-unfit'] = '原始内容存档于$1',
['archived'] = '存档',
['by'] = 'By', -- contributions to authored works: introduction, foreword, afterword
['by'] = 'By', -- contributions to authored works: introduction, foreword, afterword
['cartography'] = '$1(制图)',
['cartography'] = 'Cartography by $1',
['docket'] = 'Docket $1',
['docket'] = 'Docket $1',
['editor'] = '编',
['editor'] = '编',
第35行: 第43行:
['edition'] = ' $1',
['edition'] = ' $1',
['episode'] = '第$1集',
['episode'] = '第$1集',
['et al'] = '',
['et al'] = 'et al',
['in'] = '', -- edited works
['in'] = '()', -- edited works
['inactive'] = '不活跃',
['inactive'] = '不活跃',
['interview'] = ' $1 with $2',
['interview'] = ' $1 with $2',
第42行: 第50行:
['lay summary'] = '简明摘要',
['lay summary'] = '简明摘要',
['lay source'] = " – ''$1''",
['lay source'] = " – ''$1''",
['newsgroup'] = '[[新闻组]]$1',
['newsgroup'] = '[[Usenet newsgroup|Newsgroup]]: $1',
['original'] = '原始内容',
['original'] = '原始内容',
['orig year'] = ' [$1]',
['orig year'] = ' [$1]',
第54行: 第62行:
['thesis no type'] = '学位论文',
['thesis no type'] = '学位论文',
['translated'] = '由$1翻译',
['translated'] = '由$1翻译',
['type'] = '$1)', -- for titletype
['type'] = ' ($1)', -- for titletype
['written'] = ' 写于$1',
['written'] = ' 写于$1',


第90行: 第98行:
['help page label'] = '帮助',
['help page label'] = '帮助',
['maintenance-link'] = 'link',
['maintenance-link'] = 'link',
['maintenance-item'] = ' $1($2)'
['maintenance-item'] = ' $1 ($2)'
}
}


第273行: 第281行:
['Agency'] = 'agency',
['Agency'] = 'agency',
['AirDate'] = {'air-date', 'airdate'},
['AirDate'] = {'air-date', 'airdate'},
['ArchiveDate'] = {'archive-date', 'archivedate'},
['ArchiveFormat'] = 'archive-format',
['ArchiveURL'] = {'archive-url', 'archiveurl'},
['ASINTLD'] = {'ASIN-TLD', 'asin-tld'},
['ASINTLD'] = {'ASIN-TLD', 'asin-tld'},
['At'] = 'at',
['At'] = 'at',
第291行: 第302行:
['Contribution'] = 'contribution', -- introduction, foreword, afterword, etc; required when |contributor= set
['Contribution'] = 'contribution', -- introduction, foreword, afterword, etc; required when |contributor= set
['Date'] = 'date',
['Date'] = 'date',
['DeadURL'] = {'dead-url', 'deadurl','url-status','urlstatus'},
['Degree'] = 'degree',
['Degree'] = 'degree',
['DF'] = 'df',
['DF'] = 'df',
第402行: 第414行:
]]
]]


local defaults = {}
local defaults = {
['DeadURL'] = 'yes',
}




第430行: 第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-live'] = {'no', 'live'},
['deadurl-unfit'] = {'unfit', 'usurped'},
['mode'] = {'cs1', 'cs2'},
['mode'] = {'cs1', 'cs2'},
['name-list-format'] = {'vanc', 'amp', '&'},
['name-list-format'] = {'vanc', 'amp', '&'},
第563行: 第580行:


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


第592行: 第609行:
category = '含有访问日期但无网址的引用的页面',
category = '含有访问日期但无网址的引用的页面',
hidden = true },
hidden = true },
archive_missing_date = {
message = '使用<code style="'..code_style..'">&#124;archiveurl=</code>需要含有<code style="'..code_style..'">&#124;archivedate=</code>',
anchor = 'archive_missing_date',
category = '含有存档网址错误的引用的页面',
hidden = false },
archive_missing_url = {
message = '使用<code style="'..code_style..'">&#124;archiveurl=</code>需要含有<code style="'..code_style..'">&#124;url=</code>',
anchor = 'archive_missing_url',
category = '含有存档网址错误的引用的页面',
hidden = false },
arxiv_missing = {
arxiv_missing = {
message = '需要使用<code style="'..code_style..'">&#124;arxiv=</code>',
message = '需要使用<code style="'..code_style..'">&#124;arxiv=</code>',
第879行: 第906行:
hidden = false },
hidden = false },
wikilink_in_url = {
wikilink_in_url = {
message = '网址-内链冲突',
message = '网址-维基内链冲突',
anchor = 'wikilink_in_url',
anchor = 'wikilink_in_url',
category = '引文格式1错误:网址-内链冲突',
category = '引文格式1错误:网址-维基内链冲突',
hidden = false },
hidden = false },
}
}
第891行: 第918行:


parameters: a list of parameter aliases for this identifier
parameters: a list of parameter aliases for this identifier
link: 求闻百科 article name
link: Qiuwen article name
label: the alternate name to apply to link
label: the alternate name to apply to link
mode: 'manual' when there is a specific function in the code to handle the identifier;
mode: 'manual' when there is a specific function in the code to handle the identifier;
'external' for identifiers that link outside of 求闻百科;
'external' for identifiers that link outside of Qiuwen;
prefix: the first part of a url that will be concatenated with a second part which usually contains the identifier
zhwiki: the first part of a url that will be concatenated with a second part which usually contains the identifier
encode: true if uri should be percent encoded; otherwise false
encode: true if uri should be percent encoded; otherwise false
COinS: identifier link or keyword for use in COinS:
COinS: identifier link or keyword for use in COinS:
第987行: 第1,014行:
label = 'eISSN',
label = 'eISSN',
mode = 'manual',
mode = 'manual',
prefix = '',
prefix = '//www.worldcat.org/issn/',
COinS = 'rft.eissn',
COinS = 'rft.eissn',
encode = false,
encode = false,
第1,009行: 第1,036行:
label = 'ISBN',
label = 'ISBN',
mode = 'manual',
mode = 'manual',
prefix = '',
prefix = 'Special:BookSources/',
COinS = 'rft.isbn',
COinS = 'rft.isbn',
separator = '&nbsp;',
separator = '&nbsp;',
第1,015行: 第1,042行:
['ISMN'] = {
['ISMN'] = {
parameters = {'ismn', 'ISMN'},
parameters = {'ismn', 'ISMN'},
link = '国际标准音乐号',
link = 'International Standard Music Number',
label = 'ISMN',
label = 'ISMN',
mode = 'manual',
mode = 'manual',
第1,027行: 第1,054行:
label = 'ISSN',
label = 'ISSN',
mode = 'manual',
mode = 'manual',
prefix = '',
prefix = '//www.worldcat.org/issn/',
COinS = 'rft.issn',
COinS = 'rft.issn',
encode = false,
encode = false,
第1,078行: 第1,105行:
label = 'OCLC',
label = 'OCLC',
mode = 'manual',
mode = 'manual',
prefix = '',
prefix = '//www.worldcat.org/oclc/',
COinS = 'info:oclcnum',
COinS = 'info:oclcnum',
encode = true,
encode = true,