Module:Newarticletext: Difference between revisions
From The Petit Planet Wiki
More actions
ReisuDesign (talk | contribs) No edit summary |
ReisuDesign (talk | contribs) No edit summary |
||
| Line 75: | Line 75: | ||
return tostring( | return tostring( | ||
mw.html.create('a') | mw.html.create('a') | ||
:attr('href', mw.uri.fullUrl(page)) | :attr('href', tostring(mw.uri.fullUrl(page))) | ||
:attr('class', 'preload-plus-link') | :attr('class', 'preload-plus-link') | ||
:attr('data-preload', preload) | :attr('data-preload', tostring(preload)) | ||
:attr('data-page', page) | :attr('data-page', tostring(page)) | ||
:wikitext(display) | :wikitext(display) | ||
) | ) | ||