« Module:Find sources/config » : différence entre les versions

De La documentation de La Raffinerie
Aller à :navigation, rechercher
m (Changed protection settings for "Module:Find sources/config": dropping per request of EXCON editor ([Edit=Require extended confirmed access] (indefinite) [Move=Require template editor access] (indefinite)))
 
m (1 version importée)
 
(Aucune différence)

Dernière version du 16 juillet 2022 à 14:52

La documentation pour ce module peut être créée à 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()

}