Jump to content

Module:Find sources/config: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
configuration data for Module:Find sources
 
fix comment
Line 6: Line 6:
-- the main namespace and the template config doesn't set the
-- the main namespace and the template config doesn't set the
-- isUsedInMainspace key to true. The category is optional; if it is not
-- isUsedInMainspace key to true. The category is optional; if it is not
-- wanted, set NAMESPACE_ERROR_CATEGORY to nil.
-- wanted, it can be removed.
namespaceError = 'Error: Please do not use this template in articles.',
namespaceError = 'Error: Please do not use this template in articles.',
namespaceErrorCategory = 'Pages with templates in the wrong namespace',
namespaceErrorCategory = 'Pages with templates in the wrong namespace',

Revision as of 12:45, 26 September 2014

-- 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.
namespaceError = 'Error: Please do not use this template in articles.',
namespaceErrorCategory = 'Pages with templates in the wrong namespace',
 
-- The separator to be used if no separator is specified in the template
-- config.
defaultSeparator = mw.message.new('Dot-separator'):plain()

}