Модул:Category handler/data
Зоҳир
Ин модулҳуҷҷатгузориикофӣ надорад.
Вы можете помочь проекту,создав описание модуля:что он делает, как его использовать, какие параметры он принимает, в какие категории добавляет. Это поможет другим использовать его. P.S. Также не забываем прокатегориюиинтервики. P.P.S. Некоторые советы по оформлению есть на странице проекта «Документирование шаблонов». |
-- This module assembles data to be passed to [[Module:Category handler]] using
-- mw.loadData. This includes the configuration data and whether the current
-- page matches the title blacklist.
localdata=require('Module:Category handler/config')
localmShared=require('Module:Category handler/shared')
localblacklist=require('Module:Category handler/blacklist')
localtitle=mw.title.getCurrentTitle()
data.currentTitleMatchesBlacklist=mShared.matchesBlacklist(
title.prefixedText,
blacklist
)
data.currentTitleNamespaceParameters=mShared.getNamespaceParameters(
title,
mShared.getParamMappings()
)
returndata