Module:Message box: Difference between revisions
From Test Wiki
Content deleted Content added
per tper |
m 1 revision imported Tags: Mobile edit Mobile web edit |
||
| (5 intermediate revisions by 5 users not shown) | |||
| Line 268: | Line 268: | ||
local talkText |
local talkText |
||
if self.isSmall then |
if self.isSmall then |
||
local talkLink = talkArgIsTalkPage and talk or (talkTitle.prefixedText .. '#' .. talk) |
local talkLink = talkArgIsTalkPage and talk or (talkTitle.prefixedText .. (talk == '#' and '' or '#') .. talk) |
||
talkText = string.format('([[%s|talk]])', talkLink) |
talkText = string.format('([[%s|talk]])', talkLink) |
||
else |
else |
||
| Line 281: | Line 281: | ||
else |
else |
||
talkText = string.format( |
talkText = string.format( |
||
'%s the [[%s#%s|talk page]].', |
'%s the [[%s' .. (talk == '#' and '' or '#') .. '%s|talk page]].', |
||
talkText, |
talkText, |
||
talkTitle.prefixedText, |
talkTitle.prefixedText, |
||