پودمان:Citation/CS1/Whitelist: تفاوت میان نسخه‌ها

sync from sandbox;
جز (۱ نسخه واردشده)
(sync from sandbox;)
خط ۶۳: خط ۶۳:


]]
]]


--[[--------------------------< S U P P O R T E D  P A R A M E T E R S >--------------------------------------
--[[--------------------------< S U P P O R T E D  P A R A M E T E R S >--------------------------------------
خط ۱۲۶: خط ۱۲۷:
['contributionurl'] = true,
['contributionurl'] = true,
['contribution-url'] = true,
['contribution-url'] = true,
['contribution-url-access'] = true,
['contributor'] = true,
['contributor'] = true,
['contributor-first'] = true,
['contributor-first'] = true,
خط ۱۳۵: خط ۱۳۷:
['credits'] = true, -- cite episode, cite serial
['credits'] = true, -- cite episode, cite serial
['date'] = true,
['date'] = true,
['deadurl'] = true,
['deadurl'] = false,
['dead-url'] = true,
['dead-url'] = false,
['degree'] = true,
['degree'] = true,
['department'] = true,
['department'] = true,
خط ۱۴۳: خط ۱۴۵:
['displayauthors'] = true,
['displayauthors'] = true,
['display-authors'] = true,
['display-authors'] = true,
['display-contributors'] = true,
['displayeditors'] = true,
['displayeditors'] = true,
['display-editors'] = true,
['display-editors'] = true,
['display-interviewers'] = true,
['display-translators'] = true,
['docket'] = true,
['docket'] = true,
['doi'] = true,
['doi'] = true,
خط ۲۲۴: خط ۲۲۹:
['laysource'] = true,
['laysource'] = true,
['lay-source'] = true,
['lay-source'] = true,
['laysummary'] = true,
['laysummary'] = false,
['lay-summary'] = true,
['lay-summary'] = false,
['lay-format'] = true,
['lay-format'] = true,
['layurl'] = true,
['layurl'] = true,
خط ۲۳۹: خط ۲۴۴:
['mapurl'] = true, -- cite map only
['mapurl'] = true, -- cite map only
['map-url'] = true, -- cite map only
['map-url'] = true, -- cite map only
['map-url-access'] = true, -- cite map only
['medium'] = true,
['medium'] = true,
['message-id'] = true, -- cite newsgroup
['message-id'] = true, -- cite newsgroup
خط ۲۸۷: خط ۲۹۳:
['quote'] = true,
['quote'] = true,
['ref'] = true,
['ref'] = true,
['registration'] = true,
['registration'] = false,
['rfc'] = true,
['rfc'] = true,
['RFC'] = true,
['RFC'] = true,
['scale'] = true,
['scale'] = true,
['script-article'] = true,
['script-chapter'] = true,
['script-chapter'] = true,
['script-contribution'] = true,
['script-entry'] = true,
['script-journal'] = true,
['script-magazine'] = true,
['script-newspaper'] = true,
['script-periodical'] = true,
['script-section'] = true,
['script-title'] = true,
['script-title'] = true,
['script-website'] = true,
['script-work'] = true,
['season'] = true,
['season'] = true,
['section'] = true,
['section'] = true,
خط ۳۱۶: خط ۳۳۲:
['subjectlink'] = true,
['subjectlink'] = true,
['subject-link'] = true,
['subject-link'] = true,
['subscription'] = true,
['subscription'] = false,
['surname'] = true,
['surname'] = true,
['template-doc-demo'] = true,
['template-doc-demo'] = true,
خط ۳۲۵: خط ۳۴۱:
['titlelink'] = true,
['titlelink'] = true,
['title-link'] = true,
['title-link'] = true,
['trans-chapter'] = true,
['trans-map'] = true,
['trans-map'] = true,
['transcript'] = true,
['transcript'] = true,
خط ۳۳۱: خط ۳۴۶:
['transcripturl'] = true,
['transcripturl'] = true,
['transcript-url'] = true,
['transcript-url'] = true,
['trans-title'] = true,
['translator'] = true,
['translator'] = true,
['translator-first'] = true,
['translator-first'] = true,
خط ۳۳۹: خط ۳۵۳:
['translator-link'] = true,
['translator-link'] = true,
['translator-mask'] = true,
['translator-mask'] = true,
['trans-article'] = true,
['trans-chapter'] = true,
['trans-contribution'] = true,
['trans-entry'] = true,
['trans-journal'] = true,
['trans-magazine'] = true,
['trans-newspaper'] = true,
['trans-periodical'] = true,
['trans-section'] = true,
['trans-title'] = true,
['trans-website'] = true,
['trans-work'] = true,
['type'] = true,
['type'] = true,
['url'] = true,
['url'] = true,
['URL'] = true,
['URL'] = true,
['url-access'] = true,
['url-access'] = true,
['url-status'] = true,
['vauthors'] = true,
['vauthors'] = true,
['veditors'] = true,
['veditors'] = true,
خط ۴۰۱: خط ۴۲۸:
['first#'] = true,
['first#'] = true,
['given#'] = true,
['given#'] = true,
['host#'] = true,
['interviewer#'] = true,
['interviewer#'] = true,
['interviewer-first#'] = true,
['interviewer-first#'] = true,
خط ۴۳۲: خط ۴۶۰:
}
}


--[[--------------------------< C I T E  A R X I V  S U P P O R T E D  P A R A M E T E R S >----------------


Cite arXiv uses the limited set of parameters defined in the limited_basic_arguments and limited_numbered_arguments
--[[--------------------------< P R E P R I N T  S U P P O R T E D  P A R A M E T E R S >--------------------
tables.  Those lists are supplemented with this list of parameters that are exclusive to cite arXiv but not supported
 
by other cs1 templates that use the limited parameter set.
Cite arXiv, cite biorxiv, cite citeseerx, and cite ssrn are preprint templates that use the limited set of parameters
defined in the limited_basic_arguments and limited_numbered_arguments tables.  Those lists are supplemented with a
template-specific list of parameters that are required by the particular template and may be exclusive to one of the
proeprint templates.  Some of these parameters may also be available to the general cs1|2 templates.


Because a steady-state signal conveys no useful information, whitelist.basic_arguments[] list items can have three values:
Because a steady-state signal conveys no useful information, whitelist.basic_arguments[] list items can have three values:
خط ۴۴۵: خط ۴۷۵:
]]
]]


--[[
--[[--------------------------< C I T E  A R X I V >----------------------------------------------------------
 
This is a list of parameters that once were but now are no longer supported:
This is a list of parameters that once were but now are no longer supported:
['ARXIV'] = nil, -- not an initialization
['ARXIV'] = nil, -- not an initialization
خط ۴۵۹: خط ۴۹۰:




--[[--------------------------< C I T E  B I O R X I V   S U P P O R T E D  P A R A M E T E R S >------------
--[[--------------------------< C I T E  B I O R X I V >------------------------------------------------------
 
Cite biorxiv uses the limited set of parameters defined in the limited_basic_arguments and limited_numbered_arguments
tables.  Those lists are supplemented with this list of parameters that are exclusive to cite biorxiv but not supported
by other cs1 templates that use the limited parameter set.


Because a steady-state signal conveys no useful information, whitelist.basic_arguments[] list items can have three values:
true - these parameters are valid and supported parameters
false - these parameters are deprecated but still supported
nil - these parameters are no longer supported (when setting a parameter to nil, leave a comment stating the reasons for invalidating the parameter)
]]
]]


خط ۴۷۷: خط ۴۹۹:




--[[--------------------------< C I T E  C I T E S E E R X   S U P P O R T E D  P A R A M E T E R S >--------
--[[--------------------------< C I T E  C I T E S E E R X >--------------------------------------------------
 
Cite citeseerx uses the limited set of parameters defined in the limited_basic_arguments and limited_numbered_arguments
tables.  Those lists are supplemented with this list of parameters that are exclusive to cite citeseerx but not supported
by other cs1 templates that use the limited parameter set.


Because a steady-state signal conveys no useful information, whitelist.basic_arguments[] list items can have three values:
true - these parameters are valid and supported parameters
false - these parameters are deprecated but still supported
nil - these parameters are no longer supported (when setting a parameter to nil, leave a comment stating the reasons for invalidating the parameter)
]]
]]


local citeseerx_basic_arguments = {
local citeseerx_basic_arguments = {
['citeseerx'] = true,
['citeseerx'] = true,
}
--[[--------------------------< C I T E  S S R N >------------------------------------------------------------
]]
local ssrn_basic_arguments = {
['ssrn'] = true,
['SSRN'] = true,
}
}


خط ۵۲۱: خط ۵۴۴:
['date'] = true,
['date'] = true,
['df'] = true,
['df'] = true,
['displayauthors'] = true,
['display-authors'] = true,
['display-authors'] = true,
['first'] = true,
['first'] = true,
خط ۵۵۰: خط ۵۷۴:
['year'] = true,
['year'] = true,
}
}
local limited_numbered_arguments = {
local limited_numbered_arguments = {
['author#'] = true,
['author#'] = true,
خط ۵۶۹: خط ۵۹۴:
['surname#'] = true,
['surname#'] = true,
}
}
--[[--------------------------< E X P O R T E D  T A B L E S >------------------------------------------------
]]


return {
return {
خط ۵۷۷: خط ۶۰۶:
arxiv_basic_arguments = arxiv_basic_arguments,
arxiv_basic_arguments = arxiv_basic_arguments,
biorxiv_basic_arguments = biorxiv_basic_arguments,
biorxiv_basic_arguments = biorxiv_basic_arguments,
citeseerx_basic_arguments = citeseerx_basic_arguments
citeseerx_basic_arguments = citeseerx_basic_arguments,
};
ssrn_basic_arguments = ssrn_basic_arguments
};
کاربر ناشناس