Module:Section link: Difference between revisions
mw.text.decode() input per Template_talk:Section_link#Problem_with_page_names_containing_HTML_entities
imported>Rob Kam m (1 revision imported: Template:Reflist) |
w>Ahecht (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 |