Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Message box: Difference between revisions

Content added Content deleted
m (1 revision imported)
(pmbox)
Line 78:
elseif ns == 14 then
obj.cfg = cfg.cmbox -- category namespace
elseif ns == 104 then
obj.cfg = cfg.pmbox -- page namespace
else
local nsTable = mw.site.namespaces[ns]
Line 154 ⟶ 156:
 
-- Add attributes, classes and styles.
self.id = args.id
if cfg.allowId then
self.id = args.id
end
self:addClass(
cfg.usePlainlinksParam and yesno(args.plainlinks or true) and 'plainlinks'
Cookies help us deliver our services. By using our services, you agree to our use of cookies.