Module:Find sources/config: Difference between revisions

Jump to navigation Jump to search
m Protected Module:Find sources/config: High-risk Lua module ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))
 
Matt Pijoan (talk | contribs)
m 1 revision imported
 
(No difference)

Latest revision as of 08:12, 9 January 2019

Documentation for this module may be created at Module:Find sources/config/doc

-- Configuration data for [[Module:Find sources]].

return {

-- Define the error message and category to be used if the module is used in
-- the main namespace and the template config doesn't set the
-- isUsedInMainspace key to true. The category is optional; if it is not
-- wanted, it can be removed.
['namespace-error'] = 'Error: Please do not use this template in articles.',
['namespace-error-category'] = 'Pages with templates in the wrong namespace',
 
-- The separator to be used if no separator is specified in the template
-- config.
['default-separator'] = mw.message.new('Dot-separator'):plain()

}