更改

跳到导航 跳到搜索
添加250字节 、 2021年1月1日 (五) 10:51
无编辑摘要
第6行: 第6行:  
     else
 
     else
 
         return {}
 
         return {}
 +
    end
 +
end
 +
 +
function p.split(s, sep)
 +
    return mw.text.split(s, sep)
 +
end
 +
 +
function p.join(l, sep)
 +
    return mw.text.listToText(l, sep, sep)
 +
end
 +
 +
function p.assert_not_empty(s)
 +
    if s and #s == 0 then
 +
        return nil
 +
    else
 +
        return s
 
     end
 
     end
 
end
 
end
    
return p
 
return p

导航菜单