ผลต่างระหว่างรุ่นของ "มอดูล:Expand wikitext"

เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
Ans (คุย | ส่วนร่วม)
+parentPreprocessDecodeUnstrip
Ans (คุย | ส่วนร่วม)
.
บรรทัด 21:
function p.preprocessDecodeUnstrip(frame)
return frame:preprocess(mw.text.decode(mw.text.unstripNoWiki(frame.args[1])))
-- From experiment in https://th.wikisource.org/wiki/มอดูล:User:Ans/PerformanceTest
-- by function preprocessNowiki2M() vs preprocessNowikiM(),
-- this make code run faster?
--local text = mw.text
--return frame:preprocess(text.decode(text.unstripNoWiki(frame.args[1])))
end
-- To be invoked by Template