"ഘടകം:Wikibase" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

Content deleted Content added
(ചെ.) en:Module:Wikibase എന്നതിൽ നിന്ന് 2 പതിപ്പുകൾ ഇറക്കുമതി ചെയ്തു
wdurl
വരി 13:
end
return entity.id
end
 
-- Return the WD entity URL of a given data item, or of connected page
-- if no argument is provided to this method.
function p.wdurl(frame)
if frame.args[1] == nil then
entity = mw.wikibase.getEntityObject()
if not entity then return nil end
id = entity.id
else
id = mw.text.trim(frame.args[1])
end
return mw.wikibase.getEntityUrl( id )
end
 
"https://ml.wikipedia.org/wiki/ഘടകം:Wikibase" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്