32,301
edits
enwp>Pppery (Copy from sandbox per request) |
m (1 revision imported: importing tree chart) |
||
| Line 87: | Line 87: | ||
elseif ns == 14 then | elseif ns == 14 then | ||
obj.cfg = cfg.cmbox -- category namespace | obj.cfg = cfg.cmbox -- category namespace | ||
elseif ns == 104 then | |||
obj.cfg = cfg.pmbox -- page namespace | |||
else | else | ||
local nsTable = mw.site.namespaces[ns] | local nsTable = mw.site.namespaces[ns] | ||
| Line 268: | Line 270: | ||
local talkText | local talkText | ||
if self.isSmall then | if self.isSmall then | ||
local talkLink = talkArgIsTalkPage and talk or (talkTitle.prefixedText .. | local talkLink = talkArgIsTalkPage and talk or (talkTitle.prefixedText .. '#' .. talk) | ||
talkText = string.format('([[%s|talk]])', talkLink) | talkText = string.format('([[%s|talk]])', talkLink) | ||
else | else | ||
| Line 281: | Line 283: | ||
else | else | ||
talkText = string.format( | talkText = string.format( | ||
'%s the [[%s | '%s the [[%s#%s|talk page]].', | ||
talkText, | talkText, | ||
talkTitle.prefixedText, | talkTitle.prefixedText, | ||