Module:Documentation: Difference between revisions

use "ugsub" rather than "gsub" as the abbreviation for mw.ustring.gsub, to make it clearer that it isn't the regular string.gsub
(oops, looks like I issued a command that put everything in lower case somewhere along the line)
(use "ugsub" rather than "gsub" as the abbreviation for mw.ustring.gsub, to make it clearer that it isn't the regular string.gsub)
Line 12:
 
-- Often-used functions.
local gsubugsub = mw.ustring.gsub
 
----------------------------------------------------------------------------
Line 44:
end
 
local ret = gsubugsub(msg, '$([1-9][0-9]*)', getMessageVal)
return ret
end