יחידה:Wikibase: הבדלים בין גרסאות בדף
מאין תקציר עריכה |
מאין תקציר עריכה |
||
| שורה 37: | שורה 37: | ||
id = frame.args[1] | id = frame.args[1] | ||
end | end | ||
---if mw.wikibase.getEntityObject( "Q532055' ).labels[lang]['language'] | |||
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 | |||
if ( lang == 'he') then | if ( lang == 'he') then | ||
return description .. lang | return description .. lang | ||