মডিউল:Hatnote: সংশোধিত সংস্করণের মধ্যে পার্থক্য
"-------------------------------------------------------------------------------- -- Module:Hatnote -- -- -- -- This module produces hatnote links and links to related articles. It -- -- implements the {{hatnote}} and {{format link}} meta-templates and includes -- -- helper functions for other Lua hatnote modu..." দিয়ে পাতা তৈরি |
খাত্তাব হাসান (আলোচনা | অবদান) অ ৩টি সংস্করণ আমদানি করা হয়েছে: পুরাতন উইকি থেকে আমদানি |
||
| (একজন ব্যবহারকারী দ্বারা সম্পাদিত ২টি মধ্যবর্তী সংশোধন দেখানো হচ্ছে না) | |||
| ১ নং লাইন: | ১ নং লাইন: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- | -- মডিউল:Hatnote -- | ||
-- -- | -- -- | ||
-- This module produces hatnote links and links to related articles. It -- | -- This module produces hatnote links and links to related articles. It -- | ||
| ১০ নং লাইন: | ১০ নং লাইন: | ||
local checkType = libraryUtil.checkType | local checkType = libraryUtil.checkType | ||
local checkTypeForNamedArg = libraryUtil.checkTypeForNamedArg | local checkTypeForNamedArg = libraryUtil.checkTypeForNamedArg | ||
local mArguments -- lazily initialise [[ | local mArguments -- lazily initialise [[মডিউল:Arguments]] | ||
local yesno -- lazily initialise [[ | local yesno -- lazily initialise [[মডিউল:Yesno]] | ||
local p = {} | local p = {} | ||
| ২২ নং লাইন: | ২২ নং লাইন: | ||
-- Fetches the arguments from the parent frame. Whitespace is trimmed and | -- Fetches the arguments from the parent frame. Whitespace is trimmed and | ||
-- blanks are removed. | -- blanks are removed. | ||
mArguments = require(' | mArguments = require('মডিউল:Arguments') | ||
return mArguments.getArgs(frame, {parentOnly = true}) | return mArguments.getArgs(frame, {parentOnly = true}) | ||
end | end | ||
| ৭৯ নং লাইন: | ৭৯ নং লাইন: | ||
-- Formats an error message to be returned to wikitext. If | -- Formats an error message to be returned to wikitext. If | ||
-- addTrackingCategory is not false after being returned from | -- addTrackingCategory is not false after being returned from | ||
-- [[ | -- [[মডিউল:Yesno]], and if we are not on a talk page, a tracking category | ||
-- is added. | -- is added. | ||
checkType('makeWikitextError', 1, msg, 'string') | checkType('makeWikitextError', 1, msg, 'string') | ||
checkType('makeWikitextError', 2, helpLink, 'string', true) | checkType('makeWikitextError', 2, helpLink, 'string', true) | ||
yesno = require(' | yesno = require('মডিউল:Yesno') | ||
title = title or mw.title.getCurrentTitle() | title = title or mw.title.getCurrentTitle() | ||
-- Make the help link text. | -- Make the help link text. | ||