Sửa đổi Mô đun:Citation/Configuration

Chú ý: Bạn chưa đăng nhập và địa chỉ IP của bạn sẽ hiển thị công khai khi lưu các sửa đổi.

Bạn có thể tham gia như người biên soạn chuyên nghiệp và lâu dài ở Bách khoa Toàn thư Việt Nam, bằng cách đăng ký và đăng nhập - IP của bạn sẽ không bị công khai và có thêm nhiều lợi ích khác.

Các sửa đổi có thể được lùi lại. Xin hãy kiểm tra phần so sánh bên dưới để xác nhận lại những gì bạn muốn làm, sau đó lưu thay đổi ở dưới để hoàn tất việc lùi lại sửa đổi.

Bản hiện tại Nội dung bạn nhập
Dòng 24: Dòng 24:
 
local messages = {
 
local messages = {
 
['agency'] = '$1 $2', -- $1 is sepc, $2 is agency
 
['agency'] = '$1 $2', -- $1 is sepc, $2 is agency
['archived-dead'] = 'Lưu trữ từ $1 $2',
+
['archived-dead'] = 'Archived from $1 on $2',
['archived-live'] = '$1 từ tài liệu gốc $2',
+
['archived-live'] = '$1 from the original on $2',
['archived-missing'] = 'Lưu trữ từ tài liệu gốc $1 $2',
+
['archived-missing'] = 'Archived from the original$1 on $2',
['archived-unfit'] = 'Lưu trữ từ tài liệu gốc ',
+
['archived-unfit'] = 'Archived from the original on ',
['archived'] = 'Lưu trữ',
+
['archived'] = 'Archived',
['by'] = 'Bởi', -- contributions to authored works: introduction, foreword, afterword
+
['by'] = 'By', -- contributions to authored works: introduction, foreword, afterword
['cartography'] = 'Bản đồ bởi $1',
+
['cartography'] = 'Cartography by $1',
['editor'] = 'bt.',
+
['editor'] = 'ed.',
['editors'] = 'bt.',
+
['editors'] = 'eds.',
['edition'] = '(lxb. $1)',
+
['edition'] = '($1 ed.)',
['episode'] = 'Tập $1',
+
['episode'] = 'Episode $1',
 
['et al'] = 'et al.',
 
['et al'] = 'et al.',
['in'] = 'Trong', -- edited works
+
['in'] = 'In', -- edited works
['inactive'] = 'không hoạt động',
+
['inactive'] = 'inactive',
 
['inset'] = '$1 inset',
 
['inset'] = '$1 inset',
['interview'] = 'Phỏng vấn bởi $1',
+
['interview'] = 'Interviewed by $1',
['lay summary'] = 'Tóm tắt',
+
['lay summary'] = 'Lay summary',
['newsgroup'] = '[[Usenet|Newsgroup]]: $1',
+
['newsgroup'] = '[[Usenet newsgroup|Newsgroup]]: $1',
['original'] = 'nguyên tác',
+
['original'] = 'the original',
 
['origyear'] = ' [$1]',
 
['origyear'] = ' [$1]',
['published'] = ' (xuất bản $1)',
+
['published'] = ' (published $1)',
['retrieved'] = 'Truy cập $1',
+
['retrieved'] = 'Retrieved $1',
['season'] = 'Mùa $1',
+
['season'] = 'Season $1',
 
['section'] = '§ $1',
 
['section'] = '§ $1',
 
['sections'] = '§§ $1',
 
['sections'] = '§§ $1',
 
['series'] = '$1 $2', -- $1 is sepc, $2 is series
 
['series'] = '$1 $2', -- $1 is sepc, $2 is series
['seriesnum'] = 'Tập $1',
+
['seriesnum'] = 'Series $1',
['translated'] = 'Dịch bởi $1',
+
['translated'] = 'Translated by $1',
 
['type'] = ' ($1)', -- for titletype
 
['type'] = ' ($1)', -- for titletype
['written'] = 'Viết tại $1',
+
['written'] = 'Written at $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{}
Dòng 64: Dòng 64:
 
['nopp'] = '$1 $2'; -- page(s) without prefix; $1 is sepc
 
['nopp'] = '$1 $2'; -- page(s) without prefix; $1 is sepc
  
['p-prefix'] = "$1 tr. $2", -- $1 is sepc
+
['p-prefix'] = "$1 p. $2", -- $1 is sepc
['pp-prefix'] = "$1 tr. $2", -- $1 is sepc
+
['pp-prefix'] = "$1 pp. $2", -- $1 is sepc
 
['j-page(s)'] = ': $1', -- same for page and pages
 
['j-page(s)'] = ': $1', -- same for page and pages
  
['sheet'] = '$1 Tờ $2', -- $1 is sepc
+
['sheet'] = '$1 Sheet $2', -- $1 is sepc
['sheets'] = '$1 Tờ $2', -- $1 is sepc
+
['sheets'] = '$1 Sheets $2', -- $1 is sepc
['j-sheet'] = ': Tờ $1',
+
['j-sheet'] = ': Sheet $1',
['j-sheets'] = ': Tờ $1',
+
['j-sheets'] = ': Sheets $1',
 
 
['language'] = '(trong $1)',
+
['language'] = '(in $1)',
['via'] = " – qua $1",
+
['via'] = " – via $1",
['event'] = 'Sự kiện tại',
+
['event'] = 'Event occurs at',
['minutes'] = 'phút trong',
+
['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
Dòng 105: Dòng 105:
 
"[;,]? *[\"']*%f[%a][Ee][Tt]%.? *[Aa][Ll][%.\"']*$", -- variations on the 'et al' theme
 
"[;,]? *[\"']*%f[%a][Ee][Tt]%.? *[Aa][Ll][%.\"']*$", -- variations on the 'et al' theme
 
"[;,]? *[\"']*%f[%a][Ee][Tt]%.? *[Aa][Ll][Ii][Aa][%.\"']*$", -- variations on the 'et alia' theme
 
"[;,]? *[\"']*%f[%a][Ee][Tt]%.? *[Aa][Ll][Ii][Aa][%.\"']*$", -- variations on the 'et alia' theme
"[;,]? *%f[%a][Kk]hác", -- and alternate to et al.
+
"[;,]? *%f[%a]and [Oo]thers", -- and alternate to et al.
 
"%[%[ *[Ee][Tt]%.? *[Aa][Ll]%.? *%]%]", -- a wikilinked form
 
"%[%[ *[Ee][Tt]%.? *[Aa][Ll]%.? *%]%]", -- a wikilinked form
 
"[%(%[] *[Ee][Tt]%.? *[Aa][Ll]%.? *[%)%]]", -- a bracketed form
 
"[%(%[] *[Ee][Tt]%.? *[Aa][Ll]%.? *[%)%]]", -- a bracketed form
Dòng 164: Dòng 164:
  
 
['ext-link-access-signal'] = '<span class="$1" title="$2">$3</span>', -- external link with appropriate lock icon
 
['ext-link-access-signal'] = '<span class="$1" title="$2">$3</span>', -- external link with appropriate lock icon
['free'] = {class='cs1-lock-free', title='Truy cập tự do'}, -- classes defined in Module:Citation/CS1/styles.css
+
['free'] = {class='cs1-lock-free', title='Freely accessible'}, -- classes defined in Module:Citation/CS1/styles.css
['registration'] = {class='cs1-lock-registration', title='Cần đăng ký miễn phí'},
+
['registration'] = {class='cs1-lock-registration', title='Free registration required'},
['limited'] = {class='cs1-lock-limited', title='Tự do truy cập thử, thường cần đăng ký trả tiền khi dùng lâu dài'},
+
['limited'] = {class='cs1-lock-limited', title='Free access subject to limited trial, subscription normally required'},
['subscription'] = {class='cs1-lock-subscription', title='Cần đăng ký trả tiền'},
+
['subscription'] = {class='cs1-lock-subscription', title='Paid subscription required'},
  
 
['interwiki-icon'] = '<span class="$1" title="$2">$3</span>',
 
['interwiki-icon'] = '<span class="$1" title="$2">$3</span>',
Dòng 219: Dòng 219:
  
 
local aliases = {
 
local aliases = {
['AccessDate'] = {'access-date', 'accessdate', 'ngày truy cập'}, -- Used by InternetArchiveBot
+
['AccessDate'] = {'access-date', 'accessdate'}, -- Used by InternetArchiveBot
 
['Agency'] = 'agency',
 
['Agency'] = 'agency',
['ArchiveDate'] = {'archive-date', 'archivedate', 'ngày lưu trữ'}, -- Used by InternetArchiveBot
+
['ArchiveDate'] = {'archive-date', 'archivedate'}, -- Used by InternetArchiveBot
 
['ArchiveFormat'] = 'archive-format',
 
['ArchiveFormat'] = 'archive-format',
['ArchiveURL'] = {'archive-url', 'archiveurl', 'url lưu trữ'}, -- Used by InternetArchiveBot
+
['ArchiveURL'] = {'archive-url', 'archiveurl'}, -- Used by InternetArchiveBot
 
['ASINTLD'] = 'asin-tld',
 
['ASINTLD'] = 'asin-tld',
 
['At'] = 'at', -- Used by InternetArchiveBot
 
['At'] = 'at', -- Used by InternetArchiveBot
['Authors'] = {'authors', 'people', 'credits', 'các tác giả'},
+
['Authors'] = {'authors', 'people', 'credits'},
 
['BookTitle'] = {'book-title', 'booktitle'},
 
['BookTitle'] = {'book-title', 'booktitle'},
 
['Cartography'] = 'cartography',
 
['Cartography'] = 'cartography',
['Chapter'] = {'chapter', 'contribution', 'entry', 'article', 'section', 'chương'},
+
['Chapter'] = {'chapter', 'contribution', 'entry', 'article', 'section'},
 
['ChapterFormat'] = {'chapter-format', 'contribution-format', 'entry-format', 'article-format', 'section-format'};
 
['ChapterFormat'] = {'chapter-format', 'contribution-format', 'entry-format', 'article-format', 'section-format'};
['ChapterURL'] = {'chapter-url', 'chapterurl', 'contribution-url', 'contributionurl', 'entry-url', 'article-url', 'section-url', 'sectionurl', 'url chương'}, -- Used by InternetArchiveBot
+
['ChapterURL'] = {'chapter-url', 'chapterurl', 'contribution-url', 'contributionurl', 'entry-url', 'article-url', 'section-url', 'sectionurl'}, -- Used by InternetArchiveBot
 
['ChapterUrlAccess'] = {'chapter-url-access', 'contribution-url-access', 'entry-url-access', 'article-url-access', 'section-url-access'}, -- Used by InternetArchiveBot
 
['ChapterUrlAccess'] = {'chapter-url-access', 'contribution-url-access', 'entry-url-access', 'article-url-access', 'section-url-access'}, -- Used by InternetArchiveBot
 
['Class'] = 'class', -- cite arxiv and arxiv identifiers
 
['Class'] = 'class', -- cite arxiv and arxiv identifiers
Dòng 238: Dòng 238:
 
['ConferenceFormat'] = {'conference-format', 'event-format'},
 
['ConferenceFormat'] = {'conference-format', 'event-format'},
 
['ConferenceURL'] = {'conference-url', 'conferenceurl', 'event-url', 'eventurl'}, -- Used by InternetArchiveBot
 
['ConferenceURL'] = {'conference-url', 'conferenceurl', 'event-url', 'eventurl'}, -- Used by InternetArchiveBot
['Date'] = {'date', 'air-date', 'airdate','ngày tháng', 'ngày'}, -- air-date and airdate for cite episode and cite serial only
+
['Date'] = {'date', 'air-date', 'airdate'}, -- air-date and airdate for cite episode and cite serial only
 
['Degree'] = 'degree',
 
['Degree'] = 'degree',
 
['DF'] = 'df',
 
['DF'] = 'df',
['DisplayAuthors'] = {'display-authors', 'displayauthors', 'số tác giả hiển thị'},
+
['DisplayAuthors'] = {'display-authors', 'displayauthors'},
 
['DisplayContributors'] = 'display-contributors',
 
['DisplayContributors'] = 'display-contributors',
['DisplayEditors'] = {'display-editors', 'displayeditors', 'số tác giả hiển thị'},
+
['DisplayEditors'] = {'display-editors', 'displayeditors'},
 
['DisplayInterviewers'] = 'display-interviewers',
 
['DisplayInterviewers'] = 'display-interviewers',
 
['DisplayTranslators'] = 'display-translators',
 
['DisplayTranslators'] = 'display-translators',
 
['Docket'] = 'docket',
 
['Docket'] = 'docket',
 
['DoiBroken'] = {'doi-broken', 'doi-broken-date', 'doi-inactive-date'},
 
['DoiBroken'] = {'doi-broken', 'doi-broken-date', 'doi-inactive-date'},
['Edition'] = {'edition', 'bản thứ'},
+
['Edition'] = 'edition',
 
['Editors'] = 'editors',
 
['Editors'] = 'editors',
 
['Embargo'] = 'embargo',
 
['Embargo'] = 'embargo',
 
['Encyclopedia'] = {'encyclopedia', 'encyclopaedia', 'dictionary'}, -- cite encyclopedia only
 
['Encyclopedia'] = {'encyclopedia', 'encyclopaedia', 'dictionary'}, -- 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', 'định dạng'},
+
['Format'] = 'format',
 
['ID'] = {'id', 'ID'},
 
['ID'] = {'id', 'ID'},
 
['IgnoreISBN'] = {'ignore-isbn-error', 'ignoreisbnerror'},
 
['IgnoreISBN'] = {'ignore-isbn-error', 'ignoreisbnerror'},
 
['Inset'] = 'inset',
 
['Inset'] = 'inset',
 
['Issue'] = {'issue', 'number'},
 
['Issue'] = {'issue', 'number'},
['Language'] = {'language', 'lang','ngôn ngữ'},
+
['Language'] = {'language', 'lang'},
 
['LastAuthorAmp'] = {'last-author-amp', 'lastauthoramp'},
 
['LastAuthorAmp'] = {'last-author-amp', 'lastauthoramp'},
 
['LayDate'] = {'lay-date', 'laydate'},
 
['LayDate'] = {'lay-date', 'laydate'},
Dòng 277: Dòng 277:
 
['NoTracking'] = {'template-doc-demo', 'no-cat', 'nocat', 'no-tracking', 'notracking'},
 
['NoTracking'] = {'template-doc-demo', 'no-cat', 'nocat', 'no-tracking', 'notracking'},
 
['Number'] = 'number', -- this case only for cite techreport
 
['Number'] = 'number', -- this case only for cite techreport
['OrigYear'] = {'orig-year', 'origyear','năm gốc'},
+
['OrigYear'] = {'orig-year', 'origyear'},
 
['Others'] = 'others',
 
['Others'] = 'others',
['Page'] = {'page', 'p','trang', 'tr'}, -- Used by InternetArchiveBot
+
['Page'] = {'page', 'p'}, -- Used by InternetArchiveBot
['Pages'] = {'pages', 'pp','các trang'}, -- Used by InternetArchiveBot
+
['Pages'] = {'pages', 'pp'}, -- Used by InternetArchiveBot
 
['Periodical'] = {'journal', 'magazine', 'newspaper', 'periodical', 'website', 'work'},
 
['Periodical'] = {'journal', 'magazine', 'newspaper', 'periodical', 'website', 'work'},
['Place'] = {'place', 'location','nơi','thành phố', 'vị trí', 'địa điểm'},
+
['Place'] = {'place', 'location'},
 
['PostScript'] = 'postscript',
 
['PostScript'] = 'postscript',
 
['PublicationDate'] = {'publication-date', 'publicationdate'},
 
['PublicationDate'] = {'publication-date', 'publicationdate'},
 
['PublicationPlace'] = {'publication-place', 'publicationplace'},
 
['PublicationPlace'] = {'publication-place', 'publicationplace'},
['PublisherName'] = {'publisher', 'institution','nhà xuất bản'},
+
['PublisherName'] = {'publisher', 'institution'},
['Quote'] = {'quote', 'quotation', 'trích dẫn'},
+
['Quote'] = {'quote', 'quotation'},
 
['Ref'] = 'ref',
 
['Ref'] = 'ref',
 
['Scale'] = 'scale',
 
['Scale'] = 'scale',
Dòng 294: Dòng 294:
 
['ScriptPeriodical'] = {'script-journal', 'script-magazine', 'script-newspaper', 'script-periodical', 'script-website', 'script-work'},
 
['ScriptPeriodical'] = {'script-journal', 'script-magazine', 'script-newspaper', 'script-periodical', 'script-website', 'script-work'},
 
['ScriptTitle'] = 'script-title', -- Used by InternetArchiveBot
 
['ScriptTitle'] = 'script-title', -- Used by InternetArchiveBot
['Season'] = {'season','mùa'},
+
['Season'] = 'season',
 
['Sections'] = 'sections', -- cite map only
 
['Sections'] = 'sections', -- cite map only
 
['Series'] = {'series', 'version'},
 
['Series'] = {'series', 'version'},
Dòng 305: Dòng 305:
 
['Time'] = 'time',
 
['Time'] = 'time',
 
['TimeCaption'] = {'time-caption', 'timecaption'},
 
['TimeCaption'] = {'time-caption', 'timecaption'},
['Title'] = {'title','tiêu đề', 'tựa đề', 'tên bài'}, -- Used by InternetArchiveBot
+
['Title'] = 'title', -- Used by InternetArchiveBot
 
['TitleLink'] = {'title-link', 'episode-link', 'titlelink', 'episodelink'}, -- Used by InternetArchiveBot
 
['TitleLink'] = {'title-link', 'episode-link', 'titlelink', 'episodelink'}, -- Used by InternetArchiveBot
 
['TitleNote'] = 'department',
 
['TitleNote'] = 'department',
Dòng 322: Dòng 322:
 
['Veditors'] = 'veditors',
 
['Veditors'] = 'veditors',
 
['Via'] = 'via',
 
['Via'] = 'via',
['Volume'] = {'volume','cuốn'},
+
['Volume'] = 'volume',
['Year'] = {'year','năm'},
+
['Year'] = 'year',
  
['AuthorList-First'] = {"first#", "author-first#", "author#-first", "given#", "tên#", "tên #"},
+
['AuthorList-First'] = {"first#", "author-first#", "author#-first", "given#"},
['AuthorList-Last'] = {"last#", "author-last#", "author#-last", "author#", "tác giả #", "surname#", "họ#", "họ #", "subject#", 'host#'},
+
['AuthorList-Last'] = {"last#", "author-last#", "author#-last", "author#", "surname#", "subject#", 'host#'},
['AuthorList-Link'] = {"author-link#", "author#-link", "authorlink#", "author#link", "subject-link#", "subject#-link", "subjectlink#", "subject#link","lk tác giả#","lk tác giả #"},
+
['AuthorList-Link'] = {"author-link#", "author#-link", "authorlink#", "author#link", "subject-link#", "subject#-link", "subjectlink#", "subject#link"},
 
['AuthorList-Mask'] = {"author-mask#", "author#-mask", "authormask#", "author#mask"},
 
['AuthorList-Mask'] = {"author-mask#", "author#-mask", "authormask#", "author#mask"},
 
 
Dòng 443: Dòng 443:
 
},
 
},
 
['local'] = { -- replace these English date names with the local language equivalents
 
['local'] = { -- replace these English date names with the local language equivalents
['long'] = {['tháng 1']=1, ['tháng 2']=2, ['tháng 3']=3, ['tháng 4']=4, ['tháng 5']=5, ['tháng 6']=6, ['tháng 7']=7, ['tháng 8']=8, ['tháng 9']=9, ['tháng 10']=10, ['tháng 11']=11, ['tháng 12']=12},
+
['long'] = {['January']=1, ['February']=2, ['March']=3, ['April']=4, ['May']=5, ['June']=6, ['July']=7, ['August']=8, ['September']=9, ['October']=10, ['November']=11, ['December']=12},
 
['short'] = {['Jan']=1, ['Feb']=2, ['Mar']=3, ['Apr']=4, ['May']=5, ['Jun']=6, ['Jul']=7, ['Aug']=8, ['Sep']=9, ['Oct']=10, ['Nov']=11, ['Dec']=12},
 
['short'] = {['Jan']=1, ['Feb']=2, ['Mar']=3, ['Apr']=4, ['May']=5, ['Jun']=6, ['Jul']=7, ['Aug']=8, ['Sep']=9, ['Oct']=10, ['Nov']=11, ['Dec']=12},
['quarter'] = {['quý 1']=33, ['quý 2']=34, ['quý 3']=35, ['quý 4']=36},
+
['quarter'] = {['First Quarter']=33, ['Second Quarter']=34, ['Third Quarter']=35, ['Fourth Quarter']=36},
['season'] = {['đông']=24,['mùa đông']=24, ['xuân']=21,['mùa xuân']=21, ['hạ']=22,['hè']=22,['mùa hè']=22,['mùa hạ']=22, ['thu']=23, ['mùa thu']=23},
+
['season'] = {['Winter']=24, ['Spring']=21, ['Summer']=22, ['Fall']=23, ['Autumn']=23},
['named'] = {['Phục sinh']=98, ['Giáng sinh']=99, ['Tết']=100},
+
['named'] = {['Easter']=98, ['Christmas']=99},
 
},
 
},
 
['inv_local_l'] = {}, -- used in date reformatting; copy of date_names['local'].long where k/v are inverted: [1]='<local name>' etc
 
['inv_local_l'] = {}, -- used in date reformatting; copy of date_names['local'].long where k/v are inverted: [1]='<local name>' etc
Dòng 467: Dòng 467:
 
end
 
end
  
--local df_template_patterns = { -- table of redirects to {{Use dmy dates}} and {{Use mdy dates}}
+
local df_template_patterns = { -- table of redirects to {{Use dmy dates}} and {{Use mdy dates}}
-- '{{ *[Uu]se (dmy) dates *[|}]', -- 915k -- sorted by approximate transclusion count
+
'{{ *[Uu]se (dmy) dates *[|}]', -- 915k -- sorted by approximate transclusion count
-- '{{ *[Uu]se *(mdy) *dates *[|}]', -- 161k
+
'{{ *[Uu]se *(mdy) *dates *[|}]', -- 161k
-- '{{ *[Uu]se (DMY) dates *[|}]', -- 2929
+
'{{ *[Uu]se (DMY) dates *[|}]', -- 2929
-- '{{ *[Uu]se *(dmy) *[|}]', -- 250 + 34
+
'{{ *[Uu]se *(dmy) *[|}]', -- 250 + 34
-- '{{ *([Dd]my) *[|}]', -- 272
+
'{{ *([Dd]my) *[|}]', -- 272
-- '{{ *[Uu]se (MDY) dates *[|}]', -- 173
+
'{{ *[Uu]se (MDY) dates *[|}]', -- 173
-- '{{ *[Uu]se *(mdy) *[|}]', -- 59 + 12
+
'{{ *[Uu]se *(mdy) *[|}]', -- 59 + 12
-- '{{ *([Mm]dy) *[|}]', -- 9
+
'{{ *([Mm]dy) *[|}]', -- 9
-- '{{ *[Uu]se (MDY) *[|}]', -- 3
+
'{{ *[Uu]se (MDY) *[|}]', -- 3
-- '{{ *([Dd]MY) *[|}]', -- 2
+
'{{ *([Dd]MY) *[|}]', -- 2
-- '{{ *([Mm]DY) *[|}]', -- 0
+
'{{ *([Mm]DY) *[|}]', -- 0
-- '{{ *(vdvmvy) *[|}]', -- 0
+
-- '{{ *[Uu]se(mdy) *[|}]',
-- '{{ *(dvmvy) *[|}]', -- 0
+
-- '{{ *[Uu]se(mdy)dates *[|}]',
---- '{{ *[Uu]se(mdy) *[|}]',
+
-- '{{ *[Uu]se(dmy) *[|}]',
---- '{{ *[Uu]se(mdy)dates *[|}]',
+
}
---- '{{ *[Uu]se(dmy) *[|}]',
 
-- }
 
  
--local function get_date_format ()
+
local function get_date_format ()
-- local content = mw.title.getCurrentTitle():getContent() or ''; -- get the content of the article or ''; new pages edited w/ve do not have 'content' until saved; ve does not preview; phab:T221625
+
local content = mw.title.getCurrentTitle():getContent() or ''; -- get the content of the article or ''; new pages edited w/ve do not have 'content' until saved; ve does not preview; phab:T221625
-- for _, pattern in ipairs (df_template_patterns) do -- loop through the patterns looking for {{Use dmy dates}} or {{Use mdy dates}} or any of their redirects
+
for _, pattern in ipairs (df_template_patterns) do -- loop through the patterns looking for {{Use dmy dates}} or {{Use mdy dates}} or any of their redirects
-- local start, _, match = content:find(pattern); -- match is the three letters indicating desired date format
+
local start, _, match = content:find(pattern); -- match is the three letters indicating desired date format
-- if match then
+
if match then
-- content = content:match ('%b{}', start); -- get the whole template
+
content = content:match ('%b{}', start); -- get the whole template
-- if content:match ('| *cs1%-dates *= *[lsy][sy]?') then -- look for |cs1-dates=publication date length access-/archive-date length
+
if content:match ('| *cs1%-dates *= *[lsy][sy]?') then -- look for |cs1-dates=publication date length access-/archive-date length
-- return match:lower() .. '-' .. content:match ('| *cs1%-dates *= *([lsy][sy]?)');
+
return match:lower() .. '-' .. content:match ('| *cs1%-dates *= *([lsy][sy]?)');
-- else
+
else
-- return match:lower() .. '-all'; -- no |cs1-dates= k/v pair; return value appropriate for use in |df=
+
return match:lower() .. '-all'; -- no |cs1-dates= k/v pair; return value appropriate for use in |df=
-- end
+
end
-- end
+
end
-- end
+
end
--end
+
end
 +
 
 +
local global_df = get_date_format ();
  
--local global_df = get_date_format ();
 
local global_df = 'vdvmvy-all';
 
  
 
--[[--------------------------< V O L U M E ,  I S S U E ,  P A G E S >----------------------------------------
 
--[[--------------------------< V O L U M E ,  I S S U E ,  P A G E S >----------------------------------------
Dòng 544: Dòng 542:
 
['dead'] = {'dead'}, -- url-status -- Used by InternetArchiveBot
 
['dead'] = {'dead'}, -- url-status -- Used by InternetArchiveBot
 
['dmy'] = {'dmy'}, -- df
 
['dmy'] = {'dmy'}, -- df
['vdvmvy'] = {'vdvmvy'}, -- df
 
['dvmvy'] = {'dvmvy'}, -- df
 
 
['dmy-all'] = {'dmy-all'}, -- df
 
['dmy-all'] = {'dmy-all'}, -- df
['vdvmvy-all'] = {'vdvmvy-all'}, -- df
 
['dvmvy-all'] = {'dvmvy-all'}, -- df
 
 
['foreword'] = {'foreword'}, -- contribution
 
['foreword'] = {'foreword'}, -- contribution
 
['free'] = {'free'}, -- url-access -- Used by InternetArchiveBot
 
['free'] = {'free'}, -- url-access -- Used by InternetArchiveBot
Dòng 634: Dòng 628:
 
['yes_true_y'] = make_keywords_list ({keywords.affirmative}),
 
['yes_true_y'] = make_keywords_list ({keywords.affirmative}),
 
['contribution'] = make_keywords_list ({keywords.afterword, keywords.foreword, keywords.introduction, keywords.preface}),
 
['contribution'] = make_keywords_list ({keywords.afterword, keywords.foreword, keywords.introduction, keywords.preface}),
['df'] = make_keywords_list ({keywords.dmy, keywords['dmy-all'], keywords.mdy, keywords['mdy-all'], keywords.ymd, keywords['ymd-all'], keywords.vdvmvy, keywords['vdvmvy-all'], keywords.dvmvy, keywords['dvmvy-all']}),
+
['df'] = make_keywords_list ({keywords.dmy, keywords['dmy-all'], keywords.mdy, keywords['mdy-all'], keywords.ymd, keywords['ymd-all']}),
 
-- ['df'] = make_keywords_list ({keywords.dmy, keywords['dmy-all'], keywords.mdy, keywords['mdy-all'], keywords.ymd, keywords['ymd-all'], keywords.yMd, keywords['yMd-all']}), -- not supported at en.wiki
 
-- ['df'] = make_keywords_list ({keywords.dmy, keywords['dmy-all'], keywords.mdy, keywords['mdy-all'], keywords.ymd, keywords['ymd-all'], keywords.yMd, keywords['yMd-all']}), -- not supported at en.wiki
 
['mode'] = make_keywords_list ({keywords.cs1, keywords.cs2}),
 
['mode'] = make_keywords_list ({keywords.cs1, keywords.cs2}),
Dòng 858: Dòng 852:
  
 
local title_types = {
 
local title_types = {
['AV-media-notes'] = 'Ghi chú truyền thông',
+
['AV-media-notes'] = 'Media notes',
['interview'] = 'Phỏng vấn',
+
['interview'] = 'Interview',
['mailinglist'] = 'Danh sách thư điện tử',
+
['mailinglist'] = 'Mailing list',
['map'] = 'Bản đồ',
+
['map'] = 'Map',
 
['podcast'] = 'Podcast',
 
['podcast'] = 'Podcast',
['pressrelease'] = 'Thông cáo báo chí',
+
['pressrelease'] = 'Press release',
['report'] = 'Báo cáo',
+
['report'] = 'Report',
['techreport'] = 'Báo cáo kỹ thuật',
+
['techreport'] = 'Technical report',
['thesis'] = 'Luận văn',
+
['thesis'] = 'Thesis',
 
}
 
}
  
Dòng 914: Dòng 908:
 
text message to display, an error category to include, and whether the error message should be wrapped as a hidden comment.
 
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:Lỗi chú thích
+
Anchor changes require identical changes to matching anchor in Help:CS1 errors
  
 
]]
 
]]
Dòng 920: Dòng 914:
 
local error_conditions = {
 
local error_conditions = {
 
accessdate_missing_url = {
 
accessdate_missing_url = {
message = 'Ngày truy cập cần <code class="cs1-code">&#124;url=</code>',
+
message = '<code class="cs1-code">&#124;access-date=</code> requires <code class="cs1-code">&#124;url=</code>',
 
anchor = 'accessdate_missing_url',
 
anchor = 'accessdate_missing_url',
 
category = 'Pages using citations with accessdate and no URL',
 
category = 'Pages using citations with accessdate and no URL',
Dòng 926: Dòng 920:
 
  },
 
  },
 
apostrophe_markup = {
 
apostrophe_markup = {
message = 'in đậm và in nghiêng không được chấp nhận trong: <code class="cs1-code">&#124;$1=</code>', -- $1 is parameter name
+
message = 'Italic or bold markup not allowed in: <code class="cs1-code">&#124;$1=</code>', -- $1 is parameter name
 
anchor = 'apostrophe_markup',
 
anchor = 'apostrophe_markup',
category = 'Lỗi chú thích mã sai',
+
category = 'CS1 errors: markup',
 
hidden = false
 
hidden = false
 
  },
 
  },
 
archive_missing_date = {
 
archive_missing_date = {
message = '<code class="cs1-code">&#124;archive-url=</code> cần <code class="cs1-code">&#124;archive-date=</code>',
+
message = '<code class="cs1-code">&#124;archive-url=</code> requires <code class="cs1-code">&#124;archive-date=</code>',
 
anchor = 'archive_missing_date',
 
anchor = 'archive_missing_date',
category = 'Trang có lỗi chú thích archiveurl',
+
category = 'Pages with archiveurl citation errors',
 
hidden = false
 
hidden = false
 
},
 
},
 
archive_missing_url = {
 
archive_missing_url = {
message = '<code class="cs1-code">&#124;archive-url=</code> cần <code class="cs1-code">&#124;url=</code>',
+
message = '<code class="cs1-code">&#124;archive-url=</code> requires <code class="cs1-code">&#124;url=</code>',
 
anchor = 'archive_missing_url',
 
anchor = 'archive_missing_url',
category = 'Trang có lỗi chú thích archiveurl',
+
category = 'Pages with archiveurl citation errors',
 
hidden = false
 
hidden = false
 
},
 
},
Dòng 946: Dòng 940:
 
message = '<code class="cs1-code">&#124;archive-url=</code> is malformed: $1', -- $1 is error message detail
 
message = '<code class="cs1-code">&#124;archive-url=</code> is malformed: $1', -- $1 is error message detail
 
anchor = 'archive_url',
 
anchor = 'archive_url',
category = 'Trang có lỗi chú thích archiveurl',
+
category = 'Pages with archiveurl citation errors',
 
hidden = false
 
hidden = false
 
},
 
},
Dòng 956: Dòng 950:
 
},
 
},
 
bad_arxiv = {
 
bad_arxiv = {
message = 'Kiểm tra <code class="cs1-code">&#124;arxiv=</code> value',
+
message = 'Check <code class="cs1-code">&#124;arxiv=</code> value',
 
anchor = 'bad_arxiv',
 
anchor = 'bad_arxiv',
category = 'Lỗi chú thích arXiv',
+
category = 'CS1 errors: arXiv',
 
hidden = false
 
hidden = false
 
},
 
},
 
bad_asin = {
 
bad_asin = {
message = 'Kiểm tra giá trị <code class="cs1-code">&#124;asin=</code>',
+
message = 'Check <code class="cs1-code">&#124;asin=</code> value',
 
anchor = 'bad_asin',
 
anchor = 'bad_asin',
category ='Lỗi chú thích ASIN',
+
category ='CS1 errors: ASIN',
 
hidden = false
 
hidden = false
 
},
 
},
 
bad_bibcode = {
 
bad_bibcode = {
message = 'Kiểm tra <code class="cs1-code">&#124;bibcode=</code> $1', -- $1 is error message detail
+
message = 'Check <code class="cs1-code">&#124;bibcode=</code> $1', -- $1 is error message detail
 
anchor = 'bad_bibcode',
 
anchor = 'bad_bibcode',
category = 'Lỗi chú thích bibcode',
+
category = 'CS1 errors: bibcode',
 
hidden = false
 
hidden = false
 
},
 
},
 
bad_biorxiv = {
 
bad_biorxiv = {
message = 'Kiểm tra giá trị <code class="cs1-code">&#124;biorxiv=</code>',
+
message = 'Check <code class="cs1-code">&#124;biorxiv=</code> value',
 
anchor = 'bad_biorxiv',
 
anchor = 'bad_biorxiv',
category = 'Lỗi chú thích bioRxiv',
+
category = 'CS1 errors: bioRxiv',
 
hidden = false
 
hidden = false
 
},
 
},
 
bad_citeseerx = {
 
bad_citeseerx = {
message = 'Kiểm tra giá trị <code class="cs1-code">&#124;citeseerx=</code>ư',
+
message = 'Check <code class="cs1-code">&#124;citeseerx=</code> value',
 
anchor = 'bad_citeseerx',
 
anchor = 'bad_citeseerx',
category = 'Lỗi chú thích citeseerx',
+
category = 'CS1 errors: citeseerx',
 
hidden = false
 
hidden = false
 
},
 
},
 
bad_date = {
 
bad_date = {
message = 'Kiểm tra ngày tháng ở: <code class="cs1-code">$1</code>', -- $1 is parameter name
+
message = 'Check date values in: <code class="cs1-code">$1</code>', -- $1 is parameter name
 
anchor = 'bad_date',
 
anchor = 'bad_date',
category = 'Lỗi chú thích ngày tháng',
+
category = 'CS1 errors: dates',
 
hidden = false
 
hidden = false
 
},
 
},
 
bad_doi = {
 
bad_doi = {
message = 'Kiểm tra giá trị <code class="cs1-code">&#124;doi=</code>',
+
message = 'Check <code class="cs1-code">&#124;doi=</code> value',
 
anchor = 'bad_doi',
 
anchor = 'bad_doi',
category = 'Lỗi chú thích DOI',
+
category = 'CS1 errors: DOI',
 
hidden = false
 
hidden = false
 
},
 
},
 
bad_hdl = {
 
bad_hdl = {
message = 'Kiểm tra giá trị <code class="cs1-code">&#124;hdl=</code>',
+
message = 'Check <code class="cs1-code">&#124;hdl=</code> value',
 
anchor = 'bad_hdl',
 
anchor = 'bad_hdl',
category = 'Lỗi chú thích HDL',
+
category = 'CS1 errors: HDL',
 
hidden = false
 
hidden = false
 
},
 
},
 
bad_isbn = {
 
bad_isbn = {
message = 'Kiểm tra giá trị <code class="cs1-code">&#124;isbn=</code>: $1', -- $1 is error message detail
+
message = 'Check <code class="cs1-code">&#124;isbn=</code> value: $1', -- $1 is error message detail
 
anchor = 'bad_isbn',
 
anchor = 'bad_isbn',
category = 'Lỗi chú thích ISBN',
+
category = 'CS1 errors: ISBN',
 
hidden = false
 
hidden = false
 
},
 
},
 
bad_ismn = {
 
bad_ismn = {
message = 'Kiểm tra giá trị <code class="cs1-code">&#124;ismn=</code>',
+
message = 'Check <code class="cs1-code">&#124;ismn=</code> value',
 
anchor = 'bad_ismn',
 
anchor = 'bad_ismn',
category = 'Lỗi chú thích ISMN',
+
category = 'CS1 errors: ISMN',
 
hidden = false
 
hidden = false
 
},
 
},
 
bad_issn = {
 
bad_issn = {
message = 'Kiểm tra giá trị <code class="cs1-code">&#124;$1issn=</code>', -- $1 is 'e' or '' for eissn or issn
+
message = 'Check <code class="cs1-code">&#124;$1issn=</code> value', -- $1 is 'e' or '' for eissn or issn
 
anchor = 'bad_issn',
 
anchor = 'bad_issn',
category = 'Lỗi chú thích ISSN',
+
category = 'CS1 errors: ISSN',
 
hidden = false
 
hidden = false
 
},
 
},
 
bad_jfm = {
 
bad_jfm = {
message = 'Kiểm tra giá trị <code class="cs1-code">&#124;jfm=</code>',
+
message = 'Check <code class="cs1-code">&#124;jfm=</code> value',
 
anchor = 'bad_jfm',
 
anchor = 'bad_jfm',
category = 'Lỗi chú thích JFM',
+
category = 'CS1 errors: JFM',
 
hidden = false
 
hidden = false
 
},
 
},
 
bad_lccn = {
 
bad_lccn = {
message = 'Kiểm tra giá trị <code class="cs1-code">&#124;lccn=</code>',
+
message = 'Check <code class="cs1-code">&#124;lccn=</code> value',
 
anchor = 'bad_lccn',
 
anchor = 'bad_lccn',
category = 'Lỗi chú thích LCCN',
+
category = 'CS1 errors: LCCN',
 
hidden = false
 
hidden = false
 
},
 
},
 
bad_usenet_id = {
 
bad_usenet_id = {
message = 'Kiểm tra giá trị <code class="cs1-code">&#124;message-id=</code>',
+
message = 'Check <code class="cs1-code">&#124;message-id=</code> value',
 
anchor = 'bad_message_id',
 
anchor = 'bad_message_id',
category = 'Lỗi chú thích message-id',
+
category = 'CS1 errors: message-id',
 
hidden = false
 
hidden = false
 
},
 
},
 
bad_mr = {
 
bad_mr = {
message = 'Kiểm tra giá trị <code class="cs1-code">&#124;mr=</code>',
+
message = 'Check <code class="cs1-code">&#124;mr=</code> value',
 
anchor = 'bad_mr',
 
anchor = 'bad_mr',
category = 'Lỗi chú thích MR',
+
category = 'CS1 errors: MR',
 
hidden = false
 
hidden = false
 
},
 
},
 
bad_ol = {
 
bad_ol = {
message = 'Kiểm tra giá trị <code class="cs1-code">&#124;ol=</code>',
+
message = 'Check <code class="cs1-code">&#124;ol=</code> value',
 
anchor = 'bad_ol',
 
anchor = 'bad_ol',
category = 'Lỗi chú thích OL',
+
category = 'CS1 errors: OL',
 
hidden = false
 
hidden = false
 
},
 
},
 
bad_paramlink = { -- for |title-link=, |author/editor/translator-link=, |series-link=, |episode-link=
 
bad_paramlink = { -- for |title-link=, |author/editor/translator-link=, |series-link=, |episode-link=
message = 'Kiểm tra giá trị <code class="cs1-code">&#124;$1=</code>', -- $1 is parameter name
+
message = 'Check <code class="cs1-code">&#124;$1=</code> value', -- $1 is parameter name
 
anchor = 'bad_paramlink',
 
anchor = 'bad_paramlink',
category = 'Lỗi chú thích tham số liên kết',
+
category = 'CS1 errors: parameter link',
 
hidden = false
 
hidden = false
 
},
 
},
 
bad_pmc = {
 
bad_pmc = {
message = 'Kiểm tra giá trị <code class="cs1-code">&#124;pmc=</code>',
+
message = 'Check <code class="cs1-code">&#124;pmc=</code> value',
 
anchor = 'bad_pmc',
 
anchor = 'bad_pmc',
category = 'Lỗi chú thích PMC',
+
category = 'CS1 errors: PMC',
 
hidden = false
 
hidden = false
 
},
 
},
 
bad_pmid = {
 
bad_pmid = {
message = 'Kiểm tra giá trị <code class="cs1-code">&#124;pmid=</code>',
+
message = 'Check <code class="cs1-code">&#124;pmid=</code> value',
 
anchor = 'bad_pmid',
 
anchor = 'bad_pmid',
category = 'Lỗi chú thích PMID',
+
category = 'CS1 errors: PMID',
 
hidden = false
 
hidden = false
 
},
 
},
 
bad_oclc = {
 
bad_oclc = {
message = 'Kiểm tra giá trị <code class="cs1-code">&#124;oclc=</code>',
+
message = 'Check <code class="cs1-code">&#124;oclc=</code> value',
 
anchor = 'bad_oclc',
 
anchor = 'bad_oclc',
category = 'Lỗi chú thích OCLC',
+
category = 'CS1 errors: OCLC',
 
hidden = false
 
hidden = false
 
},
 
},
 
bad_s2cid = {
 
bad_s2cid = {
message = 'Kiểm tra giá trị <code class="cs1-code">&#124;s2cid=</code>',
+
message = 'Check <code class="cs1-code">&#124;s2cid=</code> value',
 
anchor = 'bad_s2cid',
 
anchor = 'bad_s2cid',
category = 'Lỗi chú thích S2CID',
+
category = 'CS1 errors: S2CID',
 
hidden = false
 
hidden = false
 
},
 
},
 
bad_sbn = {
 
bad_sbn = {
message = 'Kiểm tra giá trị <code class="cs1-code">&#124;sbn=</code> : $1', -- $1 is error message detail
+
message = 'Check <code class="cs1-code">&#124;sbn=</code> value: $1', -- $1 is error message detail
 
anchor = 'bad_sbn',
 
anchor = 'bad_sbn',
category = 'Lỗi chú thích SBN',
+
category = 'CS1 errors: SBN',
 
hidden = false
 
hidden = false
 
},
 
},
 
bad_ssrn = {
 
bad_ssrn = {
message = 'Kiểm tra giá trị <code class="cs1-code">&#124;ssrn=</code>',
+
message = 'Check <code class="cs1-code">&#124;ssrn=</code> value',
 
anchor = 'bad_ssrn',
 
anchor = 'bad_ssrn',
category = 'Lỗi chú thích SSRN',
+
category = 'CS1 errors: SSRN',
 
hidden = false
 
hidden = false
 
},
 
},
 
bad_url = {
 
bad_url = {
message = 'Kiểm tra giá trị $1', -- $1 is parameter name
+
message = 'Check $1 value', -- $1 is parameter name
 
anchor = 'bad_url',
 
anchor = 'bad_url',
category = 'Trang có lỗi URL',
+
category = 'Pages with URL errors',
 
hidden = false
 
hidden = false
 
},
 
},
 
bad_zbl = {
 
bad_zbl = {
message = 'Kiểm tra giá trị <code class="cs1-code">&#124;zbl=</code>',
+
message = 'Check <code class="cs1-code">&#124;zbl=</code> value',
 
anchor = 'bad_zbl',
 
anchor = 'bad_zbl',
category = 'Lỗi chú thích ZBL',
+
category = 'CS1 errors: ZBL',
 
hidden = false
 
hidden = false
 
},
 
},
 
bare_url_missing_title = {
 
bare_url_missing_title = {
message = '$1 thiếu tiêu đề', -- $1 is parameter name
+
message = '$1 missing title', -- $1 is parameter name
 
anchor = 'bare_url_missing_title',
 
anchor = 'bare_url_missing_title',
category = 'Trang có URL trần',
+
category = 'Pages with citations having bare URLs',
 
hidden = false
 
hidden = false
 
},
 
},
 
biorxiv_missing = {
 
biorxiv_missing = {
message = 'Cần <code class="cs1-code">&#124;biorxiv=</code>',
+
message = '<code class="cs1-code">&#124;biorxiv=</code> required',
 
anchor = 'biorxiv_missing',
 
anchor = 'biorxiv_missing',
category = 'Lỗi chú thích bioRxiv', -- same as bad bioRxiv
+
category = 'CS1 errors: bioRxiv', -- same as bad bioRxiv
 
hidden = false
 
hidden = false
 
},
 
},
 
chapter_ignored = {
 
chapter_ignored = {
message = 'Bỏ qua <code class="cs1-code">&#124;$1=</code>', -- $1 is parameter name
+
message = '<code class="cs1-code">&#124;$1=</code> ignored', -- $1 is parameter name
 
anchor = 'chapter_ignored',
 
anchor = 'chapter_ignored',
category = 'Lỗi chú thích bỏ qua chương',
+
category = 'CS1 errors: chapter ignored',
 
hidden = false
 
hidden = false
 
},
 
},
 
citation_missing_title = {
 
citation_missing_title = {
message = 'Thiếu <code class="cs1-code">&#124;$1=</code>', -- $1 is parameter name
+
message = 'Missing or empty <code class="cs1-code">&#124;$1=</code>', -- $1 is parameter name
 
anchor = 'citation_missing_title',
 
anchor = 'citation_missing_title',
category = 'Lỗi chú thích thiếu tiêu đề',
+
category = 'Pages with citations lacking titles',
 
hidden = false
 
hidden = false
 
},
 
},
 
citeseerx_missing = {
 
citeseerx_missing = {
message = 'Cần <code class="cs1-code">&#124;citeseerx=</code>',
+
message = '<code class="cs1-code">&#124;citeseerx=</code> required',
 
anchor = 'citeseerx_missing',
 
anchor = 'citeseerx_missing',
category = 'Lỗi chú thích citeseerx', -- same as bad citeseerx
+
category = 'CS1 errors: citeseerx', -- same as bad citeseerx
 
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 = 'Thiếu <code class="cs1-code">&#124;url=</code>',
+
message = 'Missing or empty <code class="cs1-code">&#124;url=</code>',
 
anchor = 'cite_web_url',
 
anchor = 'cite_web_url',
category = 'Lỗi chú thích web thiếu URL',
+
category = 'Pages using web citations with no URL',
 
hidden = false
 
hidden = false
 
},
 
},
 
class_ignored = {
 
class_ignored = {
message = 'Bỏ qua <code class="cs1-code">&#124;class=</code>',
+
message = '<code class="cs1-code">&#124;class=</code> ignored',
 
anchor = 'class_ignored',
 
anchor = 'class_ignored',
category = 'Lỗi chú thích class',
+
category = 'CS1 errors: class',
 
hidden = false
 
hidden = false
 
},
 
},
 
contributor_ignored = {
 
contributor_ignored = {
message = 'Bỏ qua <code class="cs1-code">&#124;contributor=</code>',
+
message = '<code class="cs1-code">&#124;contributor=</code> ignored',
 
anchor = 'contributor_ignored',
 
anchor = 'contributor_ignored',
category = 'Lỗi chú thích tác giả',
+
category = 'CS1 errors: contributor',
 
hidden = false
 
hidden = false
 
},
 
},
Dòng 1.156: Dòng 1.150:
 
message = '<code class="cs1-code">&#124;contributor=</code> requires <code class="cs1-code">&#124;$1=</code>', -- $1 is parameter name
 
message = '<code class="cs1-code">&#124;contributor=</code> requires <code class="cs1-code">&#124;$1=</code>', -- $1 is parameter name
 
anchor = 'contributor_missing_required_param',
 
anchor = 'contributor_missing_required_param',
category = 'Lỗi chú thích tác giả',
+
category = 'CS1 errors: contributor',
 
hidden = false
 
hidden = false
 
},
 
},
Dòng 1.162: Dòng 1.156:
 
message = 'Cite uses deprecated parameter <code class="cs1-code">&#124;$1=</code>', -- $1 is parameter name
 
message = 'Cite uses deprecated parameter <code class="cs1-code">&#124;$1=</code>', -- $1 is parameter name
 
anchor = 'deprecated_params',
 
anchor = 'deprecated_params',
category = 'Lỗi chú thích tham số lỗi thời',
+
category = 'CS1 errors: deprecated parameters',
 
hidden = false
 
hidden = false
 
},
 
},
Dòng 1.168: Dòng 1.162:
 
message = '<code class="cs1-code">&#124;$1=</code> requires <code class="cs1-code">&#124;doi=</code>', -- $1 is parameter name
 
message = '<code class="cs1-code">&#124;$1=</code> requires <code class="cs1-code">&#124;doi=</code>', -- $1 is parameter name
 
anchor = 'doibroken_missing_doi',
 
anchor = 'doibroken_missing_doi',
category = 'Lỗi chú thích DOI',
+
category = 'CS1 errors: DOI',
 
hidden = false
 
hidden = false
 
},
 
},
Dòng 1.174: Dòng 1.168:
 
message = 'Empty citation',
 
message = 'Empty citation',
 
anchor = 'empty_citation',
 
anchor = 'empty_citation',
category = 'Trang thiếu chú thích',
+
category = 'Pages with empty citations',
 
hidden = false
 
hidden = false
 
},
 
},
 
etal = {
 
etal = {
message = 'Dùng et al. trong: <code class="cs1-code">&#124;$1=</code>', -- $1 is parameter name
+
message = 'Explicit use of et al. in: <code class="cs1-code">&#124;$1=</code>', -- $1 is parameter name
 
anchor = 'explicit_et_al',
 
anchor = 'explicit_et_al',
category = 'Lỗi chú thích dùng et al.',
+
category = 'CS1 errors: explicit use of et al.',
 
hidden = false
 
hidden = false
 
},
 
},
Dòng 1.186: Dòng 1.180:
 
message = '<code class="cs1-code">&#124;$1=</code> missing <code class="cs1-code">&#124;$2=</code>', -- $1 is first alias, $2 is matching last alias
 
message = '<code class="cs1-code">&#124;$1=</code> missing <code class="cs1-code">&#124;$2=</code>', -- $1 is first alias, $2 is matching last alias
 
anchor = 'first_missing_last',
 
anchor = 'first_missing_last',
category = 'Lỗi chú thích thiếu tên', -- author, contributor, editor, interviewer, translator
+
category = 'CS1 errors: missing name', -- author, contributor, editor, interviewer, translator
 
hidden = false
 
hidden = false
 
},
 
},
 
format_missing_url = {
 
format_missing_url = {
message = '<code class="cs1-code">&#124;$1=</code> cần <code class="cs1-code">&#124;$2=</code>', -- $1 is format parameter $2 is url parameter
+
message = '<code class="cs1-code">&#124;$1=</code> requires <code class="cs1-code">&#124;$2=</code>', -- $1 is format parameter $2 is url parameter
 
anchor = 'format_missing_url',
 
anchor = 'format_missing_url',
 
category = 'Pages using citations with format and no URL',
 
category = 'Pages using citations with format and no URL',
Dòng 1.196: Dòng 1.190:
 
},
 
},
 
invalid_param_val = {
 
invalid_param_val = {
message = '<code class="cs1-code">&#124;$1=$2</code> sai', -- $1 is parameter name $2 is paramter value
+
message = 'Invalid <code class="cs1-code">&#124;$1=$2</code>', -- $1 is parameter name $2 is paramter value
 
anchor = 'invalid_param_val',
 
anchor = 'invalid_param_val',
 
category = 'CS1 errors: invalid parameter value',
 
category = 'CS1 errors: invalid parameter value',
Dòng 1.202: Dòng 1.196:
 
},
 
},
 
invisible_char = {
 
invisible_char = {
message = '$1 trong $2 ở vị trí $3', -- $1 is invisible char $2 is parameter name $3 is position number
+
message = '$1 in $2 at position $3', -- $1 is invisible char $2 is parameter name $3 is position number
 
anchor = 'invisible_char',
 
anchor = 'invisible_char',
 
category = 'CS1 errors: invisible characters',
 
category = 'CS1 errors: invisible characters',
Dòng 1.208: Dòng 1.202:
 
},
 
},
 
missing_name = {
 
missing_name = {
message = 'Thiếu <code class="cs1-code">&#124;$1$2=</code>', -- $1 is modified NameList; $2 is enumerator
+
message = 'Missing <code class="cs1-code">&#124;$1$2=</code>', -- $1 is modified NameList; $2 is enumerator
 
anchor = 'missing_name',
 
anchor = 'missing_name',
 
category = 'CS1 errors: missing name', -- author, contributor, editor, interviewer, translator
 
category = 'CS1 errors: missing name', -- author, contributor, editor, interviewer, translator
Dòng 1.214: Dòng 1.208:
 
},
 
},
 
missing_periodical = {
 
missing_periodical = {
message = 'Trích dẫn $1 cần <code class="cs1-code">&#124;$2=</code>', -- $1 is cs1 template name; $2 is canonical periodical parameter name for cite $1
+
message = 'Cite $1 requires <code class="cs1-code">&#124;$2=</code>', -- $1 is cs1 template name; $2 is canonical periodical parameter name for cite $1
 
anchor = 'missing_periodical',
 
anchor = 'missing_periodical',
 
category = 'CS1 errors: missing periodical',
 
category = 'CS1 errors: missing periodical',
Dòng 1.220: Dòng 1.214:
 
},
 
},
 
missing_pipe = {
 
missing_pipe = {
message = 'Thiếu dấu gạch đứng ở: <code class="cs1-code">&#124;$1=</code>', -- $1 is parameter name
+
message = 'Missing pipe in: <code class="cs1-code">&#124;$1=</code>', -- $1 is parameter name
 
anchor = 'missing_pipe',
 
anchor = 'missing_pipe',
 
category = 'CS1 errors: missing pipe',
 
category = 'CS1 errors: missing pipe',
Dòng 1.232: Dòng 1.226:
 
},
 
},
 
param_has_ext_link = {
 
param_has_ext_link = {
message = 'Liên kết ngoài ở <code class="cs1-code">$1</code>', -- $1 is parameter name
+
message = 'External link in <code class="cs1-code">$1</code>', -- $1 is parameter name
 
anchor = 'param_has_ext_link',
 
anchor = 'param_has_ext_link',
 
category = 'CS1 errors: external links',
 
category = 'CS1 errors: external links',
Dòng 1.238: Dòng 1.232:
 
},
 
},
 
parameter_ignored = {
 
parameter_ignored = {
message = 'Bỏ qua tham số chưa biết <code class="cs1-code">&#124;$1=</code>', -- $1 is parameter name
+
message = 'Unknown parameter <code class="cs1-code">&#124;$1=</code> ignored', -- $1 is parameter name
 
anchor = 'parameter_ignored',
 
anchor = 'parameter_ignored',
category = 'Mục từ dùng chú thích với tham số sai',
+
category = 'Pages with citations using unsupported parameters',
 
hidden = false
 
hidden = false
 
},
 
},
 
parameter_ignored_suggest = {
 
parameter_ignored_suggest = {
message = 'Bỏ qua tham số chưa biết <code class="cs1-code">&#124;$1=</code> (gợi ý <code class="cs1-code">&#124;$2=</code>)', -- $1 is unknown paramter $2 is suggested parameter name
+
message = 'Unknown parameter <code class="cs1-code">&#124;$1=</code> ignored (<code class="cs1-code">&#124;$2=</code> suggested)', -- $1 is unknown paramter $2 is suggested parameter name
 
anchor = 'parameter_ignored_suggest',
 
anchor = 'parameter_ignored_suggest',
category = 'Mục từ dùng chú thích với tham số sai',
+
category = 'Pages with citations using unsupported parameters',
 
hidden = false
 
hidden = false
 
},
 
},
 
redundant_parameters = {
 
redundant_parameters = {
message = 'Có nhiều $1', -- $1 is error message detail
+
message = 'More than one of $1 specified', -- $1 is error message detail
 
anchor = 'redundant_parameters',
 
anchor = 'redundant_parameters',
category = 'Mục từ dùng chú thích với tham số thừa',
+
category = 'Pages with citations having redundant parameters',
 
hidden = false
 
hidden = false
 
},
 
},
 
script_parameter = {
 
script_parameter = {
message = '<code class="cs1-code">&#124;$1=</code> sai: $2', -- $1 is parameter name $2 is script language code or error detail
+
message = 'Invalid <code class="cs1-code">&#124;$1=</code>: $2', -- $1 is parameter name $2 is script language code or error detail
 
anchor = 'script_parameter',
 
anchor = 'script_parameter',
 
category = 'CS1 errors: script parameters',
 
category = 'CS1 errors: script parameters',
Dòng 1.262: Dòng 1.256:
 
},
 
},
 
ssrn_missing = {
 
ssrn_missing = {
message = 'Cần <code class="cs1-code">&#124;ssrn=</code>',
+
message = '<code class="cs1-code">&#124;ssrn=</code> required',
 
anchor = 'ssrn_missing',
 
anchor = 'ssrn_missing',
 
category = 'CS1 errors: ssrn', -- same as bad arxiv
 
category = 'CS1 errors: ssrn', -- same as bad arxiv
Dòng 1.268: Dòng 1.262:
 
},
 
},
 
text_ignored = {
 
text_ignored = {
message = 'Bỏ qua văn bản "$1"', -- $1 is ignored text
+
message = 'Text "$1" ignored', -- $1 is ignored text
 
anchor = 'text_ignored',
 
anchor = 'text_ignored',
 
category = 'Pages with citations using unnamed parameters',
 
category = 'Pages with citations using unnamed parameters',
Dòng 1.280: Dòng 1.274:
 
},
 
},
 
vancouver = {
 
vancouver = {
message = 'Lỗi kiểu Vancouver: $1', -- $1 is error detail
+
message = 'Vancouver style error: $1', -- $1 is error detail
 
anchor = 'vancouver',
 
anchor = 'vancouver',
 
category = 'CS1 errors: Vancouver style',
 
category = 'CS1 errors: Vancouver style',
Dòng 1.286: Dòng 1.280:
 
},
 
},
 
wikilink_in_url = {
 
wikilink_in_url = {
message = 'URL mâu thuẫn', -- uses ndash
+
message = 'URL–wikilink conflict', -- uses ndash
 
anchor = 'wikilink_in_url',
 
anchor = 'wikilink_in_url',
 
category = 'CS1 errors: URL–wikilink conflict', -- uses ndash
 
category = 'CS1 errors: URL–wikilink conflict', -- uses ndash
Dòng 1.560: Dòng 1.554:
 
encode = true,
 
encode = true,
 
separator = '&nbsp;',
 
separator = '&nbsp;',
id_limit = 10500000,
+
id_limit = 7500000,
 
access = 'free', -- free to read
 
access = 'free', -- free to read
 
},
 
},
Dòng 1.574: Dòng 1.568:
 
encode = false,
 
encode = false,
 
separator = '&nbsp;',
 
separator = '&nbsp;',
id_limit = 40000000,
+
id_limit = 33000000,
 
},
 
},
 
['RFC'] = {
 
['RFC'] = {
Dòng 1.624: Dòng 1.618:
 
encode = false,
 
encode = false,
 
separator = '&nbsp;',
 
separator = '&nbsp;',
id_limit = 270000000,
+
id_limit = 230000000,
 
custom_access = 's2cid-access',
 
custom_access = 's2cid-access',
 
},
 
},

Lưu ý rằng tất cả các đóng góp của bạn tại Bách khoa Toàn thư Việt Nam sẽ được phát hành theo giấy phép Creative Commons Ghi công–Chia sẻ tương tự (xem thêm Bản quyền). Nếu bạn không muốn những gì mình viết ra sẽ có thể được bình duyệt và có thể bị sửa đổi, và không sẵn lòng cho phép phát hành lại, xin đừng nhấn nút “Lưu trang”. Đảm bảo rằng chính bạn là tác giả của những gì mình viết ra, hoặc chép nó từ một nguồn thuộc phạm vi công cộng hoặc tự do tương đương. ĐỪNG ĐĂNG NỘI DUNG CÓ BẢN QUYỀN MÀ CHƯA XIN PHÉP!

Hủy bỏ Trợ giúp sửa đổi (mở cửa sổ mới)

Bản mẫu dùng trong trang này: