:Category handler/data

提供: 大分絵巻wiki
2016年6月2日 (木) 17:21時点におけるMasaharu (トーク | 投稿記録)による版 (1版 をインポートしました)

(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

-- 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