יחידה:Wikibase: הבדלים בין גרסאות בדף

מאין תקציר עריכה
מאין תקציר עריכה
שורה 42: שורה 42:


local description, lang = mw.wikibase.getDescriptionWithLang( id )
local description, lang = mw.wikibase.getDescriptionWithLang( id )
lang = mw.wikibase.getEntityObject(id).labels[lang]['language'] -- fix https://phabricator.wikimedia.org/T152241
lang = mw.wikibase.getEntityObject(id).descriptions[lang]['language'] -- fix https://phabricator.wikimedia.org/T152241
if ( lang == 'he') then
if ( lang == 'he') then
return description .. lang
return description .. lang