Jump to content

Module:Expand wikitext

විකිපීඩියා වෙතින්
06:15, 21 අගෝස්තු 2022 වන විට Lee (සාකච්ඡාව | දායකත්ව) (ඉංග්‍රීසි විකිපීඩියාවෙන්!) විසින් සිදු කර ඇති සංශෝධන
(වෙනස) ← පැරණි සංශෝධනය | වත්මන් සංශෝධනය (වෙනස) | නව සංශෝධනය → (වෙනස)

local p = {}
local yesno = require("Module:Yesno")
function p.main(frame)
	local pframe = frame:getParent()
	local code = frame.args[1]
	if mw.text.trim(mw.text.killMarkers(code)) == "" or yesno(frame.args.unstrip) then
		code = mw.text.unstripNoWiki(code);
	end
	return pframe:preprocess(code)
end

return p
"https://si.wikipedia.org/w/index.php?title=Module:Expand_wikitext&oldid=511938" වෙතින් සම්ප්‍රවේශනය කෙරිණි