אונטערשייד צווישן ווערסיעס פון "יחידה:WikidataCrossValidation"

402 בייטן אראפגענומען ,  פֿאַר 2 יאָר
מכלוליזאציע
(אפדעיט)
צייכנס: מאנועל צוריקשטעל צוריקגעשטעלט
(מכלוליזאציע)
צייכן: מאנועל צוריקשטעל
שורה 13: שורה 13:


function CrossValidate.maintainceCategory(value, propertyName)  
function CrossValidate.maintainceCategory(value, propertyName)  
if value==CrossValidate.CrossValidateResult.INVALID_WIKITEXT then return '' end
return ''
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 )
שורה 22: שורה 21:
end
end
      
      
    if entityId == nil then
    entityId = mw.wikibase.getEntityIdForCurrentPage()
    end
if entityId == nil then
if entityId == nil then
if mw.title.getCurrentTitle().namespace==0 then
if mw.title.getCurrentTitle().namespace==0 then