« Module:Infobox/Core » : différence entre les versions
De Nefald
Autres actions
m +namespace 3000 Balise : Révoqué |
Annulation des modifications 5085 de Hiob (discussion) Balise : Annulation |
||
| Ligne 72 : | Ligne 72 : | ||
-- Fonction pour gérer la catégorisation automatique | -- Fonction pour gérer la catégorisation automatique | ||
local function addCategories(args, config, frame) | local function addCategories(args, config, frame) | ||
-- | -- Vérifier qu'on est dans le namespace principal (0) | ||
if title.namespace ~= 0 | local title = mw.title.getCurrentTitle() | ||
return '' | if title.namespace ~= 0 then | ||
return '' | |||
end | end | ||