Module:Sourcrowd: Difference between revisions
Content added Content deleted
(update) |
(update) |
||
Line 11:
local bn_num = { false }
local i = nil
bn_num[
for i=
bn_num[
end
Line 25:
retValue = '['
else
retValue = mw.ustring.gsub( str, '1', bn_num[
end
|
Revision as of 23:21, 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 = {}
local bn_num = { false }
local i = nil
bn_num[1] = { 0x9e7, 0x9e8, 0x9e9, 0x9ea, 0x9eb, 0x9ec, 0x9ed, 0x9ee, 0x9ef, 0x9e6 }
for i=1, 10 do
bn_num[2][i] = mw.ustring.char( bn_num[1][i] )
end
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, '1', bn_num[2][i] )
end
return retValue
end
return p