Амодуль:Wikidata/Formatters/url

Аматериал Авикипедиа аҟынтә - зхы иақәиҭу аенциклопедиа

require 'Амодуль:No globals'

local p = {}

local parent = require 'Амодуль:Wikidata/Formatters/string'

function p.formatValue(value, options)
	local URL = require 'Амодуль:URL'
	return URL._url(value, options.text)
end

p.formatRawValue = p.formatValue

setmetatable( p, { __index = parent } )

return p