మాడ్యూల్:Cs1 documentation support: కూర్పుల మధ్య తేడాలు

Content deleted Content added
దిద్దుబాటు సారాంశం లేదు
దిద్దుబాటు సారాంశం లేదు
పంక్తి 560:
end
 
 
--[[--------------------------< I S _ L I M I T E D _ P A R A M _ T E M P L A T E >----------------------------
 
fetch the title of the current page; if it is a preprint template, return true; empty string else
 
]]
 
local limited_param_templates = { -- if ever there is a need to fetch info from ~/Whitelist then
['cite arxiv'] = true, -- this list could also be fetched from there
['cite biorxiv'] = true,
['citeseerx'] = true,
['ssrn'] = true,
}
 
local function is_limited_param_template ()
local title = mw.title.getCurrentTitle().rootText; -- get title of current page without namespace and without sub-pages; from Template:Cite book/new -> Cite book
title = title and title:lower() or '';
return limited_param_templates[title] or '';
end
 
--[[--------------------------< H E A D E R _ M A K E >--------------------------------------------------------
Line 608 ⟶ 628:
header_make = header_make,
id_limits_get = id_limits_get,
is_limited_param_template = is_limited_param_template,
lang_lister = lang_lister,
script_lang_lister = script_lang_lister,
"https://te.wikipedia.org/wiki/మాడ్యూల్:Cs1_documentation_support" నుండి వెలికితీశారు