ഉള്ളടക്കത്തിലേക്ക് പോവുക

ഘടകം:Citation mode

വിക്കിപീഡിയ, ഒരു സ്വതന്ത്ര വിജ്ഞാനകോശം.

ഈ ഘടകത്തിന്റെ വിവരണം ഘടകം:Citation mode/വിവരണം എന്ന താളിൽ നിർമ്മിക്കാവുന്നതാണ്

require ('strict')

local p = {}

-- determine whether we're being called from a sandbox
local isSandbox = mw.getCurrentFrame():getTitle():find('sandbox', 1, true)
local sandbox = isSandbox and '/sandbox' or ''

local cfg = mw.loadData ('Module:Citation/CS1/Configuration' .. sandbox)

-- if cs1 config is set, return false, otherwise use supplied mode
-- this prevents putting articles into "overriden mode" tracking category
function p._main(mode)
	return not cfg.global_cs1_config_t['Mode'] and mode
end

function p.main(frame)
    return p._main(frame.args[1]) or ""
end

return p
"https://ml.wikipedia.org/w/index.php?title=ഘടകം:Citation_mode&oldid=4396599" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്