יחידה:ParamValidator: הבדלים בין גרסאות בדף
אכא"כ |
מ גרסה אחת של הדף wikipedia:he:יחידה:ParamValidator יובאה |
||
| (3 גרסאות ביניים של 3 משתמשים אינן מוצגות) | |||
| שורה 110: | שורה 110: | ||
local util = { | local util = { | ||
empty = function( s ) | empty = function( s ) | ||
return s == nil or type( s ) == 'string' and mw.text.trim( s ) == '' | return s == nil or type( s ) == 'string' and (mw.text.trim( s ) == '' or s == '-') -- compatible with module:תבנית מידע | ||
end | end | ||
, | , | ||