Modul:WikibaseLabel: Difference between revisions

fix für LabelLanguage, anstelle von Label only
No edit summary
(fix für LabelLanguage, anstelle von Label only)
 
Line 4: Line 4:
local entity = mw.wikibase.getEntity()
local entity = mw.wikibase.getEntity()
if (entity) then
if (entity) then
return entity:getLabel()
label, lang = entity:getLabel()
return  label
else
else
     return
     return
10,996

edits