Module:Namespace detect/config: Difference between revisions

test new config system
m>Mr. Stradivarius
(make comments more informative, and document the possibility to add parameter as an array)
m>Mr. Stradivarius
(test new config system)
Line 25: Line 25:


---- This parameter displays content for the main namespace:
---- This parameter displays content for the main namespace:
-- cfg.main = 'main'
cfg.main = {'foo', 'bar'}


---- This parameter displays in talk namespaces:
---- This parameter displays in talk namespaces:
-- cfg.talk = 'talk'
cfg.talk = 'baz'


---- This parameter displays content for "other" namespaces (namespaces for which
---- This parameter displays content for "other" namespaces (namespaces for which
Anonymous user