Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
पमुख पत्त Pamukha patta
मन्तन ठान Mantana ṭhāna
नूतन विपरिणामेति Nūtana vipariṇāmeti
अनियता पत्त Aniyatā patta
अवस्सय Avassaya
अन्वेसना
खोज
Appearance
ददाति Dadāti
Create account
Log in
Personal tools
ददाति Dadāti
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Module:Category handler/shared
Add languages
Module
सम्भासनं
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Upload file
Page information
Get shortened URL
Download QR code
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
-- This module contains shared functions used by [[Module:Category handler]] -- and its submodules. local p = {} function p.matchesBlacklist(page, blacklist) for i, pattern in ipairs(blacklist) do local match = mw.ustring.match(page, pattern) if match then return true end end return false end function p.getParamMappings(useLoadData) local dataPage = 'Module:Namespace detect/data' if useLoadData then return mw.loadData(dataPage).mappings else return require(dataPage).mappings end end function p.getNamespaceParameters(titleObj, mappings) -- We don't use title.nsText for the namespace name because it adds -- underscores. local mappingsKey if titleObj.isTalkPage then mappingsKey = 'talk' else mappingsKey = mw.site.namespaces[titleObj.namespace].name end mappingsKey = mw.ustring.lower(mappingsKey) return mappings[mappingsKey] or {} end return p
Summary:
By saving changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Preview page with this template
Wikidata entities used in this page
Module:Category handler/shared
: Sitelink, Description: en
Templates used on this page:
पटिरूप:Copied from English Wikipedia without documentation
(
edit
)
पटिरूप:Str rightc
(
edit
)
Module:Category handler/shared/doc
(
edit
)
Module:No globals
(
edit
)
Module:Ustring
(
edit
)
अन्वेसना
खोज
Editing
Module:Category handler/shared
Add languages
Add topic