Module:Section link: Difference between revisions
mw.text.decode() input per Template_talk:Section_link#Problem_with_page_names_containing_HTML_entities
m (1 revision imported) |
(mw.text.decode() input per Template_talk:Section_link#Problem_with_page_names_containing_HTML_entities) |
||
Line 112: | Line 112: | ||
-- Doing this in the loop because of a bug in [[Module:Arguments]] | -- Doing this in the loop because of a bug in [[Module:Arguments]] | ||
-- when using pairs with deleted arguments. | -- when using pairs with deleted arguments. | ||
page = v | page = mw.text.decode(v, decodeNamedEntities) | ||
elseif type(k) == 'number' then | elseif type(k) == 'number' then | ||
sections[k] = v | sections[k] = v |