Module:head/templates: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 50: Line 50:
term = mw.ustring.gsub(term, "^[^/]+/", "")
term = mw.ustring.gsub(term, "^[^/]+/", "")
end
end
local multiword = mw.ustring.find(term, "[%s_]") or false
local multiword = mw.ustring.find(term, "[%s_]") or mw.ustring.find(term, " ")
return {
return {
term = term,
term = term,