মডিউল:বিষয়শ্রেণী পরিচালনাকারী/উপাত্ত: সংশোধিত সংস্করণের মধ্যে পার্থক্য
অবয়ব
"-- This module assembles data to be passed to Module:Category handler using -- mw.loadData. This includes the configuration data and whether the cu..." দিয়ে পাতা তৈরি |
(কোনও পার্থক্য নেই)
|
১৯:৪৭, ২০ সেপ্টেম্বর ২০১৬ তারিখে সম্পাদিত সর্বশেষ সংস্করণ
এই মডিউলের জন্য মডিউল:বিষয়শ্রেণী পরিচালনাকারী/উপাত্ত/নথি-এ নথিপত্র তৈরি করা হয়ে থাকতে পারে
-- 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('মডিউল:বিষয়শ্রেণী পরিচালনাকারী/রূপরেখা')
local mShared = require('মডিউল:বিষয়শ্রেণী পরিচালনাকারী/শেয়ারকৃত')
local blacklist = require('মডিউল:বিষয়শ্রেণী পরিচালনাকারী/কালোতালিকা')
local title = mw.title.getCurrentTitle()
data.currentTitleMatchesBlacklist = mShared.matchesBlacklist(
title.prefixedText,
blacklist
)
data.currentTitleNamespaceParameters = mShared.getNamespaceParameters(
title,
mShared.getParamMappings()
)
return data