Diferencia entre revisiones de «Módulo:Wikibase»

Sin resumen de edición
Sin resumen de edición
Línea 8: Línea 8:
         end
         end
   
   
         entity = mw.wikibase.getEntity()
         entity = mw.wikibase.getEntityObject()
   
   
         if entity == nil then
         if entity == nil then
Línea 20: Línea 20:
function p.etiqueta(frame)
function p.etiqueta(frame)
         if frame.args[1] == nil then
         if frame.args[1] == nil then
             entity = mw.wikibase.getEntity()
             entity = mw.wikibase.getEntityObject()
             if not entity then return nil end
             if not entity then return nil end
   
   
Línea 34: Línea 34:
function p.enlace(frame)
function p.enlace(frame)
         if frame.args[1] == nil then
         if frame.args[1] == nil then
             entity = mw.wikibase.getEntity()
             entity = mw.wikibase.getEntityObject()
             if not entity then return nil end
             if not entity then return nil end