모듈:Citation/CS1/Configuration/sandbox: 두 판 사이의 차이

imported>Namoroka
편집 요약 없음
imported>Namoroka
m편집 요약 없음
14번째 줄: 14번째 줄:
]]
]]


citation_config.uncategorized_namespaces = { '사용자', '토론', '사용자토론',
citation_config.uncategorized_namespaces = { 'User', 'Talk', 'User_talk', 'Wikipedia_talk', 'File_talk', 'Template_talk',
'위키백과토론', '파일토론', '틀토론', '도움말', '도움말토론', '분류토론',
'Help_talk', 'Category_talk', 'Portal_talk', 'Book_talk', 'Draft', 'Draft_talk', 'Education_Program_talk',  
'들머리토론', '모듈토론', '미디어위키토론' };
'Module_talk', 'MediaWiki_talk' };


--[[--------------------------< M E S S A G E S >--------------------------------------------------------------
--[[--------------------------< M E S S A G E S >--------------------------------------------------------------
29번째 줄: 29번째 줄:


citation_config.messages = {
citation_config.messages = {
   ['published'] = '$1에 출판됨',
   ['published'] = 'published $1',
   ['lay summary'] = '요약문',
   ['lay summary'] = 'Lay summary',
   ['retrieved'] = '$1에 확인함',
   ['retrieved'] = 'Retrieved $1',
   ['inactive'] = '년 이후로 접속 불가',
   ['inactive'] = 'inactive',
   ['archived-dead'] = '$2에 $1에서 보존된 문서', -- Archived from $1 on $2
   ['archived-dead'] = 'Archived from $1 on $2',
   ['archived-not-dead'] = '$2에 $1', -- $1 from the original on $2
   ['archived-not-dead'] = '$1 from the original on $2',
   ['archived-missing'] = '$2에 원본$1에서 보존된 문서', -- Archived from the original$1 on $2
   ['archived-missing'] = 'Archived from the original$1 on $2',
   ['archived'] = '보존된 문서',
   ['archived'] = 'Archived',
   ['original'] = '원본 문서',
   ['original'] = 'the original',
   ['editor'] = '편집.',
   ['editor'] = 'ed.',
   ['editors'] = '편집.',  
   ['editors'] = 'eds.',  
   ['edition'] = '($1판)', -- 실제로 쓰이지 않음
   ['edition'] = '($1 ed.)',  
   ['episode'] = '에피소드',
   ['episode'] = 'episode',
   ['season'] = '시즌',  
   ['season'] = 'season',  
   ['series'] = '시리즈', -- 번역 수정? (총서)
   ['series'] = 'series',
   ['cartography'] = 'Cartography by $1',
   ['cartography'] = 'Cartography by $1',
   ['section'] = 'Section $1',
--  ['section'] = 'Section $1',
   ['section'] = '§ $1',
  ['sections'] = '§§ $1',
   ['inset'] = '$1 inset',
   ['inset'] = '$1 inset',
   ['written'] = '$1에서 작성',
   ['written'] = 'Written at $1',
   ['in'] = '',
   ['in'] = 'In',
   ['et al'] = '.',  
   ['et al'] = 'et al.',  
    
    
   ['subscription'] = '<span title="이 자료는 온라인 상에서 유료 구독을 해야만 확인할 수 있습니다." style="border-bottom:1px dotted; cursor:help; font-size:0.95em; font-size:90%; color:#555">(구독 필요)</span>' ..
   ['subscription'] = '<span style="font-size:0.95em; font-size:90%; color:#555">(subscription required (<span title="Sources are not required to be available online. Online sources do not have to be freely available. The site may require a paid subscription." style="border-bottom:1px dotted;cursor:help">help</span>))</span>' ..
   '[[분류:구독이 필요한 링크를 포함한 문서]]',  
   '[[Category:Pages containing links to subscription-only content]]',  
 
   ['registration']='<span title="이 자료는 해당 사이트에 가입을 해야만 확인할 수 있습니다." style="border-bottom:1px dotted; cursor:help; font-size:0.95em; font-size:90%; color:#555">(가입 필요)</span>' ..
   ['registration']='<span style="font-size:0.95em; font-size:90%; color:#555">(registration required (<span title="Sources are not required to be available online. Online sources do not have to be freely available. The site may require registration." style="border-bottom:1px dotted;cursor:help">help</span>))</span>' ..
   '[[분류:가입이 필요한 링크를 포함한 문서]]',
   '[[Category:Pages with login required references or sources]]',
    
    
   ['language'] = '($1)',  
   ['language'] = '(in $1)',  
   ['via'] = " &ndash; $1 제공",
   ['via'] = " &ndash; via $1",
   ['event'] = '에 발생',
   ['event'] = 'Event occurs at',
   ['minutes'] = '',  
   ['minutes'] = 'minutes in',  


   ['parameter-separator'] = ', ',
   ['parameter-separator'] = ', ',
   ['parameter-final-separator'] = ', ',
   ['parameter-final-separator'] = ', and ',
   ['parameter-pair-separator'] = ' ',
   ['parameter-pair-separator'] = ' and ',


   -- Determines the location of the help page
   -- Determines the location of the help page
   ['help page link'] = '위키백과:인용 오류 도움말',
   ['help page link'] = 'Help:CS1 errors',
   ['help page label'] = '도움말',
   ['help page label'] = 'help',
    
    
   -- Internal errors (should only occur if configuration is bad)
   -- Internal errors (should only occur if configuration is bad)
96번째 줄: 98번째 줄:
['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


['italic-title'] = "&#12298;$1&#12299;",  -- 이름만 이탤릭체임
['italic-title'] = "''$1''",
['single-bracket'] = '&#12296;$1&#12297;',  -- LOCAL
['italic-title2'] = "''$1''", -- LOCAL


['kern-left'] = '<span style="padding-left:0.2em;">$1</span>$2', -- spacing to use when title contains leading single or double quote mark
['kern-left'] = '<span style="padding-left:0.2em;">$1</span>$2', -- spacing to use when title contains leading single or double quote mark
109번째 줄: 109번째 줄:


['quoted-text'] = '<q>$1</q>', -- for wrapping |quote= content
['quoted-text'] = '<q>$1</q>', -- for wrapping |quote= content
['quoted-title'] = '&ldquo;$1&rdquo;',
['quoted-title'] = '"$1"',


['trans-italic-title'] = "&#91;''$1''&#93;",
['trans-italic-title'] = "&#91;''$1''&#93;",
122번째 줄: 122번째 줄:


citation_config.aliases = {
citation_config.aliases = {
['AccessDate'] = {'access-date', 'accessdate', '확인날짜', '확인일자'},
['AccessDate'] = {'access-date', 'accessdate'},
['Agency'] = {'agency', '통신사'},
['Agency'] = 'agency',
['AirDate'] = {'air-date', 'airdate', '방영날짜'},
['AirDate'] = {'air-date', 'airdate'},
['ArchiveDate'] = {'archive-date', 'archivedate', '보존날짜', '보존일자'},
['ArchiveDate'] = {'archive-date', 'archivedate'},
['ArchiveURL'] = {'archive-url', 'archiveurl', '보존url'},
['ArchiveURL'] = {'archive-url', 'archiveurl'},
['ASINTLD'] = {'ASIN-TLD', 'asin-tld'},
['ASINTLD'] = {'ASIN-TLD', 'asin-tld'},
['At'] = {'쪽기타', 'at'},
['At'] = 'at',
['Authors'] = {'authors', 'people', 'host', '인물'},
['Authors'] = {'authors', 'people', 'host'},
['AuthorFormat'] = {'author-format', 'authorformat'}, -- deprecated in favor of NameListFormat;
['AuthorFormat'] = {'author-format', 'authorformat'}, -- deprecated in favor of NameListFormat;
['AuthorSeparator'] = 'author-separator', -- deprecated
['AuthorSeparator'] = 'author-separator', -- deprecated
['AuthorNameSeparator'] = 'author-name-separator', -- deprecated
['AuthorNameSeparator'] = 'author-name-separator', -- deprecated
['BookTitle'] = {'book-title', 'booktitle'},
['BookTitle'] = {'book-title', 'booktitle'},
['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', 'entry', 'article', 'section'},
['ChapterFormat'] = {'chapter-format', '장형식'};
['ChapterFormat'] = 'chapter-format';
['ChapterLink'] = {'chapter-link', 'chapterlink'}, -- deprecated; remove after 1 January 2015?
['ChapterLink'] = {'chapter-link', 'chapterlink'}, -- deprecated; remove after 1 January 2015?
['ChapterURL'] = {'chapter-url', 'chapterurl', 'contribution-url', 'contributionurl', 'section-url', 'sectionurl', '장url'},
['ChapterURL'] = {'chapter-url', 'chapterurl', 'contribution-url', 'contributionurl', 'section-url', 'sectionurl'},
['City'] = {'city', '도시'}, -- cite interview
['City'] = 'city', -- cite interview
['Coauthors'] = {'coauthors', 'coauthor', '공저자'}, -- coauthor and coauthors are deprecated; remove after 1 January 2015?
['Coauthors'] = {'coauthors', 'coauthor'}, -- coauthor and coauthors are deprecated; remove after 1 January 2015?
['Conference'] = {'conference', 'event', '콘퍼런스', '컨퍼런스'},
['Conference'] = {'conference', 'event'},
['ConferenceURL'] = {'conference-url', 'conferenceurl', 'event-url', 'eventurl', '콘퍼런스url', '컨퍼런스url'},
['ConferenceURL'] = {'conference-url', 'conferenceurl', 'event-url', 'eventurl'},
['Date'] = {'date', '날짜', '일자', '작성일자', '발행일자'},
['Date'] = 'date',
['DeadURL'] = {'dead-url', 'deadurl', '깨진링크', '죽은링크', '깨진url', '죽은url'},
['DeadURL'] = {'dead-url', 'deadurl'},
['Degree'] = 'degree',
['Degree'] = 'degree',
['DisplayAuthors'] = {'display-authors', 'displayauthors', '저자표시'},
['DisplayAuthors'] = {'display-authors', 'displayauthors'},
['DisplayEditors'] = {'display-editors', 'displayeditors', '편집자표시'},
['DisplayEditors'] = {'display-editors', 'displayeditors'},
['Docket'] = 'docket',
['Docket'] = 'docket',
['DoiBroken'] = {'doi-broken', 'doi-broken-date', 'doi-inactive-date', 'DoiBroken', 'doi_brokendate', 'doi_inactivedate', 'doi_깨진날짜'},
['DoiBroken'] = {'doi-broken', 'doi-broken-date', 'doi-inactive-date', 'DoiBroken', 'doi_brokendate', 'doi_inactivedate'},
['Edition'] = {'edition', '판'},
['Edition'] = 'edition',
['Editors'] = {'editors', '편집자', '편집인'},
['Editors'] = 'editors',
['EditorFormat'] = {'editor-format', 'editorformat'}, -- deprecated in favor of NameListFormat;
['EditorFormat'] = {'editor-format', 'editorformat'}, -- deprecated in favor of NameListFormat;
['EditorSeparator'] = 'editor-separator', -- deprecated
['EditorSeparator'] = 'editor-separator', -- deprecated
['EditorNameSeparator'] = 'editor-name-separator', -- deprecated
['EditorNameSeparator'] = 'editor-name-separator', -- deprecated
['Embargo'] = {'Embargo', 'embargo', '엠바고'},
['Embargo'] = {'Embargo', 'embargo'},
['Encyclopedia'] = {'encyclopedia', 'encyclopaedia'}, -- this one only used by citation 수정 필요?
['Encyclopedia'] = {'encyclopedia', 'encyclopaedia'}, -- this one only used by citation
['Format'] = {'format', '형식', '포맷'},
['Format'] = 'format',
['ID'] = {'id', 'ID'},
['ID'] = {'id', 'ID'},
['IgnoreISBN'] = {'ignore-isbn-error', 'ignoreisbnerror', 'isbn오류무시'},
['IgnoreISBN'] = {'ignore-isbn-error', 'ignoreisbnerror'},
['Inset'] = 'inset',
['Inset'] = 'inset',
['Issue'] = {'issue', 'number', '호'},
['Issue'] = {'issue', 'number'},
['Language'] = {'language', 'in', '언어', '언어고리', '언어링크'},
['Language'] = {'language', 'in'},
['LastAuthorAmp'] = {'last-author-amp', 'lastauthoramp', '저자앰퍼샌드'},
['LastAuthorAmp'] = {'last-author-amp', 'lastauthoramp'},
['LayDate'] = {'lay-date', 'laydate', '요약문날짜'},
['LayDate'] = {'lay-date', 'laydate'},
['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
['MailingList'] = {'mailinglist', 'mailing-list'}, -- cite mailing list only
['MessageID'] = {'message-id', '메시지id'},
['Map'] = 'map', -- cite map only
['MapFormat'] = 'map-format', -- cite map only
['MapURL'] = {'mapurl', 'map-url'}, -- cite map only
['MessageID'] = 'message-id',
['Minutes'] = 'minutes',
['Minutes'] = 'minutes',
['Mode'] = {'mode', '모드'},
['Mode'] = 'mode',
['Month'] = {'month', '월', '달', '작성월', '발행월'}, -- deprecated; remove after 1 January 2015?
['Month'] = 'month', -- deprecated; remove after 1 January 2015?
['NameListFormat'] = {'name-list-format', 'author-format', 'authorformat', 'editor-format', 'editorformat', '이름형식'},
['NameListFormat'] = {'name-list-format', 'author-format', 'authorformat', 'editor-format', 'editorformat'},
['NameSeparator'] = 'name-separator', -- deprecated
['NameSeparator'] = 'name-separator', -- deprecated
['Network'] = 'network',
['Network'] = 'network',
['NoPP'] = {'no-pp', 'nopp', '쪽숨김'},
['NoPP'] = {'no-pp', 'nopp'},
['NoTracking'] = {'template-doc-demo', 'template doc demo', 'no-cat', 'nocat',  
['NoTracking'] = {'template-doc-demo', 'template doc demo', 'no-cat', 'nocat',  
'no-tracking', 'notracking', '분류없음'},
'no-tracking', 'notracking'},
['OrigYear'] = {'orig-year', 'origyear', '원본연도', '초판연도'},
['OrigYear'] = {'orig-year', 'origyear'},
['Others'] = {'others', 'interviewer', 'interviewers', '기타', '인터뷰어'},
['Others'] = {'others', 'interviewer', 'interviewers'},
['Page'] = {'p', 'page', '쪽', '페이지'},
['Page'] = {'p', 'page'},
['Pages'] = {'pp', 'pages', '페이지들'},
['Pages'] = {'pp', 'pages'},
['Periodical'] = {'journal', 'newspaper', 'magazine', 'work',
['Periodical'] = {'journal', 'newspaper', 'magazine', 'work',
'website',  'periodical', 'encyclopedia', 'encyclopaedia', 'dictionary',
'website',  'periodical', 'encyclopedia', 'encyclopaedia', 'dictionary'},
'저널', '뉴스', '잡지', '작품명', '웹사이트', '백과사전', '백과사전이름'},
['Place'] = {'place', 'location'},
['Place'] = {'place', 'location', '위치', '장소'},
['PPrefix'] = {'p-prefix', 'PPrefix'},
['PPrefix'] = {'p-prefix', 'PPrefix'},
['PPPrefix'] = {'pp-prefix', 'PPPrefix'},
['PPPrefix'] = {'pp-prefix', 'PPPrefix'},
['Program'] = {'program', '프로그램'}, -- cite interview
['Program'] = 'program', -- cite interview
['PostScript'] = {'postscript', '추신'},
['PostScript'] = 'postscript',
['PublicationDate'] = {'publicationdate', 'publication-date', '출판일자', '출판날짜'},
['PublicationDate'] = {'publicationdate', 'publication-date'},
['PublicationPlace'] = {'publication-place', 'publicationplace', '출판위치', '출판장소'},
['PublicationPlace'] = {'publication-place', 'publicationplace'},
['PublisherName'] = {'publisher', 'distributor', 'institution', 'newsgroup', '출판사', '뉴스그룹'},
['PublisherName'] = {'publisher', 'distributor', 'institution', 'newsgroup'},
['Quote'] = {'quote', 'quotation', '인용', '인용문'},
['Quote'] = {'quote', 'quotation'},
['Ref'] = {'ref', 'Ref'},
['Ref'] = {'ref', 'Ref'},
['RegistrationRequired'] = {'registration', '등록'},
['RegistrationRequired'] = 'registration',
['Scale'] = 'scale',
['Scale'] = 'scale',
-- ['ScriptTitle'] = 'script-title', -- LOCAL
['ScriptTitle'] = 'script-title',
['Section'] = 'section',
['Section'] = 'section',
['Season'] = {'season', '시즌'},
['Season'] = 'season',
['Sections'] = 'sections', -- cite map only
['Separator'] = 'separator', -- deprecated in favor of Mode
['Separator'] = 'separator', -- deprecated in favor of Mode
['Series'] = {'series', 'version', '시리즈', '총서'},
['Series'] = {'series', 'version'},
['SeriesSeparator'] = 'series-separator',
['SeriesSeparator'] = 'series-separator',
['SeriesLink'] = {'series-link', 'serieslink'},
['SeriesLink'] = {'series-link', 'serieslink'},
['SeriesNumber'] = {'series-number', 'series-no', 'seriesnumber', 'seriesno'},
['SeriesNumber'] = {'series-number', 'series-no', 'seriesnumber', 'seriesno'},
['Station'] = 'station',
['Station'] = 'station',
['SubscriptionRequired'] = {'subscription', '구독'},
['SubscriptionRequired'] = 'subscription',
['Time'] = 'time',
['Time'] = 'time',
['Time2'] = {'시간', '분'}, -- LOCAL
['TimeCaption'] = {'time-caption', 'timecaption'},
['TimeCaption'] = {'time-caption', 'timecaption'},
['Title'] = {'title', '제목'},
['Title'] = 'title',
['TitleLink'] = {'title-link', 'episode-link', 'titlelink', 'episodelink', '제목링크', '제목고리'},
['TitleLink'] = {'title-link', 'episode-link', 'titlelink', 'episodelink'},
['NoBracket'] = {'꺾쇠표없음', '이탤릭체'}, -- LOCAL
['TitleNote'] = 'department',
['TitleNote'] = 'department',
['TitleType'] = {'type', 'medium', '종류', '매체'},
['TitleType'] = {'type', 'medium'},
['TransChapter'] = {'trans-chapter', 'trans_chapter', '번역장'},
['TransChapter'] = {'trans-chapter', 'trans_chapter'},
['Transcript'] = 'transcript',
['Transcript'] = 'transcript',
['TranscriptURL'] = {'transcript-url', 'transcripturl'},
['TranscriptURL'] = {'transcript-url', 'transcripturl'},
['TransTitle'] = {'trans-title', 'trans_title', '번역제목'},
['TransTitle'] = {'trans-title', 'trans_title'},
['URL'] = {'url', 'URL'},
['URL'] = {'url', 'URL'},
['Via'] = {'via', '제공'},
['Via'] = 'via',
['Volume'] = {'volume', '권'},
['Volume'] = 'volume',
['Year'] = {'year', '연도', '연', '년', '년도'},
['Year'] = 'year',


['AuthorList-First'] = {"author#-first", "author-first#", "first#", "given#",
['AuthorList-First'] = {"author#-first", "author-first#",
"이름#"},
"first#", "given#"},
['AuthorList-Last'] = {"author#-last", "author-last#", "last#", "surname#", "Author#", "author#", "authors#", "subject#",
['AuthorList-Last'] = {"author#-last", "author-last#",  
"성#", "저자#", "대상#"},
"last#", "surname#", "Author#", "author#", "authors#", "subject#"},
['AuthorList-Link'] = {"author#-link", "author-link#", "author#link", "authorlink#", "subject-link#", "subject#link", "subject#-link", "subjectlink#",
['AuthorList-Link'] = {"author#-link", "author-link#",  
"저자고리#", "저자#고리", "저자링크#", "저자#링크", "대상고리#", "대상링크#", "대상#고리", "대상#링크",
"author#link", "authorlink#", "subject-link#", "subject#link", "subject#-link", "subjectlink#"},
"저자-고리#", "저자#-고리", "저자-링크#", "저자#-링크", "대상-고리#", "대상-링크#", "대상#-고리", "대상#-링크"},
['AuthorList-Mask'] = {"author#-mask", "author-mask#",  
['AuthorList-Mask'] = {"author#-mask", "author-mask#", "author#mask", "authormask#", "저자#-숨김", "저자-숨김#", "저자#숨김", "저자숨김#"},
"author#mask", "authormask#"},
['EditorList-First'] = {"editor#-first", "editor-first#", "editor#-given", "editor-given#", "EditorGiven#",
['EditorList-First'] = {"editor#-first",  
"편집자#-성", "편집자-성#", "편집자성#", "편집자#성" },
"editor-first#", "editor#-given", "editor-given#", "EditorGiven#"},
['EditorList-Last'] = {"editor#-last", "editor-last#", "editor#-surname", "editor-surname#", "EditorSurname#", "Editor#", "editor#", "editors#",
['EditorList-Last'] = {"editor#-last", "editor-last#",
"편집자#-이름", "편집자-이름#", "편집자이름#", "편집자#이름"},
"editor#-surname", "editor-surname#", "EditorSurname#", "Editor#", "editor#", "editors#"},
['EditorList-Link'] = {"editor#-link", "editor-link#", "editor#link", "editorlink#",
['EditorList-Link'] = {"editor#-link", "editor-link#",  
"편집자#-고리", "편집자-고리#", "편집자고리#", "편집자#고리", "편집자#-링크", "편집자-링크#", "편집자링크#", "편집자#링크"},
"editor#link", "editorlink#"},
['EditorList-Mask'] = {"editor#-mask", "editor-mask#",  
['EditorList-Mask'] = {"editor#-mask", "editor-mask#",  
"editor#mask", "editormask#"},
"editor#mask", "editormask#"},
248번째 줄: 249번째 줄:
citation_config.defaults = {
citation_config.defaults = {
['DeadURL'] = 'yes',
['DeadURL'] = 'yes',
['PPrefix'] = "",
['PPrefix'] = "p.&nbsp;",
['PPPrefix'] = "",
['PPPrefix'] = "pp.&nbsp;",
}
}


265번째 줄: 266번째 줄:
citation_config.error_conditions = {
citation_config.error_conditions = {
accessdate_missing_url = {
accessdate_missing_url = {
message = '<code style="'..code_style..'">&#124;확인날짜=</code><code style="'..code_style..'">&#124;url=</code>을 필요로 함',
message = '<code style="'..code_style..'">&#124;accessdate=</code> requires <code style="'..code_style..'">&#124;url=</code>',
anchor = 'accessdate_missing_url',
anchor = 'accessdate_missing_url',
category = '인용 오류 - URL 없이 확인날짜를 사용함',
category = 'Pages using citations with accessdate and no URL',
hidden = true },
hidden = true },
archive_missing_date = {
archive_missing_date = {
message = '<code style="'..code_style..'">&#124;보존url=</code><code style="'..code_style..'">&#124;보존날짜=</code>를 필요로 함',
message = '<code style="'..code_style..'">&#124;archiveurl=</code> requires <code style="'..code_style..'">&#124;archivedate=</code>',
anchor = 'archive_missing_date',
anchor = 'archive_missing_date',
category = '인용 오류 - 보존url',
category = 'Pages with archiveurl citation errors',
hidden = false },
hidden = false },
archive_missing_url = {
archive_missing_url = {
message = '<code style="'..code_style..'">&#124;보존url=</code><code style="'..code_style..'">&#124;url=</code>을 필요로 함',
message = '<code style="'..code_style..'">&#124;archiveurl=</code> requires <code style="'..code_style..'">&#124;url=</code>',
anchor = 'archive_missing_url',
anchor = 'archive_missing_url',
category = '인용 오류 - 보존url',
category = 'Pages with archiveurl citation errors',
hidden = false },
hidden = false },
bad_arxiv = {
bad_arxiv = {
message = '<code style="'..code_style..'">&#124;arxiv=</code> 값 확인 필요',
message = 'Check <code style="'..code_style..'">&#124;arxiv=</code> value',
anchor = 'bad_arxiv',
anchor = 'bad_arxiv',
category = '인용 오류 - arXiv',
category = 'CS1 errors: arXiv',
hidden = false },
hidden = false },
bad_asin = {
bad_asin = {
message = '<code style="'..code_style..'">&#124;asin=</code> 값 확인 필요',
message = 'Check <code style="'..code_style..'">&#124;asin=</code> value',
anchor = 'bad_asin',
anchor = 'bad_asin',
category ='인용 오류 - ASIN',
category ='CS1 errors: ASIN',
hidden = false },
hidden = false },
bad_authorlink = {
bad_authorlink = {
message = '<code style="'..code_style..'">&#124;저자고리=</code> 값 확인 필요',
message = 'Check <code style="'..code_style..'">&#124;authorlink=</code> value',
anchor = 'bad_authorlink',
anchor = 'bad_authorlink',
category = '인용 오류 - 저자고리',
category = 'CS1 errors: authorlink',
hidden = false },
hidden = false },
bad_date = {
bad_date = {
message = '다음 날짜 값 확인 필요: <code style="'..code_style..'">$1</code>',
message = 'Check date values in: <code style="'..code_style..'">$1</code>',
anchor = 'bad_date',
anchor = 'bad_date',
category = '인용 오류 - 날짜',
category = 'CS1 errors: dates',
hidden = true },
hidden = false },
bad_doi = {
bad_doi = {
message = '<code style="'..code_style..'">&#124;doi=</code> 값 확인 필요',
message = 'Check <code style="'..code_style..'">&#124;doi=</code> value',
anchor = 'bad_doi',
anchor = 'bad_doi',
category = '인용 오류 - DOI',
category = 'CS1 errors: DOI',
hidden = false },
hidden = false },
bad_isbn = {
bad_isbn = {
message = '<code style="'..code_style..'">&#124;isbn=</code> 값 확인 필요',
message = 'Check <code style="'..code_style..'">&#124;isbn=</code> value',
anchor = 'bad_isbn',
anchor = 'bad_isbn',
category = '인용 오류 - ISBN',
category = 'Pages with ISBN errors',
hidden = false },
hidden = false },
bad_issn = {
bad_issn = {
message = '<code style="'..code_style..'">&#124;issn=</code> 값 확인 필요',
message = 'Check <code style="'..code_style..'">&#124;issn=</code> value',
anchor = 'bad_issn',
anchor = 'bad_issn',
category = '인용 오류 - ISSN',
category = 'CS1 errors: ISSN',
hidden = false },
hidden = false },
bad_lccn = {
bad_lccn = {
message = '<code style="'..code_style..'">&#124;lccn=</code> 값 확인 필요',
message = 'Check <code style="'..code_style..'">&#124;lccn=</code> value',
anchor = 'bad_lccn',
anchor = 'bad_lccn',
category = '인용 오류 - LCCN',
category = 'CS1 errors: LCCN',
hidden = false },
hidden = false },
bad_message_id = {
bad_message_id = {
message = '<code style="'..code_style..'">&#124;메시지id=</code> 값 확인 필요',
message = 'Check <code style="'..code_style..'">&#124;message-id=</code> value',
anchor = 'bad_message_id',
anchor = 'bad_message_id',
category = '인용 오류 - 메시지id',
category = 'CS1 errors: message-id',
hidden = false },
hidden = false },
bad_ol = {
bad_ol = {
message = '<code style="'..code_style..'">&#124;ol=</code> 값 확인 필요',
message = 'Check <code style="'..code_style..'">&#124;ol=</code> value',
anchor = 'bad_ol',
anchor = 'bad_ol',
category = '인용 오류 - OL',
category = 'CS1 errors: OL',
hidden = false },
hidden = false },
bad_pmc = {
bad_pmc = {
message = '<code style="'..code_style..'">&#124;pmc=</code> 값 확인 필요',
message = 'Check <code style="'..code_style..'">&#124;pmc=</code> value',
anchor = 'bad_pmc',
anchor = 'bad_pmc',
category = '인용 오류 - PMC',
category = 'CS1 errors: PMC',
hidden = false },
hidden = false },
bad_pmid = {
bad_pmid = {
message = '<code style="'..code_style..'">&#124;pmid=</code> 값 확인 필요',
message = 'Check <code style="'..code_style..'">&#124;pmid=</code> value',
anchor = 'bad_pmid',
anchor = 'bad_pmid',
category = '인용 오류 - PMID',
category = 'CS1 errors: PMID',
hidden = false },
hidden = false },
bad_url = {
bad_url = {
message = '<code style="'..code_style..'">&#124;url=</code>은 스킴(<code style="'..code_style..'">http://</code> 등)을 포함하여야 함',
message = 'Check <code style="'..code_style..'">&#124;url=</code> scheme',
anchor = 'bad_url',
anchor = 'bad_url',
category = '인용 오류 - URL',
category = 'Pages with URL errors',
hidden = false },
hidden = false },
bare_url_missing_title = {
bare_url_missing_title = {
message = '$1은 제목을 필요로 함',
message = '$1 missing title',
anchor = 'bare_url_missing_title',
anchor = 'bare_url_missing_title',
category = '인용 오류 - 제목 없이 URL을 사용함',
category = 'Pages with citations having bare URLs',
hidden = false },
hidden = false },
chapter_ignored = {
chapter_ignored = {
message = '<code style="'..code_style..'">&#124;=</code>이 무시됨',
message = '<code style="'..code_style..'">&#124;chapter=</code> ignored',
anchor = 'chapter_ignored',
anchor = 'chapter_ignored',
category = '인용 오류 - 장이 무시됨',
category = 'CS1 errors: chapter ignored',
hidden = false },
hidden = false },
citation_missing_title = {
citation_missing_title = {
message = '<code style="'..code_style..'">&#124;제목=</code>이 없거나 비었음',
message = 'Missing or empty <code style="'..code_style..'">&#124;title=</code>',
anchor = 'citation_missing_title',
anchor = 'citation_missing_title',
category = '인용 오류 - 제목이 없음',
category = 'Pages with citations lacking titles',
hidden = false },
hidden = false },
cite_web_url = { -- this error applies to cite web and to cite podcast
cite_web_url = { -- this error applies to cite web and to cite podcast
message = '<code style="'..code_style..'">&#124;url=</code>이 없거나 비었음',
message = 'Missing or empty <code style="'..code_style..'">&#124;url=</code>',
anchor = 'cite_web_url',
anchor = 'cite_web_url',
category = '인용 오류 - URL이 없음',
category = 'Pages using web citations with no URL',
hidden = true },
hidden = true },
coauthors_missing_author = {
coauthors_missing_author = {
message = '<code style="'..code_style..'">&#124;공저자=</code><code style="'..code_style..'">&#124;저자=</code>를 필요로 함',
message = '<code style="'..code_style..'">&#124;coauthors=</code> requires <code style="'..code_style..'">&#124;author=</code>',
anchor = 'coauthors_missing_author',
anchor = 'coauthors_missing_author',
category = '인용 오류 - 저자 없이 공저자를 사용함',
category = 'CS1 errors: coauthors without author',
hidden = false },
hidden = false },
deprecated_params = {
deprecated_params = {
message = '더 이상 지원되지 않는 변수를 사용함',
message = 'Cite uses deprecated parameter <code style="'..code_style..'">&#124;$1=</code>',
anchor = 'deprecated_params',
anchor = 'deprecated_params',
category = '인용 오류 - 오래된 변수를 사용함',
category = 'Pages containing cite templates with deprecated parameters',
hidden = true },
hidden = true },
empty_citation = {
empty_citation = {
message = '인용 틀이 비었음',
message = 'Empty citation',
anchor = 'empty_citation',
anchor = 'empty_citation',
category = '인용 오류 - 인용 틀이 비었음',
category = 'Pages with empty citations',
hidden = false },
hidden = false },
extra_pages = {
extra_pages = {
message = '<code style="'..code_style..'">&#124;=</code><code style="'..code_style..'">&#124;쪽기타=</code>를 중복해서 사용함',
message = 'Extra <code style="'..code_style..'">&#124;pages=</code> or <code style="'..code_style..'">&#124;at=</code>',
anchor = 'extra_pages',
anchor = 'extra_pages',
category = '인용 오류 - 중복되는 쪽 변수 사용',
category = 'Pages with citations using conflicting page specifications',
hidden = false },
hidden = false },
first_missing_last = {
first_missing_last = {
message = '이름 목록에서 <code style="'..code_style..'">&#124;이름$2=</code>이(가) 있지만 <code style="'..code_style..'">&#124;$2=</code>이(가) 없음',
message = '<code style="'..code_style..'">&#124;first$2=</code> missing <code style="'..code_style..'">&#124;last$2=</code> in $1',
anchor = 'first_missing_last',
anchor = 'first_missing_last',
category = '인용 오류 - 저자 또는 편집자 없음',
category = 'CS1 errors: missing author or editor',
hidden = false },
hidden = false },
format_missing_url = {
format_missing_url = {
message = '<code style="'..code_style..'">&#124;$1=</code><code style="'..code_style..'">&#124;$2=</code>을 필요로 함',
message = '<code style="'..code_style..'">&#124;$1=</code> requires <code style="'..code_style..'">&#124;$2=</code>',
anchor = 'format_missing_url',
anchor = 'format_missing_url',
category = '인용 오류 - URL 없이 형식을 사용함',
category = 'Pages using citations with format and no URL',
hidden = true },
hidden = true },
implict_etal_editor = {
implict_etal_editor = {
message = '<code style="'..code_style..'">&#124;편집자표시=</code>가 필요함',
message = '<code style="'..code_style..'">&#124;displayeditors=</code> suggested',
anchor = 'displayeditors',
anchor = 'displayeditors',
category = '인용 오류 - 편집자표시가 필요함',
category = 'Pages using citations with old-style implicit et al. in editors',
hidden = true },
hidden = true },
invalid_param_val = {
invalid_param_val = {
message = '잘못된 값: <code style="'..code_style..'">&#124;$1=$2</code>',
message = 'Invalid <code style="'..code_style..'">&#124;$1=$2</code>',
anchor = 'invalid_param_val',
anchor = 'invalid_param_val',
category = '인용 오류 - 잘못된 모드',
category = 'CS1 errors: invalid parameter value',
hidden = false },
hidden = false },
missing_name = {
missing_name = {
message = '이름 목록에서 <code style="'..code_style..'">&#124;$2=</code>이(가) 없음',
message = 'Missing <code style="'..code_style..'">&#124;last$2=</code> in $1',
anchor = 'missing_name',
anchor = 'missing_name',
category = '인용 오류 - 저자 또는 편집자 없음',
category = 'CS1 errors: missing author or editor',
hidden = false },
hidden = false },
parameter_ignored = {
parameter_ignored = {
message = '지원되지 않는 변수 무시됨: <code style="'..code_style..'">&#124;$1=</code>',
message = 'Unknown parameter <code style="'..code_style..'">&#124;$1=</code> ignored',
anchor = 'parameter_ignored',
anchor = 'parameter_ignored',
category = '인용 오류 - 지원되지 않는 변수 무시됨',
category = 'Pages with citations using unsupported parameters',
hidden = true },
hidden = false },
parameter_ignored_suggest = {
parameter_ignored_suggest = {
message = '지원되지 않는 변수 무시됨: <code style="'..code_style..'">&#124;$1=</code> (추천: <code style="'..code_style..'">&#124;$2=</code>)',
message = 'Unknown parameter <code style="'..code_style..'">&#124;$1=</code> ignored (<code style="'..code_style..'">&#124;$2=</code> suggested)',
anchor = 'parameter_ignored_suggest',
anchor = 'parameter_ignored_suggest',
category = '인용 오류 - 지원되지 않는 변수 무시됨',
category = 'Pages with citations using unsupported parameters',
hidden = true },
hidden = false },
redundant_parameters = {
redundant_parameters = {
message = '필요 이상의 변수가 사용됨: $1',
message = 'More than one of $1 specified',
anchor = 'redundant_parameters',
anchor = 'redundant_parameters',
category = '인용 오류 - 필요 이상의 변수가 사용됨',
category = 'Pages with citations having redundant parameters',
hidden = false },
hidden = false },
text_ignored = {
text_ignored = {
message = '다음 글자 무시됨: "$1"',
message = 'Text "$1" ignored',
anchor = 'text_ignored',
anchor = 'text_ignored',
category = '인용 오류 - 이름 없는 변수가 사용됨',
category = 'Pages with citations using unnamed parameters',
hidden = false },
hidden = false },
trans_missing_chapter = {
trans_missing_chapter = {
message = '<code style="'..code_style..'">&#124;번역장=</code><code style="'..code_style..'">&#124;=</code>을 필요로 함',
message = '<code style="'..code_style..'">&#124;trans-chapter=</code> requires <code style="'..code_style..'">&#124;chapter=</code>',
anchor = 'trans_missing_chapter',
anchor = 'trans_missing_chapter',
category = '인용 오류 - 원본 없이 번역을 사용함',
category = 'Pages with citations using translated terms without the original',
hidden = false },
hidden = false },
trans_missing_title = {
trans_missing_title = {
message = '<code style="'..code_style..'">&#124;번역제목=</code><code style="'..code_style..'">&#124;제목=</code>을 필요로 함',
message = '<code style="'..code_style..'">&#124;trans-title=</code> requires <code style="'..code_style..'">&#124;title=</code>',
anchor = 'trans_missing_title',
anchor = 'trans_missing_title',
category = '인용 오류 - 원본 없이 번역을 사용함',
category = 'Pages with citations using translated terms without the original',
hidden = false },
vancouver = {
message = 'Vancouver style error',
anchor = 'vancouver',
category = 'CS1 errors: Vancouver style',
hidden = false },
hidden = false },
wikilink_in_url = {
wikilink_in_url = {
message = 'URL 제목에 위키 링크가 사용됨',
message = 'Wikilink embedded in URL title',
anchor = 'wikilink_in_url',
anchor = 'wikilink_in_url',
category = '인용 오류 - URL 제목에 위키 링크가 사용됨',
category = 'Pages with citations having wikilinks embedded in URL titles',
hidden = false },
hidden = false },
}
}
459번째 줄: 465번째 줄:
['ASIN'] = {
['ASIN'] = {
parameters = { 'asin', 'ASIN' },    
parameters = { 'asin', 'ASIN' },    
link = '아마존 표준 식별 번호',
link = 'Amazon Standard Identification Number',
label = 'ASIN',
label = 'ASIN',
mode = 'manual',
mode = 'manual',
478번째 줄: 484번째 줄:
['DOI'] = {
['DOI'] = {
parameters = { 'doi', 'DOI' },
parameters = { 'doi', 'DOI' },
link = '디지털 객체 식별자',
link = 'Digital object identifier',
label = 'doi',
label = 'doi',
mode = 'manual',
mode = 'manual',
488번째 줄: 494번째 줄:
['ISBN'] = {
['ISBN'] = {
parameters = {'isbn', 'ISBN', 'isbn13', 'ISBN13'},  
parameters = {'isbn', 'ISBN', 'isbn13', 'ISBN13'},  
link = '국제 표준 도서 번호',
link = 'International Standard Book Number',
label = 'ISBN',
label = 'ISBN',
mode = 'manual',
mode = 'manual',
497번째 줄: 503번째 줄:
['ISSN'] = {
['ISSN'] = {
parameters = {'issn', 'ISSN'},  
parameters = {'issn', 'ISSN'},  
link = '국제 표준 일련 번호',
link = 'International Standard Serial Number',
label = 'ISSN',
label = 'ISSN',
mode = 'manual',
mode = 'manual',
507번째 줄: 513번째 줄:
['JFM'] = {
['JFM'] = {
parameters = {'jfm', 'JFM'},  
parameters = {'jfm', 'JFM'},  
link = '첸트랄블라트 마트',
link = 'Jahrbuch über die Fortschritte der Mathematik',
label = 'JFM',
label = 'JFM',
mode = 'external',
mode = 'external',
517번째 줄: 523번째 줄:
['JSTOR'] = {
['JSTOR'] = {
parameters = {'jstor', 'JSTOR'},  
parameters = {'jstor', 'JSTOR'},  
link = '제이스토어',
link = 'JSTOR',
label = 'JSTOR',
label = 'JSTOR',
mode = 'external',
mode = 'external',
528번째 줄: 534번째 줄:
['LCCN'] = {
['LCCN'] = {
parameters = {'LCCN', 'lccn'},  
parameters = {'LCCN', 'lccn'},  
link = '미국 의회도서관 제어 번호',
link = 'Library of Congress Control Number',
label = 'LCCN',
label = 'LCCN',
mode = 'manual',
mode = 'manual',
538번째 줄: 544번째 줄:
['MR'] = {
['MR'] = {
parameters = {'MR', 'mr'},  
parameters = {'MR', 'mr'},  
link = '수학 리뷰',
link = 'Mathematical Reviews',
label = 'MR',
label = 'MR',
mode = 'external',
mode = 'external',
548번째 줄: 554번째 줄:
['OCLC'] = {
['OCLC'] = {
parameters = {'OCLC', 'oclc'},  
parameters = {'OCLC', 'oclc'},  
link = '온라인 컴퓨터 도서관 센터',
link = 'OCLC',
label = 'OCLC',
label = 'OCLC',
mode = 'external',
mode = 'external',
558번째 줄: 564번째 줄:
['OL'] = {
['OL'] = {
parameters = { 'ol', 'OL' },
parameters = { 'ol', 'OL' },
link = '오픈 라이브러리',
link = 'Open Library',
label = 'OL',
label = 'OL',
mode = 'manual',
mode = 'manual',
567번째 줄: 573번째 줄:
['OSTI'] = {
['OSTI'] = {
parameters = {'OSTI', 'osti'},  
parameters = {'OSTI', 'osti'},  
link = '미국 과학기술정보국',
link = 'Office of Scientific and Technical Information',
label = 'OSTI',
label = 'OSTI',
mode = 'external',
mode = 'external',
577번째 줄: 583번째 줄:
['PMC'] = {
['PMC'] = {
parameters = {'PMC', 'pmc'},  
parameters = {'PMC', 'pmc'},  
link = '펍메드 센트럴',
link = 'PubMed Central',
label = 'PMC',
label = 'PMC',
mode = 'manual', -- changed to support unlinking of PMC identifier when article is embargoed
mode = 'manual', -- changed to support unlinking of PMC identifier when article is embargoed
588번째 줄: 594번째 줄:
['PMID'] = {
['PMID'] = {
parameters = {'PMID', 'pmid'},  
parameters = {'PMID', 'pmid'},  
link = '펍메드',
link = 'PubMed Identifier',
label = 'PMID',
label = 'PMID',
mode = 'manual', -- changed from external manual to support PMID validation
mode = 'manual', -- changed from external manual to support PMID validation
598번째 줄: 604번째 줄:
['RFC'] = {
['RFC'] = {
parameters = {'RFC', 'rfc'},  
parameters = {'RFC', 'rfc'},  
link = 'RFC',
link = 'Request for Comments',
label = 'RFC',
label = 'RFC',
mode = 'external',
mode = 'external',
608번째 줄: 614번째 줄:
['SSRN'] = {
['SSRN'] = {
parameters = {'SSRN', 'ssrn'},  
parameters = {'SSRN', 'ssrn'},  
link = '사회 과학 연구 네트워크',
link = 'Social Science Research Network',
label = 'SSRN',
label = 'SSRN',
mode = 'external',
mode = 'external',
618번째 줄: 624번째 줄:
['USENETID'] = {
['USENETID'] = {
parameters = {'message-id'},
parameters = {'message-id'},
link = '유즈넷',
link = 'Usenet',
label = 'Usenet:',
label = 'Usenet:',
mode = 'manual',
mode = 'manual',
628번째 줄: 634번째 줄:
['ZBL'] = {
['ZBL'] = {
parameters = {'ZBL', 'zbl'},  
parameters = {'ZBL', 'zbl'},  
link = '첸트랄블라트 마트',
link = 'Zentralblatt MATH',
label = 'Zbl',
label = 'Zbl',
mode = 'external',
mode = 'external',
637번째 줄: 643번째 줄:
},
},
}
}
 
return citation_config;
return citation_config;

2015년 3월 22일 (일) 19:14 판

이 모듈에 대한 설명문서는 모듈:Citation/CS1/Configuration/sandbox/설명문서에서 만들 수 있습니다


citation_config = {};

-- override <code>...</code> styling to remove color, border, and padding.  <code> css is specified here:
-- https://git.wikimedia.org/blob/mediawiki%2Fcore.git/69cd73811f7aadd093050dbf20ed70ef0b42a713/skins%2Fcommon%2FcommonElements.css#L199
local code_style="color:inherit; border:inherit; padding:inherit;";

--[[--------------------------< U N C A T E G O R I Z E D _ N A M E S P A C E S >------------------------------

List of namespaces that should not be included in citation error categories.  Same as setting notracking = true by default

Note: Namespace names should use underscores instead of spaces.

]]

citation_config.uncategorized_namespaces = { 'User', 'Talk', 'User_talk', 'Wikipedia_talk', 'File_talk', 'Template_talk',
	'Help_talk', 'Category_talk', 'Portal_talk', 'Book_talk', 'Draft', 'Draft_talk', 'Education_Program_talk', 
	'Module_talk', 'MediaWiki_talk' };

--[[--------------------------< M E S S A G E S >--------------------------------------------------------------

Translation table

The following contains fixed text that may be output as part of a citation.
This is separated from the main body to aid in future translations of this
module.

]]

citation_config.messages = {
  ['published'] = 'published $1',
  ['lay summary'] = 'Lay summary',
  ['retrieved'] = 'Retrieved $1',
  ['inactive'] = 'inactive',
  ['archived-dead'] = 'Archived from $1 on $2',
  ['archived-not-dead'] = '$1 from the original on $2',
  ['archived-missing'] = 'Archived from the original$1 on $2',
  ['archived'] = 'Archived',
  ['original'] = 'the original',
  ['editor'] = 'ed.',
  ['editors'] = 'eds.', 
  ['edition'] = '($1 ed.)', 
  ['episode'] = 'episode',
  ['season'] = 'season', 
  ['series'] = 'series',
  ['cartography'] = 'Cartography by $1',
--  ['section'] = 'Section $1',
  ['section'] = '§ $1',
  ['sections'] = '§§ $1',
  ['inset'] = '$1 inset',
  ['written'] = 'Written at $1',
  ['in'] = 'In',
  ['et al'] = 'et al.', 
  
  ['subscription'] = '<span style="font-size:0.95em; font-size:90%; color:#555">(subscription required (<span title="Sources are not required to be available online. Online sources do not have to be freely available. The site may require a paid subscription." style="border-bottom:1px dotted;cursor:help">help</span>))</span>' ..
  	'[[Category:Pages containing links to subscription-only content]]', 

  ['registration']='<span style="font-size:0.95em; font-size:90%; color:#555">(registration required (<span title="Sources are not required to be available online. Online sources do not have to be freely available. The site may require registration." style="border-bottom:1px dotted;cursor:help">help</span>))</span>' ..
  	'[[Category:Pages with login required references or sources]]',
  
  ['language'] = '(in $1)', 
  ['via'] = " &ndash; via $1",
  ['event'] = 'Event occurs at',
  ['minutes'] = 'minutes in', 

  ['parameter-separator'] = ', ',
  ['parameter-final-separator'] = ', and ',
  ['parameter-pair-separator'] = ' and ',

  -- Determines the location of the help page
  ['help page link'] = 'Help:CS1 errors',
  ['help page label'] = 'help',
  
  -- Internal errors (should only occur if configuration is bad)
  ['undefined_error'] = 'Called with an undefined error condition',
  ['unknown_manual_ID'] = 'Unrecognized manual ID mode',
  ['unknown_ID_mode'] = 'Unrecognized ID mode',
  ['unknown_argument_map'] = 'Argument map not defined for this variable',
  ['bare_url_no_origin'] = 'Bare url found but origin indicator is nil or empty',
}

--[[--------------------------< P R E S E N T A T I O N >------------------------------------------------------

Fixed presentation markup.  Originally part of citation_config.messages it has been moved into its own, more semantically
correct place.

]]
citation_config.presentation = 
	{
	-- Error output
	-- .error class is specified at https://git.wikimedia.org/blob/mediawiki%2Fcore.git/9553bd02a5595da05c184f7521721fb1b79b3935/skins%2Fcommon%2Fshared.css#L538
	-- .citation-comment class is specified at Help:CS1_errors#Controlling_error_message_display
	['hidden-error'] = '<span style="display:none;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">$1$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

	['italic-title'] = "''$1''",

	['kern-left'] = '<span style="padding-left:0.2em;">$1</span>$2',			-- spacing to use when title contains leading single or double quote mark
	['kern-right'] = '$1<span style="padding-right:0.2em;">$2</span>',			-- spacing to use when title contains trailing single or double quote mark

	['nowrap1'] = '<span class="nowrap">$1</span>',								-- for nowrapping an item: <span ...>yyyy-mm-dd</span>
	['nowrap2'] = '<span class="nowrap">$1</span> $2',							-- for nowrapping portions of an item: <span ...>dd mmmm</span> yyyy (note white space)
	
	['parameter'] = '<code style="'..code_style..'">&#124;$1=</code>',

	['quoted-text'] = '<q>$1</q>',												-- for wrapping |quote= content
	['quoted-title'] = '"$1"',

	['trans-italic-title'] = "&#91;''$1''&#93;",
	['trans-quoted-title'] = "&#91;$1&#93;",
	}

--[[--------------------------< A L I A S E S >----------------------------------------------------------------

Aliases table for commonly passed parameters

]]

citation_config.aliases = {
	['AccessDate'] = {'access-date', 'accessdate'},
	['Agency'] = 'agency',
	['AirDate'] = {'air-date', 'airdate'},
	['ArchiveDate'] = {'archive-date', 'archivedate'},
	['ArchiveURL'] = {'archive-url', 'archiveurl'},
	['ASINTLD'] = {'ASIN-TLD', 'asin-tld'},
	['At'] = 'at',
	['Authors'] = {'authors', 'people', 'host'},
	['AuthorFormat'] = {'author-format', 'authorformat'},						-- deprecated in favor of NameListFormat;
	['AuthorSeparator'] = 'author-separator',									-- deprecated
	['AuthorNameSeparator'] = 'author-name-separator',							-- deprecated
	['BookTitle'] = {'book-title', 'booktitle'},
	['Callsign'] = {'call-sign', 'callsign'},									-- cite interview
	['Cartography'] = 'cartography',
	['Chapter'] = {'chapter', 'contribution', 'entry', 'article', 'section'},
	['ChapterFormat'] = 'chapter-format';
	['ChapterLink'] = {'chapter-link', 'chapterlink'},							-- deprecated; remove after 1 January 2015?
	['ChapterURL'] = {'chapter-url', 'chapterurl', 'contribution-url', 'contributionurl', 'section-url', 'sectionurl'},
	['City'] = 'city',															-- cite interview
	['Coauthors'] = {'coauthors', 'coauthor'},									-- coauthor and coauthors are deprecated; remove after 1 January 2015?
	['Conference'] = {'conference', 'event'},
	['ConferenceURL'] = {'conference-url', 'conferenceurl', 'event-url', 'eventurl'},
	['Date'] = 'date',
	['DeadURL'] = {'dead-url', 'deadurl'},
	['Degree'] = 'degree',
	['DisplayAuthors'] = {'display-authors', 'displayauthors'},
	['DisplayEditors'] = {'display-editors', 'displayeditors'},
	['Docket'] = 'docket',
	['DoiBroken'] = {'doi-broken', 'doi-broken-date', 'doi-inactive-date', 'DoiBroken', 'doi_brokendate', 'doi_inactivedate'},
	['Edition'] = 'edition',
	['Editors'] = 'editors',
	['EditorFormat'] = {'editor-format', 'editorformat'},						-- deprecated in favor of NameListFormat;
	['EditorSeparator'] = 'editor-separator',									-- deprecated
	['EditorNameSeparator'] = 'editor-name-separator',							-- deprecated
	['Embargo'] = {'Embargo', 'embargo'},
	['Encyclopedia'] = {'encyclopedia', 'encyclopaedia'},						-- this one only used by citation
	['Format'] = 'format',
	['ID'] = {'id', 'ID'},
	['IgnoreISBN'] = {'ignore-isbn-error', 'ignoreisbnerror'},
	['Inset'] = 'inset',
	['Issue'] = {'issue', 'number'},
	['Language'] = {'language', 'in'},
	['LastAuthorAmp'] = {'last-author-amp', 'lastauthoramp'},
	['LayDate'] = {'lay-date', 'laydate'},
	['LaySource'] = {'lay-source', 'laysource'},
	['LayURL'] = {'lay-url', 'lay-summary', 'layurl', 'laysummary'},
	['MailingList'] = {'mailinglist', 'mailing-list'},							-- cite mailing list only
	['Map'] = 'map',															-- cite map only
	['MapFormat'] = 'map-format',												-- cite map only
	['MapURL'] = {'mapurl', 'map-url'},											-- cite map only
	['MessageID'] = 'message-id',
	['Minutes'] = 'minutes',
	['Mode'] = 'mode',
	['Month'] = 'month',														-- deprecated; remove after 1 January 2015?
	['NameListFormat'] = {'name-list-format', 'author-format', 'authorformat', 'editor-format', 'editorformat'},
	['NameSeparator'] = 'name-separator',										-- deprecated
	['Network'] = 'network',
	['NoPP'] = {'no-pp', 'nopp'},
	['NoTracking'] = {'template-doc-demo', 'template doc demo', 'no-cat', 'nocat', 
		'no-tracking', 'notracking'},
	['OrigYear'] = {'orig-year', 'origyear'},
	['Others'] = {'others', 'interviewer', 'interviewers'},
	['Page'] = {'p', 'page'},
	['Pages'] = {'pp', 'pages'},
	['Periodical'] = {'journal', 'newspaper', 'magazine', 'work',
		'website',  'periodical', 'encyclopedia', 'encyclopaedia', 'dictionary'},
	['Place'] = {'place', 'location'},
	['PPrefix'] = {'p-prefix', 'PPrefix'},
	['PPPrefix'] = {'pp-prefix', 'PPPrefix'},
	['Program'] = 'program',													-- cite interview
	['PostScript'] = 'postscript',
	['PublicationDate'] = {'publicationdate', 'publication-date'},
	['PublicationPlace'] = {'publication-place', 'publicationplace'},
	['PublisherName'] = {'publisher', 'distributor', 'institution', 'newsgroup'},
	['Quote'] = {'quote', 'quotation'},
	['Ref'] = {'ref', 'Ref'},
	['RegistrationRequired'] = 'registration',
	['Scale'] = 'scale',
	['ScriptTitle'] = 'script-title',
	['Section'] = 'section',
	['Season'] = 'season',
	['Sections'] = 'sections',													-- cite map only
	['Separator'] = 'separator',												-- deprecated in favor of Mode
	['Series'] = {'series', 'version'},
	['SeriesSeparator'] = 'series-separator',
	['SeriesLink'] = {'series-link', 'serieslink'},
	['SeriesNumber'] = {'series-number', 'series-no', 'seriesnumber', 'seriesno'},
	['Station'] = 'station',
	['SubscriptionRequired'] = 'subscription',
	['Time'] = 'time',
	['TimeCaption'] = {'time-caption', 'timecaption'},
	['Title'] = 'title',
	['TitleLink'] = {'title-link', 'episode-link', 'titlelink', 'episodelink'},
	['TitleNote'] = 'department',
	['TitleType'] = {'type', 'medium'},
	['TransChapter'] = {'trans-chapter', 'trans_chapter'},
	['Transcript'] = 'transcript',
	['TranscriptURL'] = {'transcript-url', 'transcripturl'},
	['TransTitle'] = {'trans-title', 'trans_title'},
	['URL'] = {'url', 'URL'},
	['Via'] = 'via',
	['Volume'] = 'volume',
	['Year'] = 'year',

	['AuthorList-First'] = {"author#-first", "author-first#",
		"first#", "given#"},
	['AuthorList-Last'] = {"author#-last", "author-last#", 
		"last#", "surname#", "Author#", "author#", "authors#", "subject#"},
	['AuthorList-Link'] = {"author#-link", "author-link#", 
		"author#link", "authorlink#", "subject-link#", "subject#link", "subject#-link", "subjectlink#"},
	['AuthorList-Mask'] = {"author#-mask", "author-mask#", 
		"author#mask", "authormask#"},
	
	['EditorList-First'] = {"editor#-first", 
		"editor-first#", "editor#-given", "editor-given#", "EditorGiven#"},
	['EditorList-Last'] = {"editor#-last", "editor-last#",
		"editor#-surname", "editor-surname#", "EditorSurname#", "Editor#", "editor#", "editors#"},
	['EditorList-Link'] = {"editor#-link", "editor-link#", 
		"editor#link", "editorlink#"},
	['EditorList-Mask'] = {"editor#-mask", "editor-mask#", 
		"editor#mask", "editormask#"},
	
}

-- Default parameter values
citation_config.defaults = {
	['DeadURL'] = 'yes',
	['PPrefix'] = "p.&nbsp;",
	['PPPrefix'] = "pp.&nbsp;",	
}

--[[--------------------------< E R R O R _ C O N D I T I O N S >----------------------------------------------
Error condition table

The following contains a list of IDs for various error conditions defined in the 
code.  For each ID, we specify a text message to display, an error category to
include, and whether the error message should be wrapped as a hidden comment.

Anchor changes require identical changes to matching anchor in Help:CS1 errors

]]

citation_config.error_conditions = {
	accessdate_missing_url = {
		message = '<code style="'..code_style..'">&#124;accessdate=</code> requires <code style="'..code_style..'">&#124;url=</code>',
		anchor = 'accessdate_missing_url',
		category = 'Pages using citations with accessdate and no URL',
		hidden = true },
	archive_missing_date = {
		message = '<code style="'..code_style..'">&#124;archiveurl=</code> requires <code style="'..code_style..'">&#124;archivedate=</code>',
		anchor = 'archive_missing_date',
		category = 'Pages with archiveurl citation errors',
		hidden = false },
	archive_missing_url = {
		message = '<code style="'..code_style..'">&#124;archiveurl=</code> requires <code style="'..code_style..'">&#124;url=</code>',
		anchor = 'archive_missing_url',
		category = 'Pages with archiveurl citation errors',
		hidden = false },
	bad_arxiv = {
		message = 'Check <code style="'..code_style..'">&#124;arxiv=</code> value',
		anchor = 'bad_arxiv',
		category = 'CS1 errors: arXiv',
		hidden = false },
	bad_asin = {
		message = 'Check <code style="'..code_style..'">&#124;asin=</code> value',
		anchor = 'bad_asin',
		category ='CS1 errors: ASIN',
		hidden = false },
	bad_authorlink = {
		message = 'Check <code style="'..code_style..'">&#124;authorlink=</code> value',
		anchor = 'bad_authorlink',
		category = 'CS1 errors: authorlink',
		hidden = false },
	bad_date = {
		message = 'Check date values in: <code style="'..code_style..'">$1</code>',
		anchor = 'bad_date',
		category = 'CS1 errors: dates',
		hidden = false },
	bad_doi = {
		message = 'Check <code style="'..code_style..'">&#124;doi=</code> value',
		anchor = 'bad_doi',
		category = 'CS1 errors: DOI',
		hidden = false },
	bad_isbn = {
		message = 'Check <code style="'..code_style..'">&#124;isbn=</code> value',
		anchor = 'bad_isbn',
		category = 'Pages with ISBN errors',
		hidden = false },
	bad_issn = {
		message = 'Check <code style="'..code_style..'">&#124;issn=</code> value',
		anchor = 'bad_issn',
		category = 'CS1 errors: ISSN',
		hidden = false },
	bad_lccn = {
		message = 'Check <code style="'..code_style..'">&#124;lccn=</code> value',
		anchor = 'bad_lccn',
		category = 'CS1 errors: LCCN',
		hidden = false },
	bad_message_id = {
		message = 'Check <code style="'..code_style..'">&#124;message-id=</code> value',
		anchor = 'bad_message_id',
		category = 'CS1 errors: message-id',
		hidden = false },
	bad_ol = {
		message = 'Check <code style="'..code_style..'">&#124;ol=</code> value',
		anchor = 'bad_ol',
		category = 'CS1 errors: OL',
		hidden = false },
	bad_pmc = {
		message = 'Check <code style="'..code_style..'">&#124;pmc=</code> value',
		anchor = 'bad_pmc',
		category = 'CS1 errors: PMC',
		hidden = false },
	bad_pmid = {
		message = 'Check <code style="'..code_style..'">&#124;pmid=</code> value',
		anchor = 'bad_pmid',
		category = 'CS1 errors: PMID',
		hidden = false },
	bad_url = {
		message = 'Check <code style="'..code_style..'">&#124;url=</code> scheme',
		anchor = 'bad_url',
		category = 'Pages with URL errors',
		hidden = false },
	bare_url_missing_title = {
		message = '$1 missing title',
		anchor = 'bare_url_missing_title',
		category = 'Pages with citations having bare URLs',
		hidden = false },
	chapter_ignored = {
		message = '<code style="'..code_style..'">&#124;chapter=</code> ignored',
		anchor = 'chapter_ignored',
		category = 'CS1 errors: chapter ignored',
		hidden = false },
	citation_missing_title = {
		message = 'Missing or empty <code style="'..code_style..'">&#124;title=</code>',
		anchor = 'citation_missing_title',
		category = 'Pages with citations lacking titles',
		hidden = false },
	cite_web_url = {															-- this error applies to cite web and to cite podcast
		message = 'Missing or empty <code style="'..code_style..'">&#124;url=</code>',
		anchor = 'cite_web_url',
		category = 'Pages using web citations with no URL',
		hidden = true },
	coauthors_missing_author = {
		message = '<code style="'..code_style..'">&#124;coauthors=</code> requires <code style="'..code_style..'">&#124;author=</code>',
		anchor = 'coauthors_missing_author',
		category = 'CS1 errors: coauthors without author',
		hidden = false },
	deprecated_params = {
		message = 'Cite uses deprecated parameter <code style="'..code_style..'">&#124;$1=</code>',
		anchor = 'deprecated_params',
		category = 'Pages containing cite templates with deprecated parameters',
		hidden = true },
	empty_citation = {
		message = 'Empty citation',
		anchor = 'empty_citation',
		category = 'Pages with empty citations',
		hidden = false },
	extra_pages = {
		message = 'Extra <code style="'..code_style..'">&#124;pages=</code> or <code style="'..code_style..'">&#124;at=</code>',
		anchor = 'extra_pages',
		category = 'Pages with citations using conflicting page specifications',
		hidden = false },
	first_missing_last = {
		message = '<code style="'..code_style..'">&#124;first$2=</code> missing <code style="'..code_style..'">&#124;last$2=</code> in $1',
		anchor = 'first_missing_last',
		category = 'CS1 errors: missing author or editor',
		hidden = false },
	format_missing_url = {
		message = '<code style="'..code_style..'">&#124;$1=</code> requires <code style="'..code_style..'">&#124;$2=</code>',
		anchor = 'format_missing_url',
		category = 'Pages using citations with format and no URL',
		hidden = true },
	implict_etal_editor = {
		message = '<code style="'..code_style..'">&#124;displayeditors=</code> suggested',
		anchor = 'displayeditors',
		category = 'Pages using citations with old-style implicit et al. in editors',
		hidden = true },
	invalid_param_val = {
		message = 'Invalid <code style="'..code_style..'">&#124;$1=$2</code>',
		anchor = 'invalid_param_val',
		category = 'CS1 errors: invalid parameter value',
		hidden = false },
	missing_name = {
		message = 'Missing <code style="'..code_style..'">&#124;last$2=</code> in $1',
		anchor = 'missing_name',
		category = 'CS1 errors: missing author or editor',
		hidden = false },
	parameter_ignored = {
		message = 'Unknown parameter <code style="'..code_style..'">&#124;$1=</code> ignored',
		anchor = 'parameter_ignored',
		category = 'Pages with citations using unsupported parameters',
		hidden = false },
	parameter_ignored_suggest = {
		message = 'Unknown parameter <code style="'..code_style..'">&#124;$1=</code> ignored (<code style="'..code_style..'">&#124;$2=</code> suggested)',
		anchor = 'parameter_ignored_suggest',
		category = 'Pages with citations using unsupported parameters',
		hidden = false },
	redundant_parameters = {
		message = 'More than one of $1 specified',
		anchor = 'redundant_parameters',
		category = 'Pages with citations having redundant parameters',
		hidden = false },
	text_ignored = {
		message = 'Text "$1" ignored',
		anchor = 'text_ignored',
		category = 'Pages with citations using unnamed parameters',
		hidden = false },
	trans_missing_chapter = {
		message = '<code style="'..code_style..'">&#124;trans-chapter=</code> requires <code style="'..code_style..'">&#124;chapter=</code>',
		anchor = 'trans_missing_chapter',
		category = 'Pages with citations using translated terms without the original',
		hidden = false },
	trans_missing_title = {
		message = '<code style="'..code_style..'">&#124;trans-title=</code> requires <code style="'..code_style..'">&#124;title=</code>',
		anchor = 'trans_missing_title',
		category = 'Pages with citations using translated terms without the original',
		hidden = false },
	vancouver = {
		message = 'Vancouver style error',
		anchor = 'vancouver',
		category = 'CS1 errors: Vancouver style',
		hidden = false },
	wikilink_in_url = {
		message = 'Wikilink embedded in URL title',
		anchor = 'wikilink_in_url',
		category = 'Pages with citations having wikilinks embedded in URL titles',
		hidden = false },
}

citation_config.id_handlers = {
	['ARXIV'] = {
		parameters = {'arxiv', 'ARXIV'}, 
		link = 'arXiv',
		label = 'arXiv',
		mode = 'manual',
		prefix = '//arxiv.org/abs/', 						-- protocol relative tested 2013-09-04
		encode = false,
		COinS = 'info:arxiv',
		separator = ':',
	},
	['ASIN'] = {
		parameters = { 'asin', 'ASIN' },	   
		link = 'Amazon Standard Identification Number',
		label = 'ASIN',
		mode = 'manual',
		COinS = 'info:asin',
		separator = '&nbsp;',
		encode = false;
	},
	['BIBCODE'] = {
		parameters = {'bibcode', 'BIBCODE'}, 
		link = 'Bibcode',
		label = 'Bibcode',
		mode = 'external',
		prefix = 'http://adsabs.harvard.edu/abs/',
		encode = false,
		COinS = 'info:bibcode',
		separator = ':',
	},
	['DOI'] = {
		parameters = { 'doi', 'DOI' },
		link = 'Digital object identifier',
		label = 'doi',
		mode = 'manual',
		prefix = '//dx.doi.org/',
		COinS = 'info:doi',
		separator = ':',
		encode = true,
	},
	['ISBN'] = {
		parameters = {'isbn', 'ISBN', 'isbn13', 'ISBN13'}, 
		link = 'International Standard Book Number',
		label = 'ISBN',
		mode = 'manual',
		prefix = 'Special:BookSources/',
		COinS = 'rft.isbn',
		separator = '&nbsp;',
	},
	['ISSN'] = {
		parameters = {'issn', 'ISSN'}, 
		link = 'International Standard Serial Number',
		label = 'ISSN',
		mode = 'manual',
		prefix = '//www.worldcat.org/issn/',
		COinS = 'rft.issn',
		encode = false,
		separator = '&nbsp;',
	},
	['JFM'] = {
		parameters = {'jfm', 'JFM'}, 
		link = 'Jahrbuch über die Fortschritte der Mathematik',
		label = 'JFM',
		mode = 'external',
		prefix = '//zbmath.org/?format=complete&q=an:',
		COinS = 'rft.jfm',
		encode = true,
		separator = '&nbsp;',
	},
	['JSTOR'] = {
		parameters = {'jstor', 'JSTOR'}, 
		link = 'JSTOR',
		label = 'JSTOR',
		mode = 'external',
		prefix = '//www.jstor.org/stable/', 				-- protocol relative tested 2013-09-04
		COinS = 'rft.jstor',
--		encode = true,
		encode = false,
		separator = '&nbsp;',
	},
	['LCCN'] = {
		parameters = {'LCCN', 'lccn'}, 
		link = 'Library of Congress Control Number',
		label = 'LCCN',
		mode = 'manual',
		prefix = 'http://lccn.loc.gov/',
		COinS = 'rft.lccn',
		encode = false,
		separator = '&nbsp;',
	},
	['MR'] = {
		parameters = {'MR', 'mr'}, 
		link = 'Mathematical Reviews',
		label = 'MR',
		mode = 'external',
		prefix = '//www.ams.org/mathscinet-getitem?mr=', 	-- protocol relative tested 2013-09-04
		COinS = 'rft.mr',
		encode = true,
		separator = '&nbsp;',
	},
	['OCLC'] = {
		parameters = {'OCLC', 'oclc'}, 
		link = 'OCLC',
		label = 'OCLC',
		mode = 'external',
		prefix = '//www.worldcat.org/oclc/',
		COinS = 'info:oclcnum',
		encode = true,
		separator = '&nbsp;',
	},
	['OL'] = {
		parameters = { 'ol', 'OL' },
		link = 'Open Library',
		label = 'OL',
		mode = 'manual',
		COinS = 'info:olnum',
		separator = '&nbsp;',
		endode = true,
	},
	['OSTI'] = {
		parameters = {'OSTI', 'osti'}, 
		link = 'Office of Scientific and Technical Information',
		label = 'OSTI',
		mode = 'external',
		prefix = '//www.osti.gov/energycitations/product.biblio.jsp?osti_id=',	-- protocol relative tested 2013-09-04
		COinS = 'info:osti',
		encode = true,
		separator = '&nbsp;',
	},
	['PMC'] = {
		parameters = {'PMC', 'pmc'}, 
		link = 'PubMed Central',
		label = 'PMC',
		mode = 'manual',									-- changed to support unlinking of PMC identifier when article is embargoed
		prefix = '//www.ncbi.nlm.nih.gov/pmc/articles/PMC', 
		suffix = " ",
		COinS = 'info:pmc',
		encode = true,
		separator = '&nbsp;',
	},
	['PMID'] = {
		parameters = {'PMID', 'pmid'}, 
		link = 'PubMed Identifier',
		label = 'PMID',
		mode = 'manual',									-- changed from external manual to support PMID validation
		prefix = '//www.ncbi.nlm.nih.gov/pubmed/',
		COinS = 'info:pmid',
		encode = false,
		separator = '&nbsp;',
	},
	['RFC'] = {
		parameters = {'RFC', 'rfc'}, 
		link = 'Request for Comments',
		label = 'RFC',
		mode = 'external',
		prefix = '//tools.ietf.org/html/rfc',
		COinS = 'info:rfc',
		encode = false,
		separator = '&nbsp;',
	},
	['SSRN'] = {
		parameters = {'SSRN', 'ssrn'}, 
		link = 'Social Science Research Network',
		label = 'SSRN',
		mode = 'external',
		prefix = '//ssrn.com/abstract=', 					-- protocol relative tested 2013-09-04
		COinS = 'info:ssrn',
		encode = true,
		separator = '&nbsp;',
	},
	['USENETID'] = {
		parameters = {'message-id'},
		link = 'Usenet',
		label = 'Usenet:',
		mode = 'manual',
		prefix = 'news:',
		encode = false,
		COinS = 'info:usenet',
		separator = '&nbsp;',
	},
	['ZBL'] = {
		parameters = {'ZBL', 'zbl'}, 
		link = 'Zentralblatt MATH',
		label = 'Zbl',
		mode = 'external',
		prefix = '//zbmath.org/?format=complete&q=an:',
		COinS = 'info:zbl',
		encode = true,
		separator = '&nbsp;',
	},
}

return citation_config;

최근 바뀜

더 보기