证爱网携手国内顶级家庭教育专家,如果您的家庭有夫妻不和谐、孩子沉迷游戏厌学抑郁等问题,请加微信y4882693咨询。
“Module:Category handler/data”的版本间差异
跳到导航
跳到搜索
小 (导入1个版本) |
(没有差异)
|
2022年8月22日 (一) 22:11的最新版本
此模块的文档可以在Module:Category handler/data/doc创建
-- 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. local data = require('Module:Category handler/config') local mShared = require('Module:Category handler/shared') local blacklist = require('Module:Category handler/blacklist') local title = mw.title.getCurrentTitle() data.currentTitleMatchesBlacklist = mShared.matchesBlacklist( title.prefixedText, blacklist ) data.currentTitleNamespaceParameters = mShared.getNamespaceParameters( title, mShared.getParamMappings() ) return data