Module:Citation/CS1/Whitelist and Module:Citation/CS1/Whitelist/sandbox: Difference between pages

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
m (1 revision imported)
 
m (1 revision)
 
Line 1: Line 1:
--[[
History of changes since last sync: 2014-03-30
]]
--[[
--[[
Because a steady-state signal conveys no useful information, whitelist.basic_arguments[] list items now can have three values:
Because a steady-state signal conveys no useful information, whitelist.basic_arguments[] list items now can have three values:
Line 8: Line 13:


basic_arguments = {
basic_arguments = {
['accessdate'] = true,
    ['accessdate'] = true,
['access-date'] = true,
    ['agency'] = true,
['agency'] = true,
    ['airdate'] = true,
['airdate'] = true,
    ['albumlink'] = false, -- deprecated; set to nil after 1 October 2014; a unique alias of titlelink used by old cite AV media notes
['air-date'] = true,
    ['albumtype'] = nil, -- controled inappropriate functionality in the old cite AV media notes
['albumlink'] = false, -- deprecated; set to nil after 1 October 2014; a unique alias of titlelink used by old cite AV media notes
    ['archivedate'] = true,
['albumtype'] = nil, -- controled inappropriate functionality in the old cite AV media notes
    ['archive-date'] = true,
['archivedate'] = true,
    ['archiveurl'] = true,
['archive-date'] = true,
    ['archive-url'] = true,
['archiveurl'] = true,
    ['article'] = true,
['archive-url'] = true,
    ['artist'] = false, -- deprecated; set to nil after 1 October 2014; a unique alias of others used by old cite AV media notes
['article'] = true,
    ['arxiv'] = true,
['artist'] = false, -- deprecated; set to nil after 1 October 2014; a unique alias of others used by old cite AV media notes
    ['ARXIV'] = true,
['arxiv'] = true,
    ['asin'] = true,
['ARXIV'] = true,
    ['ASIN'] = true,
['asin'] = true,
    ['asin-tld'] = true,
['ASIN'] = true,
    ['ASIN-TLD'] = true,
['asin-tld'] = true,
    ['at'] = true,
['ASIN-TLD'] = true,
    ['author'] = true,
['at'] = true,
    ['Author'] = true,
['author'] = true,
    ['author-first'] = true,
['Author'] = true,
    ['authorformat'] = true,
['author-first'] = true,
    ['author-format'] = true,
['authorformat'] = true,
    ['author-last'] = true,
['author-format'] = true,
    ['authorlink'] = true,
['author-last'] = true,
    ['author-link'] = true,
['authorlink'] = true,
    ['authormask'] = true,
['author-link'] = true,
    ['author-mask'] = true,
['authormask'] = true,
    ['author-name-separator'] = true,
['author-mask'] = true,
    ['authors'] = true,
['author-name-separator'] = true,
    ['author-separator'] = true,
['authors'] = true,
    ['bibcode'] = true,
['author-separator'] = true,
    ['BIBCODE'] = true,
['bibcode'] = true,
    ['booktitle'] = true,
['BIBCODE'] = true,
['callsign']=true, -- cite interview
['booktitle'] = true,
    ['cartography'] = true,
['book-title'] = true,
    ['chapter'] = true,
['callsign']=true, -- cite interview
    ['chapterlink'] = true,
['call-sign']=true, -- cite interview
    ['chapterurl'] = true,
['cartography'] = true,
    ['chapter-url'] = true,
['chapter'] = true,
['city']=true, -- cite interview
['chapterlink'] = true,
    ['coauthor'] = false,
['chapter-link'] = true,
    ['coauthors'] = false,
['chapterurl'] = true,
    ['cointerviewers'] = false, -- cite interview
['chapter-url'] = true,
    ['conference'] = true,
['city']=true, -- cite interview
    ['conferenceurl'] = true,
['coauthor'] = false,
    ['conference-url'] = true,
['coauthors'] = false,
    ['contribution'] = true,
['cointerviewers'] = false, -- cite interview
    ['contributionurl'] = true,
['conference'] = true,
    ['contribution-url'] = true,
['conferenceurl'] = true,
    ['date'] = true,
['conference-url'] = true,
    ['day'] = false,
['contribution'] = true,
    ['deadurl'] = true,
['contributionurl'] = true,
    ['degree'] = true,
['contribution-url'] = true,
    ['department'] = true,
['date'] = true,
    ['dictionary'] = true,
['day'] = false,
    ['director'] = false, -- deprecated; set to nil after 1 October 2014; a unique alias of author used by old cite DVD-notes
['deadurl'] = true,
    ['displayauthors'] = true,
['dead-url'] = true,
    ['display-authors'] = true,
['degree'] = true,
    ['displayeditors'] = true,
['department'] = true,
    ['display-editors'] = true,
['dictionary'] = true,
    ['docket'] = true,
['director'] = false, -- deprecated; set to nil after 1 October 2014; a unique alias of author used by old cite DVD-notes
    ['doi'] = true,
['displayauthors'] = true,
    ['DOI'] = true,
['display-authors'] = true,
    ['DoiBroken'] = true,
['displayeditors'] = true,
    ['doi_brokendate'] = true,
['display-editors'] = true,
    ['doi_inactivedate'] = true,
['docket'] = true,
    ['edition'] = true,
['doi'] = true,
    ['editor'] = true,
['DOI'] = true,
    ['Editor'] = true,
['DoiBroken'] = true,
    ['editor-first'] = true,
['doi-broken'] = true,
    ['editorformat'] = true,
['doi_brokendate'] = true,
    ['editor-format'] = true,
['doi-broken-date'] = true,
    ['EditorGiven'] = true,
['doi_inactivedate'] = true,
    ['editor-last'] = true,
['doi-inactive-date'] = true,
    ['editorlink'] = true,
['edition'] = true,
    ['editor-link'] = true,
['editor'] = true,
    ['editormask'] = true,
['Editor'] = true,
    ['editor-mask'] = true,
['editor-first'] = true,
    ['editor-name-separator'] = true,
['editorformat'] = true,
    ['editors'] = true,
['editor-format'] = true,
    ['editor-separator'] = true,
['EditorGiven'] = true,
    ['EditorSurname'] = true,
['editor-given'] = true,
    ['embargo'] = true,
['editor-last'] = true,
    ['Embargo'] = true,
['editorlink'] = true,
    ['encyclopaedia'] = true,
['editor-link'] = true,
    ['encyclopedia'] = true,
['editormask'] = true,
    ['entry'] = true,
['editor-mask'] = true,
    ['episodelink'] = true,
['editor-name-separator'] = true,
    ['event'] = true,
['editors'] = true,
    ['eventurl'] = true,
['editor-separator'] = true,
    ['first'] = true,
['EditorSurname'] = true,
    ['format'] = true,
['editor-surname'] = true,
    ['given'] = true,
['embargo'] = true,
    ['host'] = true,
['Embargo'] = true,
    ['id'] = true,
['encyclopaedia'] = true,
    ['ID'] = true,
['encyclopedia'] = true,
    ['ignoreisbnerror'] = true,
['entry'] = true,
    ['ignore-isbn-error'] = true,
['episodelink'] = true,
    ['in'] = true,
['episode-link'] = true,
    ['inset'] = true,
['event'] = true,
    ['institution'] = true,
['eventurl'] = true,
['interviewer'] = true, --cite interview
['event-url'] = true,
    ['isbn'] = true,
['first'] = true,
    ['ISBN'] = true,
['format'] = true,
    ['isbn13'] = true,
['given'] = true,
    ['ISBN13'] = true,
['host'] = true,
    ['issn'] = true,
['id'] = true,
    ['ISSN'] = true,
['ID'] = true,
    ['issue'] = true,
['ignoreisbnerror'] = true,
    ['jfm'] = true,
['ignore-isbn-error'] = true,
    ['JFM'] = true,
['in'] = true,
    ['journal'] = true,
['inset'] = true,
    ['jstor'] = true,
['institution'] = true,
    ['JSTOR'] = true,
['interviewer'] = true, --cite interview
    ['language'] = true,
['isbn'] = true,
    ['last'] = true,
['ISBN'] = true,
    ['lastauthoramp'] = true,
['isbn13'] = true,
    ['laydate'] = true,
['ISBN13'] = true,
    ['laysource'] = true,
['issn'] = true,
    ['laysummary'] = true,
['ISSN'] = true,
    ['layurl'] = true,
['issue'] = true,
    ['lccn'] = true,
['jfm'] = true,
    ['LCCN'] = true,
['JFM'] = true,
    ['location'] = true,
['journal'] = true,
    ['magazine'] = true,
['jstor'] = true,
    ['medium'] = true,
['JSTOR'] = true,
    ['minutes'] = true,
['language'] = true,
    ['month'] = false,
['last'] = true,
    ['mr'] = true,
['lastauthoramp'] = true,
    ['MR'] = true,
['last-author-amp'] = true,
    ['name-separator'] = true,
['laydate'] = true,
    ['network'] = true,
['lay-date'] = true,
    ['newsgroup'] = true,
['laysource'] = true,
    ['newspaper'] = true,
['lay-source'] = true,
    ['nocat'] = true,
['laysummary'] = true,
    ['nopp'] = true,
['lay-summary'] = true,
    ['notestitle'] = false, -- deprecated; set to nil after 1 October 2014; a unique alias of chapter used by old cite AV media notes
['layurl'] = true,
    ['notracking'] = true,
['lay-url'] = true,
    ['no-tracking'] = true,
['lccn'] = true,
    ['number'] = true,
['LCCN'] = true,
    ['oclc'] = true,
['location'] = true,
    ['OCLC'] = true,
['script-title'] = true,
    ['ol'] = true,
['magazine'] = true,
    ['OL'] = true,
['medium'] = true,
    ['origyear'] = true,
['minutes'] = true,
    ['osti'] = true,
['month'] = false,
    ['OSTI'] = true,
['mr'] = true,
    ['others'] = true,
['MR'] = true,
    ['p'] = true,
['name-separator'] = true,
    ['page'] = true,
['network'] = true,
    ['pages'] = true,
['newsgroup'] = true,
    ['people'] = true,
['newspaper'] = true,
    ['periodical'] = true,
['nocat'] = true,
    ['place'] = true,
['no-cat'] = true,
    ['pmc'] = true,
['nopp'] = true,
    ['PMC'] = true,
['no-pp'] = true,
    ['pmid'] = true,
['notestitle'] = false, -- deprecated; set to nil after 1 October 2014; a unique alias of chapter used by old cite AV media notes
    ['PMID'] = true,
['notracking'] = true,
    ['postscript'] = true,
['no-tracking'] = true,
    ['pp'] = true,
['number'] = true,
    ['PPPrefix'] = true,
['oclc'] = true,
    ['PPrefix'] = true,
['OCLC'] = true,
['ol'] = true,
['OL'] = true,
['origyear'] = true,
['orig-year'] = true,
['osti'] = true,
['OSTI'] = true,
['others'] = true,
['p'] = true,
['page'] = true,
['pages'] = true,
['people'] = true,
['periodical'] = true,
['place'] = true,
['pmc'] = true,
['PMC'] = true,
['pmid'] = true,
['PMID'] = true,
['postscript'] = true,
['pp'] = true,
['PPPrefix'] = true,
['pp-prefix'] = true,
['PPrefix'] = true,
['p-prefix'] = true,
['program']=true, -- cite interview
['program']=true, -- cite interview
['publicationdate'] = true,
    ['publicationdate'] = true,
['publication-date'] = true,
    ['publication-date'] = true,
['publicationplace'] = true,
    ['publicationplace'] = true,
['publication-place'] = true,
    ['publication-place'] = true,
['publisher'] = true,
    ['publisher'] = true,
['publisherid'] = false, -- deprecated; set to nil after 1 October 2014; a unique alias of others used by old cite AV media notes and old cite DVD-notes
    ['publisherid'] = false, -- deprecated; set to nil after 1 October 2014; a unique alias of others used by old cite AV media notes and old cite DVD-notes
['quotation'] = true,
    ['quotation'] = true,
['quote'] = true,
    ['quote'] = true,
['ref'] = true,
    ['ref'] = true,
['Ref'] = true,
    ['Ref'] = true,
['registration'] = true,
    ['registration'] = true,
['rfc'] = true,
    ['rfc'] = true,
['RFC'] = true,
    ['RFC'] = true,
['scale'] = true,
    ['scale'] = true,
['season'] = true,
    ['season'] = true,
['section'] = true,
    ['section'] = true,
['sectionurl'] = true,
    ['sectionurl'] = true,
['section-url'] = true,
    ['separator'] = true,
['separator'] = true,
    ['series'] = true,
['series'] = true,
    ['serieslink'] = true,
['serieslink'] = true,
    ['seriesno'] = true,
['series-link'] = true,
    ['seriesnumber'] = true,
['seriesno'] = true,
    ['series-separator'] = true,
['series-no'] = true,
    ['ssrn'] = true,
['seriesnumber'] = true,
    ['SSRN'] = true,
['series-number'] = true,
    ['station'] = true,
['series-separator'] = true,
    ['subject'] = true,
['ssrn'] = true,
    ['subjectlink'] = true,
['SSRN'] = true,
    ['subscription'] = true,
['station'] = true,
    ['surname'] = true,
['subject'] = true,
    ['template doc demo'] = true,
['subjectlink'] = true,
    ['time'] = true,
['subject-link'] = true,
    ['timecaption'] = true,
['subscription'] = true,
    ['title'] = true,
['surname'] = true,
    ['titlelink'] = true,
['template doc demo'] = true,
    ['titleyear'] = false, -- deprecated; set to nil after 1 October 2014; a unique alias of origyear used by old cite DVD-notes
['template-doc-demo'] = true,
    ['trans_chapter'] = true,
['time'] = true,
    ['trans-chapter'] = true,
['timecaption'] = true,
    ['transcript'] = true,
['time-caption'] = true,
    ['transcripturl'] = true,
['title'] = true,
    ['transcript-url'] = true,
['titlelink'] = true,
    ['trans_title'] = true,
['title-link'] = true,
    ['trans-title'] = true,
['titleyear'] = false, -- deprecated; set to nil after 1 October 2014; a unique alias of origyear used by old cite DVD-notes
    ['type'] = true,
['trans_chapter'] = true,
    ['url'] = true,
['trans-chapter'] = true,
    ['URL'] = true,
['transcript'] = true,
    ['version'] = true,
['transcripturl'] = true,
    ['via'] = true,
['transcript-url'] = true,
    ['volume'] = true,
['trans_title'] = true,
    ['website'] = true,
['trans-title'] = true,
    ['work'] = true,
['type'] = true,
    ['year'] = true,
['url'] = true,
    ['zbl'] = true,
['URL'] = true,
    ['ZBL'] = true,
['version'] = true,
['via'] = true,
['volume'] = true,
['website'] = true,
['work'] = true,
['year'] = true,
['zbl'] = true,
['ZBL'] = true,
},
},


numbered_arguments = {
numbered_arguments = {
['author#'] = true,
    ['author#'] = true,
['Author#'] = true,
    ['Author#'] = true,
['author-first#'] = true,
    ['author-first#'] = true,
['author#-first'] = true,
    ['author#-first'] = true,
['author-last#'] = true,
    ['author-last#'] = true,
['author#-last'] = true,
    ['author#-last'] = true,
['author-link#'] = true,
    ['author-link#'] = true,
['author#link'] = true,
    ['author#link'] = true,
['author#-link'] = true,
    ['author#-link'] = true,
['authorlink#'] = true,
    ['authorlink#'] = true,
['author-mask#'] = true,
    ['author-mask#'] = true,
['author#mask'] = true,
    ['author#mask'] = true,
['author#-mask'] = true,
    ['author#-mask'] = true,
['authormask#'] = true,
    ['authormask#'] = true,
['authors#'] = true,
    ['authors#'] = true,
['editor#'] = true,
    ['editor#'] = true,
['Editor#'] = true,
    ['Editor#'] = true,
['editor-first#'] = true,
    ['editor-first#'] = true,
['editor#-first'] = true,
    ['editor#-first'] = true,
['EditorGiven#'] = true,
    ['EditorGiven#'] = true,
['editor#-given'] = true,
    ['editor-last#'] = true,
['editor-given#'] = true,
    ['editor#-last'] = true,
['editor-last#'] = true,
    ['editor-link#'] = true,
['editor#-last'] = true,
    ['editor#link'] = true,
['editor-link#'] = true,
    ['editor#-link'] = true,
['editor#link'] = true,
    ['editorlink#'] = true,
['editor#-link'] = true,
    ['editor-mask#'] = true,
['editorlink#'] = true,
    ['editor#mask'] = true,
['editor-mask#'] = true,
    ['editor#-mask'] = true,
['editor#mask'] = true,
    ['editormask#'] = true,
['editor#-mask'] = true,
    ['editors#'] = true,
['editormask#'] = true,
    ['EditorSurname#'] = true,
['editors#'] = true,
    ['first#'] = true,
['EditorSurname#'] = true,
    ['given#'] = true,
['editor#-surname'] = true,
    ['last#'] = true,
['editor-surname#'] = true,
    ['subject#'] = true,
['first#'] = true,
    ['subjectlink#'] = true,
['given#'] = true,
    ['surname#'] = true,
['last#'] = true,
['subject#'] = true,
['subject-link#'] = true,
['subject#link'] = true,
['subject#-link'] = true,
['subjectlink#'] = true,
['surname#'] = true,
},
},
};
};


return whitelist;
return whitelist;