p=function p.get_lead_section (frame) local title_object = mw.title.new (frame.args[1]); -- get a title object for named article local content = title_object:getContent; -- get the unparsed article content local text = mw.ustring.match (content, '(.-)
'
return frame:preprocess (text); -- return the preprocessed text;end
return p;