יחידה:ParamValidator: הבדלים בין גרסאות בדף
formatting |
מ שחזור עקב בעית lua |
||
| שורה 102: | שורה 102: | ||
function calculateViolations( frame, subpages ) | function calculateViolations( frame, subpages ) | ||
-- | -- this can be made more sophisticated later, e.g. for "wiki page" and such | ||
function compatible( val, typ ) | function compatible( val, typ ) | ||
if | if typ == 'number' and not mw.language.getCurrentLanguage():parseNumber( val ) then return false end | ||
return true | return true | ||
end | end | ||