Module:Sourcrowd: Difference between revisions
Content added Content deleted
(update) |
(modify) |
||
Line 18: | Line 18: | ||
retValue = '[' |
retValue = '[' |
||
else |
else |
||
retValue = mw.ustring.gsub( str, '0', 0x9e6 ) |
retValue = mw.ustring.gsub( str, '0', mw.ustring.char( 0x9e6 ) ) |
||
end |
end |
||
Revision as of 23:00, 12 March 2017
Documentation for this module may be created at Module:Sourcrowd/doc
--[[
This module is intended as test environment of user:Sourcrowd.
PLEASE DO NOT MODIFY!
]]
local p = {}
function p.a2b( frame )
return
end
function p.b2a( frame )
local str = frame.args[1] or ''
if ( frame.args[2] or false ) then
retValue = '['
else
retValue = mw.ustring.gsub( str, '0', mw.ustring.char( 0x9e6 ) )
end
return retValue
end
return p