Content deleted Content added
move warnings |
simp |
||
Line 118:
local show_namespace_warning = not (current_title.isTalkPage or demo)
if show_namespace_warning then
warning = mbox('ombox', {▼
type = cfg.namespace_warning.type_,▼
▲ text = string.format(
▲ pagetype,
▲ current_title.talkPageTitle.fullText,
▲ parameter_format('category', 'no')
▲ })
if current_title.namespace==10 then -- on the Template namespace
cfg.namespace_warning.on_template_page,
parameter_format('BANNER_NAME'),
Line 139 ⟶ 134:
sortkey = 'LOCATION'
end
▲ warning = mbox('ombox', {
warning = warning .. '[[Category:' .. cfg.namespace_warning.categories .. '|' .. sortkey .. ']]'▼
image = '[[File:' .. cfg.namespace_warning.image .. '|40px]]',
▲ type = cfg.namespace_warning.type_,
text = text
▲
end
---------------------------
|