Module:Excerpt/sandbox: Difference between revisions

Content deleted Content added
Use mw.title.new().fullUrl
better error handling
Line 793:
hatnote[6] = ']]'
hatnote[7] = "''" .. '<span class="mw-editsection-like plainlinks"><span>[ </span>['
hatnote[8]local title = mw.title.new(article).fullUrl('action=edit') or mw.title. ' edit'getCurrentTitle()
hatnote[8] = title:fullUrl('action=edit') .. ' edit'
hatnote[9] = ']<span> ]</span></span>' .. "''"