יחידה:WikidataCrossValidation: הבדלים בין גרסאות בדף
מאין תקציר עריכה |
מאין תקציר עריכה |
||
| שורה 14: | שורה 14: | ||
function CrossValidate.maintainceCategory(value, propertyName) | function CrossValidate.maintainceCategory(value, propertyName) | ||
if value==CrossValidate.CrossValidateResult.INVALID_WIKITEXT then return '' end | if value==CrossValidate.CrossValidateResult.INVALID_WIKITEXT then return '' end | ||
return '[[קטגוריה: ויקינתונים -השוואת ערכים: ' .. value ']]' .. '[[קטגוריה: ויקינתונים -השוואת ערכים: ' .. value ':'..(mw.wikibase.label( propertyName) or propertyName)..']]' | return '[[קטגוריה: ויקינתונים -השוואת ערכים: ' .. value.. ']]' .. '[[קטגוריה: ויקינתונים -השוואת ערכים: ' .. value.. ':'..(mw.wikibase.label( propertyName) or propertyName)..']]' | ||
end | end | ||
--function CrossValidate.crossValidate( wikitext, propertyName, allowMulti, allowNA, entityId, multiSeperator, optionalQualifier, genderAware ) | --function CrossValidate.crossValidate( wikitext, propertyName, allowMulti, allowNA, entityId, multiSeperator, optionalQualifier, genderAware ) | ||