Content deleted Content added
use args.same instead of a same_number function, add a config option to set a good seed for wikis with a low edit rate |
allow newline separators |
||
(One intermediate revision by one other user not shown) | |||
Line 187:
-- Include an easy way to use spaces as separators.
return ' '
elseif sep == 'newline' then
-- Ditto for newlines
return '\n'
elseif type(sep) == 'string' then
-- If the separator is a recognised MediaWiki separator, use that. Otherwise use the value of sep if it is a string.
|