Jump to content
Main menu
Main menu
move to sidebar
hide
Eya ho
Leqephe la pele
Potjho e kopano
Liphetoho tsa morao-rao
Mpontshe leqephe le leng le le leng
Thusa
Maqephe a khethehileng
Fuputsa
Batla
Appearance
Dimpho
Etsa akhaonto
Ho kena
Lisebelisoa tsa botho
Dimpho
Etsa akhaonto
Ho kena
Pages for logged out editors
learn more
Contributions
Talk
Editing
Module:Category handler/shared
Add languages
Module
Moqoqo
English
Read
Fetola mohloli
Sheba histori
Lisebelisoa
Tools
move to sidebar
hide
Actions
Read
Fetola mohloli
Sheba histori
General
What links here
Liphetoho tse amanang
Kenya faele
Boitsebiso ba Leqephe
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
Template used on this page:
Module:Category handler/shared/doc
(
fetola
)
Fuputsa
Batla
Editing
Module:Category handler/shared
Add languages
Add topic