Content deleted Content added
less expensive method (get example info from qualifiers rather than call getEntities on each example |
improve formatting of examples |
||
Line 130:
--mw.addWarning ( mw.wikibase.renderSnak( value ))
local id = mw.wikibase.renderSnak( value )
examples = examples .. '<br/><small>id=<code>' .. id .. '</code></small>'
local link = formatterURL:gsub('$1', id)
if (datatype == "url") then link = id end
|