Module:Citation/CS1/Whitelist/sandbox: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 122:
['chapter-url'] = true,
['chapter-url-access'] = true,
['chemrxiv'] = true,
['citeseerx'] = true,
['class'] = false, -- cite arxiv only; general use deprecated
Line 487 ⟶ 488:
}
 
 
--[[--------------------------< C I T E C H E M R X I V S U P P O R T E D P A R A M E T E R S >------------
 
Cite chemrxiv 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 chemrxiv 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 chemrxiv_basic_arguments = {
['chemrxiv'] = true,
}
 
--[[--------------------------< 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 >--------
Line 509 ⟶ 527:
 
This is an experiment that attempts to use validate() and a limited list of valid parameters to validate the
parameters provided in a cite arxiv, cite biorxiv, cite chemrxiv, or cite citeseerx templates. These parameters are common to
all three templates
 
Line 588 ⟶ 606:
arxiv_basic_arguments = arxiv_basic_arguments,
biorxiv_basic_arguments = biorxiv_basic_arguments,
chemrxiv_basic_arguments = chemrxiv_basic_arguments,
citeseerx_basic_arguments = citeseerx_basic_arguments
};