మాడ్యూల్:Citation/CS1/Configuration: కూర్పుల మధ్య తేడాలు

Content deleted Content added
sync from sandbox;
Guard against getContent() returning nil (e.g. previewing a new citation against a new article in VE)
పంక్తి 454:
 
local function get_date_format ()
local content = mw.title.getCurrentTitle():getContent() or ''; -- get the content of the article
for _, pattern in ipairs (df_template_patterns) do -- loop through the patterns looking for {{Use dmy dates}} or {{Use mdy dates}} or any of their redirects
local start, _, match = content:find(pattern); -- match is the three letters indicating desired date format
"https://te.wikipedia.org/wiki/మాడ్యూల్:Citation/CS1/Configuration" నుండి వెలికితీశారు