মডিউল: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..." দিয়ে পাতা তৈরি
 
৩টি সংস্করণ আমদানি করা হয়েছে: পুরাতন উইকি থেকে আমদানি
 
(একজন ব্যবহারকারী দ্বারা সম্পাদিত ২টি মধ্যবর্তী সংশোধন দেখানো হচ্ছে না)
১ নং লাইন: ১ নং লাইন:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--                              Module:Hatnote                                --
--                              মডিউল: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 [[Module:Arguments]]
local mArguments -- lazily initialise [[মডিউল:Arguments]]
local yesno -- lazily initialise [[Module:Yesno]]
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('Module:Arguments')
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
-- [[Module:Yesno]], and if we are not on a talk page, a tracking category
-- [[মডিউল: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('Module:Yesno')
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.