Search Results: Module:Namespace detect/doc

Sorry, the article you're looking for isn't specifically available. Here are related topics:


Module:Namespace detect
Senin, 2017-01-30 09:29:14

{{namespace detect}} template in Lua, with a -- -- few improvements: all namespaces and all namespace aliases are supported, -- -- and namespace names...

Click to read more »
Module:Namespace detect/config
Jumat, 2022-01-28 01:50:10

----------------------------------------------- -- Namespace detect configuration data -- -- ...

Click to read more »
Module:Namespace detect/data
Jumat, 2022-01-28 01:50:10

Namespace detect data -- -- This module holds data for [[Module:Namespace detect]] to be loaded per...

Click to read more »
Module:Transclusion count
Kamis, 2022-12-29 06:19:21

elseif namespace == 10 then -- Template namespace template = mw.title.getCurrentTitle().text elseif namespace == 828 then -- Module namespace template...

Click to read more »
Module:Asbox
Sabtu, 2021-01-30 20:55:31

affect category() output for articles self.demo = self.demo or page.namespace ~= 0 and args.demo return args, page end }, require('Module:Buffer')...

Click to read more »
Module:Ns has subpages
Jumat, 2017-03-10 05:05:59

the current namespace if we were not passed one. if not ns then ns = mw.title.getCurrentTitle().namespace end -- Look up the namespace table from...

Click to read more »
Module:Category handler/shared
Jumat, 2022-01-28 01:49:58

mappings end end function p.getNamespaceParameters(titleObj, mappings) -- We don't use title.nsText for the namespace name because it adds -- underscores...

Click to read more »
Module:UserLinks/shared
Senin, 2018-04-23 02:06:50

formatPage(interwiki, namespace, page) -- Formats an interwiki, a namespace and a page into a wikilink-ready -- string. The interwiki and namespace are optional...

Click to read more »
Module:Pagetype
Senin, 2018-04-23 02:43:31

function checkPagetypeInput(namespace, val) -- Checks to see whether we need the default value for the given namespace, -- and if so gets it from the...

Click to read more »
Module:Relatit
Sabtu, 2020-10-03 05:34:35

+ 1] = page end end if #pages == 0 and mw.title.getCurrentTitle().namespace == 0 then return mHatnote.makeWikitextError( 'no page names specified'...

Click to read more »
Module:Relatit/sandbox
Sabtu, 2020-10-03 05:33:12

+ 1] = page end end if #pages == 0 and mw.title.getCurrentTitle().namespace == 0 then return mHatnote.makeWikitextError( 'no page names specified'...

Click to read more »
Module:Page
Sabtu, 2019-02-16 06:42:26

local makeTitle=args.makeTitle or pargs.makeTitle local namespace=args.namespace or pargs.namespace or "" local fragment=args.fragment or pargs.fragment...

Click to read more »
Module:Navbar/configuration
Jumat, 2022-01-28 01:50:14

-- default text box when not plain or mini ['title_namespace'] = 'Template', -- namespace to default to for title ['invalid_title'] = 'Invalid title...

Click to read more »
Module:Category handler
Jumat, 2022-01-28 01:49:57

a few improvements: all namespaces and all namespace aliases -- -- are supported, and namespace names are detected automatically for --...

Click to read more »
Module:Italic title
Minggu, 2022-10-23 22:20:41

-- Namespace local namespace = mw.site.namespaces[title.namespace].name if namespace and #namespace >= 1 then self.namespace = namespace ...

Click to read more »
Module:Effective protection level
Kamis, 2022-01-20 20:04:00

create, upload, undelete, autoreview', 2 ) end if title.namespace == 8 then -- MediaWiki namespace if title.text:sub(-3) == '.js' or title.text:sub(-4)...

Click to read more »
Module:Subject bar
Selasa, 2019-12-17 11:18:44

(thisPage.namespace == 1) -- Talk or (thisPage.namespace == 2) -- User or (thisPage.namespace == 3) -- User talk or (thisPage.namespace == 5) --...

Click to read more »
Module:Nn-verb-irreg
Senin, 2020-04-27 08:08:29

frame:getParent().args PAGENAME = mw.title.getCurrentTitle().text NAMESPACE = mw.title.getCurrentTitle().nsText length = PAGENAME:len() ...

Click to read more »
Module:La-noun
Senin, 2020-04-27 08:06:55

require("Module:utilities") local m_para = require("Module:parameters") NAMESPACE = NAMESPACE or mw.title.getCurrentTitle().nsText PAGENAME = PAGENAME or mw.title...

Click to read more »
Module:Pagetype/config
Senin, 2018-04-23 02:44:14

"user=true", etc. Keys to -- this table should be namespace parameters that can be used with -- [[Module:Namespace detect]]. cfg.pagetypes = { ['main'] ...

Click to read more »
Module:Documentation/config
Jumat, 2022-01-28 01:50:00

cfg['module-namespace-heading'] -- The heading shown in the module namespace. cfg['module-namespace-heading'] = 'Module documentation' -- cfg['file-namespace-heading']...

Click to read more »
Module:Documentation
Kamis, 2022-12-29 06:19:20

subject namespace number. return mw.site.namespaces[env.title.namespace].subject.id end function envFuncs.docSpace() -- The documentation namespace number...

Click to read more »
Module:WikidataCheck
Senin, 2015-03-02 22:04:48

-- one-way flag to check if we're in a good namespace local ns = mw.title.getCurrentTitle().namespace for v in mw.text.gsplit( namespaces, ","...

Click to read more »
Module:Portal
Jumat, 2019-12-20 08:40:54

(thisPage.namespace == 1) -- Talk or (thisPage.namespace == 2) -- User or (thisPage.namespace == 3) -- User talk or (thisPage.namespace == 5) --...

Click to read more »
Module:Homophones
Senin, 2020-04-27 08:06:44

.. text end --if there is no term at all, return default text if namespace is Template if mw.title.getCurrentTitle().nsText == "Template" then ...

Click to read more »
Module:Redirect hatnote
Sabtu, 2017-10-28 02:50:21

v:find('^REDIRECT%d*$') and v ~= 'TERM' -- and currentTitle.namespace == 0 or currentTitle.namespace == 14 then redirectTitle = redirectTitle or getTitle(v)...

Click to read more »
Module:Hatnote
Sabtu, 2020-10-03 05:17:02

return s:match('^:?(.*)') end function p.findNamespaceId(link, removeColon) -- Finds the namespace id (namespace number) of a link or a pagename. This --...

Click to read more »
Module:Alternative forms
Senin, 2020-04-27 08:05:57

m_debug.track("alter/" .. arg) end end function export.create(frame) NAMESPACE = mw.title.getCurrentTitle().nsText params = { [1] = { required =...

Click to read more »
Module:Main
Selasa, 2018-05-15 01:35:10

+ 1] = page end end if #pages == 0 and mw.title.getCurrentTitle().namespace == 0 then return mHatnote.makeWikitextError( 'nae page names specifeed'...

Click to read more »
Module:IPA
Senin, 2020-04-27 08:05:48

format_IPA_multiple(lang, items, separator) if lang and (namespace == "" or namespace == "Reconstruction") then category = "[[Category:Wt/sco/"...

Click to read more »
Module:Protection banner
Rabu, 2026-02-18 15:57:12

the namespace key fragment. local namespaceFragment = cfg.categoryNamespaceKeys[title.namespace] if not namespaceFragment and title.namespace % 2 ==...

Click to read more »
Module:Term cleanup
Senin, 2020-04-27 08:11:23

cleanup/user namespace]]" elseif title.nsText == "Wiktionary" then return "[[Category:Wt/sco/term cleanup/wiktionary namespace]]" ...

Click to read more »
Module:Utils
Senin, 2020-04-27 08:11:32

getCurrentTitle().subpageText local NAMESPACE = mw.title.getCurrentTitle().nsText if NAMESPACE == 'User' or NAMESPACE == 'Участник' then return SUBPAGENAME...

Click to read more »
Module:Usex
Minggu, 2020-11-01 13:08:03

wrap('div', class, text) end function export.format_usex(data) local namespace = mw.title.getCurrentTitle().nsText local lang, sc, usex, translation...

Click to read more »
Module:Category handler/data
Jumat, 2022-01-28 01:49:58

matchesBlacklist( title.prefixedText, blacklist ) data.currentTitleNamespaceParameters = mShared.getNamespaceParameters( title, mShared.getParamMappings() ) return...

Click to read more »
Module:ISO 3166
Kamis, 2020-10-15 03:12:42

getCurrentTitle().namespace ~= 0 then catnosubdivision = '' end return catnosubdivision end end if mw.title.getCurrentTitle().namespace ~= 0 then catnocountry...

Click to read more »
Module:Authority control
Minggu, 2022-10-23 22:18:48

local p = {} local title = mw.title.getCurrentTitle() local namespace = title.namespace local testcases = (string.sub(title.subpageText,1,9) == 'testcases')...

Click to read more »
Module:Headword
Sabtu, 2023-04-08 08:22:19

show_headword_line(data) local namespace = title.nsText -- Check the namespace against the language type if namespace == "" then if data.lang:getType()...

Click to read more »
Module:Category described in year
Minggu, 2022-10-23 22:23:29

--prelim namespace/title determination local currCat = nil local currQID = nil if currentTitle.namespace == 14 then --category namespace currCat...

Click to read more »
Module:Letters
Senin, 2020-04-27 08:08:20

local args = frame:getParent().args local namespace = mw.title.getCurrentTitle().nsText if namespace ~= "Appendix" then return export.letters2(frame)...

Click to read more »
Module:Category relatit
Jumat, 2020-10-23 03:30:06

category name", category ), 0) elseif title.namespace == 14 then -- Category namespace pageName = title.text display = title.text else...

Click to read more »
Module:Utilities
Senin, 2020-04-27 08:11:31

format_categories(categories, lang, sort_key, sort_base, force_output, sc) local NAMESPACE = mw.title.getCurrentTitle().nsText if type(lang) == "table" and not...

Click to read more »
Module:Message box
Selasa, 2025-07-15 09:49:30

main namespace elseif ns == 6 then obj.cfg = cfg.imbox -- file namespace elseif ns == 14 then obj.cfg = cfg.cmbox -- category namespace else...

Click to read more »
Module:Category handler/config
Jumat, 2022-01-28 01:49:58

parameter name for data to return if no data is specified for the -- namespace that is detected. other = 'other', -- The parameter name used to specify...

Click to read more »
Module:WikitextParser
Rabu, 2026-02-11 21:55:10

local namespace = string.match( link, '^%[%[ *(.-) *:' ) if namespace and mw.site.namespaces[ namespace ] and mw.site.namespaces[ namespace ].canonicalName...

Click to read more »
Module:Lua banner
Kamis, 2020-10-15 01:53:50

subpageBlacklist[titleObj.subpageText] then local protCatName if titleObj.namespace == 10 then local category = args.category if not category then ...

Click to read more »
Module:AfC
Kamis, 2013-08-15 06:49:02

shorttitle(fulltitle, maxlength) --strip off namespace:basepage/ if it exists and anything is left --if not, strip off namespace --truncate to maxlength ...

Click to read more »
Module:High-use
Kamis, 2022-12-29 06:25:46

getCurrentTitle().namespace == 828 and "module" or "template"), title.fullText, title.fullText, mw.title.getCurrentTitle().namespace == 828 and "Module:Sandbox|module...

Click to read more »
Module:Random portal component
Senin, 2018-06-04 01:29:53

</strong>', title ) if mw.title.getCurrentTitle().namespace == 100 then -- is in the portal namespace msg = msg .. '[[Category:Portals needin attention]]'...

Click to read more »
Module:Uses TemplateStyles
Jumat, 2019-12-20 08:40:54

sandbox2 = true, testcases = true } if (titleObj.namespace == 10 or titleObj.namespace == 828) and not subpageBlacklist[titleObj.subpageText]...

Click to read more »
Module:Taxonbar/candidate
Selasa, 2019-07-09 03:31:26

--unset if acceptable found } --find Wikidata item if currentTitle.namespace == 0 then --mainspace local currentEntityId = mw.wikibase.getEntityIdForCurrentPage()...

Click to read more »
Module:Singles
Selasa, 2017-08-01 01:14:37

local title if titleobj.namespace == 10 then -- NS_TEMPLATE title = titleobj.text elseif titleobj.namespace == 0 then -- NS_MAIN title =...

Click to read more »
Module:Protected edit request
Rabu, 2014-02-19 07:07:51

function (titleObj) return titleObj.namespace == 10 or titleObj.namespace == 828 end) end function titleTable:hasNonTemplateOrModule()...

Click to read more »
Module:Template invocation
Selasa, 2019-12-17 11:15:14

string or a mw.title object", 2) end if title.namespace == 10 then return title.text elseif title.namespace == 0 then return ':' .. title.prefixedText...

Click to read more »
Module:La-headword
Senin, 2020-04-27 08:06:54

number == "p" and NAMESPACE == '' then table.insert(data.categories, "Latin pluralia tantum") elseif number == "s" and NAMESPACE == '' then table...

Click to read more »
Module:Shortcut
Jumat, 2022-01-28 01:50:37

if templateMode then -- Namespace detection local titleObj = mw.title.new(shortcut, 10) if titleObj.namespace == 10 then templatePath =...

Click to read more »
Module:Requested move
Kamis, 2023-11-23 17:20:00

e.g., [[%s:%s]]' msg = string.format(msg, mw.site.namespaces[title.namespace].talk.name, title.text) return err(msg, argsByNum, args.reason, argsByNumCount)...

Click to read more »
Module:Pt-noun
Senin, 2020-04-27 08:11:06

PAGENAME, NAMESPACE function export.show(frame) local args = frame:getParent().args PAGENAME = mw.title.getCurrentTitle().text NAMESPACE = mw...

Click to read more »
Module:Location map
Rabu, 2023-03-01 08:34:39

'' ) if args.caption and args.caption ~= '' then if (currentTitle.namespace == 0) and mw.ustring.find(args.caption, '##') then retval = retval...

Click to read more »
Module:Unsubst-infobox
Senin, 2017-07-03 04:42:02

local title if titleobj.namespace == 10 then -- NS_TEMPLATE title = titleobj.text elseif titleobj.namespace == 0 then -- NS_MAIN title =...

Click to read more »
Module:Translations
Senin, 2023-03-06 07:15:40

"appendix-constructed" then error("Translations must be for attested and approved main-namespace languages.") end -- Don't show the interwiki link if there is nothing...

Click to read more »
Module:Pl-adj
Senin, 2020-04-27 08:11:04

mention" lang="pl" xml:lang="pl">%s</i>'):format(pargs.head or ((title.namespace == 0) and title.text or (pargs[1] or "{{{1}}}"))), title.fullText) end...

Click to read more »
Module:InfoboxImage
Kamis, 2020-10-15 03:04:10

if found local cat = ""; if mw.title.getCurrentTitle().namespace == 0 and (mw.ustring.find(image, "|%s*thumb%s*[|%]]") or mw.ustring.find(image...

Click to read more »
Module:Gl-noun
Senin, 2020-04-27 08:06:38

= frame:getParent().args PAGENAME = mw.title.getCurrentTitle().text NAMESPACE = mw.title.getCurrentTitle().nsText local data = {lang = lang, pos_category...

Click to read more »
Module:Protection banner/config
Kamis, 2022-12-29 06:19:20

-- The string to use as a namespace key for the protectionCategories table for each -- namespace number. categoryNamespaceKeys = { [ 2] = 'user', [...

Click to read more »
Module:Ro-headword
Senin, 2020-04-27 08:11:08

template. function export.show(frame) local args = frame:getParent().args NAMESPACE = mw.title.getCurrentTitle().nsText PAGENAME = mw.title.getCurrentTitle()...

Click to read more »
Module:Portal/images/x
Jumat, 2014-06-06 00:40:15

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be omitted. ]==] return { ["x-ray astronomy"] = "Chandra...

Click to read more »
Module:Script utilities
Senin, 2020-04-27 08:11:15

process(frame:getParent().args, params) local NAMESPACE = mw.title.getCurrentTitle().nsText local lang = args[1] or (NAMESPACE == "Template" and "und") or error("Language...

Click to read more »
Module:Portal/images/y
Jumat, 2014-06-06 00:40:55

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be omitted. ]==] return { ["yirdquauks"] = "NormalFault...

Click to read more »
Module:Portal/images/q
Jumat, 2014-06-06 00:29:04

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be omitted. ]==] return { ["quebec"] = "Flag of Quebec...

Click to read more »
Module:Portal/images/z
Jumat, 2014-06-06 00:41:31

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be omitted. ]==] return { ["zambie"] = "Flag of Zambia...

Click to read more »
Module:Portal/images/other
Kamis, 2014-06-05 20:54:39

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be omitted. ]==] return { ["3:2 aspect image"] = "Flag...

Click to read more »
Module:Userbox
Sabtu, 2017-03-11 05:25:02

getCurrentTitle() if (title.namespace == 2) and not title.text:match("/") then return tostring(root) -- regular user page elseif title.namespace == 14 then return...

Click to read more »
Module:Lang/utilities
Minggu, 2022-10-23 22:22:07

use Module:Lang/sandbox; Module:Lang else local namespace = mw.title.getCurrentTitle().namespace; -- used for categorization local this_wiki_lang...

Click to read more »
Module:Iucn
Minggu, 2022-10-23 22:24:46

-- holds hidden maint messages for rendering local namespace = mw.title.getCurrentTitle().namespace; -- used for categorization local args = getArgs...

Click to read more »
Module:Etymology/templates
Sabtu, 2020-09-19 07:19:07

process(frame:getParent().args, params) end if args.sandbox then if namespace == "" or namespace == "Reconstruction" then error('The sandbox module, Module:descendants...

Click to read more »
Module:Portal/images/j
Jumat, 2014-06-06 00:21:41

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be omitted. ]==] return { ["jacksonville"] = "Flag of...

Click to read more »
Module:Portal/images/v
Jumat, 2014-06-06 00:39:03

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be omitted. ]==] return { ["vajrayana buddhism"] = "Guru...

Click to read more »
Module:Portal/images/k
Jumat, 2014-06-06 00:22:21

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be omitted. ]==] return { ["kabbalah"] = "Tree of life...

Click to read more »
Module:Portal/images/d
Jumat, 2014-06-06 00:10:34

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be omitted. ]==] return { ["dacia"] = "Dacie Burebista...

Click to read more »
Module:Portal/images/o
Selasa, 2023-04-11 06:17:41

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be omitted. ]==] return { ["oaxaca"] = "Flag of Oaxaca...

Click to read more »
Module:Portal/images/f
Minggu, 2023-04-09 13:31:55

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be omitted. ]==] return { ["faisalabad"] = "Faisalabad...

Click to read more »
Module:Portal/images/u
Sabtu, 2018-04-14 00:22:28

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be omitted. ]==] return { ["u.s. roads"] = "Blank shield...

Click to read more »
Module:Portal/images/w
Selasa, 2023-04-11 06:00:07

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be omitted. ]==] return { ["wales"] = "Flag of Wales...

Click to read more »
Module:IrelandBiCoontyCatNav
Sabtu, 2018-05-12 23:09:26

text = [" .. thispage.text .."]") debugLog(2, "thispage.namespace = [" .. thispage.namespace .."]") debugLog(2, "thispage.nsText = [" .. thispage.nsText...

Click to read more »
Module:Citation/CS1
Minggu, 2022-10-23 22:19:13

-- hack to detect things that look like s:Page:Title where Page: is namespace at Wikisource return false; end local patterns = { ...

Click to read more »
Module:Portal/images/e
Jumat, 2014-06-06 00:40:49

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be omitted. ]==] return { ["eastenders"] = "EastEnders...

Click to read more »
Module:Lang
Minggu, 2022-10-23 22:19:23

639-2/639-2T code translation to 639-1 code local namespace = mw.title.getCurrentTitle().namespace; -- used for categorisation local this_wiki_lang...

Click to read more »
Module:Portal/images/i
Selasa, 2016-06-14 00:49:36

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be omitted. ]==] return { ["ice hockey"] = "2hockeypucks...

Click to read more »
Module:Portal/images/r
Jumat, 2014-06-06 00:30:18

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be omitted. ]==] return { ["r&b an soul music"] = "Musical...

Click to read more »
Module:Portal/images/l
Minggu, 2017-03-26 08:03:02

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be omitted. ]==] return { ["lacrosse"] = "Crossed lacrosse...

Click to read more »
Module:Offeecial wabsteid
Selasa, 2020-01-28 07:13:40

renderTrackingCategory(url, wikidataurl) if mw.title.getCurrentTitle().namespace ~= 0 then return '' end local category if not url and not wikidataurl...

Click to read more »
Module:Portal/images/h
Jumat, 2014-06-06 00:17:32

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be omitted. ]==] return { ["haiti"] = "Flag of Haiti...

Click to read more »
Module:Template link
Senin, 2020-04-27 08:11:22

["ROOTPAGENAMEE" ] = "mw:Help:Magic words#Page names"; -- undocumented ["NAMESPACE" ] = "mw:Help:Magic words#Namespaces"; ["NAMESPACENUMBER" ...

Click to read more »
Module:RoundN
Rabu, 2018-06-27 12:32:48

p.previewnumbers then p.namespace = p.namespace or mw.title.getCurrentTitle().namespace if p.namespace ~= 0 then tab.r:tag'div'...

Click to read more »
Module:FindYDCportal
Kamis, 2020-01-02 12:30:41

"1940s", "790s"). If a portal is found, return its name without the namespace prefix (e.g. for "Portal:1980s" return "1980s"); otherwise return an...

Click to read more »
Module:Navbar
Jumat, 2022-01-28 01:50:11

font_style) local title = mw.title.new(mw.text.trim(title_text), cfg.title_namespace) if not title then error(cfg.invalid_title .. title_text) end local...

Click to read more »
Module:Es-conj
Senin, 2020-04-27 08:06:11

inflect_combined(export.inflect(args, categories, false), args, true) if calling_title.namespace == 0 then return m_table.create(frame, args, forms, combined) ....

Click to read more »
Module:Lang/sandbox
Minggu, 2022-10-23 22:19:28

override and transliteration tool-tip tables local namespace = mw.title.getCurrentTitle().namespace; -- used for categorization local this_wiki_lang...

Click to read more »
Module:Portal/images/g
Jumat, 2014-06-06 00:16:28

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be omitted. ]==] return { ["gabon"] = "Flag of Gabon...

Click to read more »
Module:Portal/images/p
Jumat, 2024-02-23 21:02:19

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be omitted. ]==] return { ["pakistan"] = "Flag of Pakistan...

Click to read more »
Module:Nl-adjective
Senin, 2020-04-27 08:08:26

function export.show(frame) PAGENAME = mw.title.getCurrentTitle().text NAMESPACE = mw.title.getCurrentTitle().nsText local word_type = frame.args["word_type"]...

Click to read more »
Module:Parameters
Senin, 2020-04-27 08:11:01

If any entry remains, trigger an error, unless we're in the template namespace. if mw.title.getCurrentTitle().nsText ~= "Template" then local list...

Click to read more »
Module:Taxonbar
Minggu, 2022-10-23 22:23:12

relationship with Wikidata local currentItem = nil if currentTitle.namespace == 10 then --i.e. Module:Taxonbar/sandbox, Template:Taxonbar/doc, etc...

Click to read more »
Module:Episode table
Jumat, 2018-08-03 12:27:26

white_cr = contrast_ratio{'white', background, ['error'] = 0} if title.namespace == 0 and (args.background and args.background ~= '' and args.background...

Click to read more »
Module:Portal/images/aliases
Kamis, 2014-06-05 21:06:21

portal name and the alias names should be in lower case, and the "Portal:" namespace prefix -- should be omitted. For example, if you wanted "UK" to be an...

Click to read more »
Module:Portal/images/t
Rabu, 2023-04-12 12:47:02

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be omitted. ]==] return { ["tabaristan"] = "P_Tabaristan...

Click to read more »
Module:Portal/images/n
Jumat, 2014-06-06 00:26:43

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be omitted. ]==] return { ["nairobi"] = "Flag of Nairobi...

Click to read more »
Module:Template link general
Kamis, 2022-01-20 19:24:53

_ne(textPart) then if titleObj ~= nil then textPart = titleObj:inNamespace("Template") and args['1'] or titleObj.fullText else -- redlink ...

Click to read more »
Module:Tlg
Senin, 2020-09-28 22:46:47

_ne(textPart) then if titleObj ~= nil then textPart = titleObj:inNamespace("Template") and args['1'] or titleObj.fullText else -- redlink ...

Click to read more »
Module:Portal/images/b
Jumat, 2014-06-06 00:07:09

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be -- omitted. ]==] return { ["babism"] = "Haykal2.gif"...

Click to read more »
Module:Delink
Minggu, 2022-10-23 22:20:13

local ns = mw.site.namespaces[colonprefix] -- see if this is a known namespace if mw.language.isKnownLanguageTag(colonprefix) or ( ns and ( ns...

Click to read more »
Module:Dts
Jumat, 2017-05-26 04:37:27

ret ) if mw.title.getCurrentTitle().namespace == 0 then -- Only categorise in the main namespace ret = ret .. '[[Category:Dts templates with...

Click to read more »
Module:Ru-headword
Senin, 2020-04-27 08:11:11

clone_args(frame) local PAGENAME = mw.title.getCurrentTitle().text local NAMESPACE = mw.title.getCurrentTitle().nsText local poscat = ine(frame.args[1])...

Click to read more »
Module:Portal/images/m
Jumat, 2014-06-06 00:25:22

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be omitted. ]==] return { ["m*a*s*h"] = "Mash-logo2.JPG"...

Click to read more »
Module:Excerpt
Minggu, 2026-05-10 22:46:34

contentCategory .. ']]' end local namespaceCategory = config.categories[ currentTitle.namespace ] if namespaceCategory then addedCategories = true...

Click to read more »
Module:Pages with authority control identifiers
Minggu, 2022-10-23 22:21:23

getCurrentTitle() local title = currentTitle.text local isCat = (currentTitle.namespace == 14) --[[==========================================================================]]...

Click to read more »
Module:Infobox
Kamis, 2020-10-15 03:06:03

end elseif #(getArgNums('data')) == 0 and mw.title.getCurrentTitle().namespace == 0 then root:wikitext('[[Category:Airticles which uise infobox templates...

Click to read more »
Module:Video gemme reviews
Minggu, 2022-10-23 22:21:54

customReviewerKeys, args, wikidata) elseif mw.title.getCurrentTitle().namespace == 0 then return data.i18n.emptyCategory end end function p.reviewbox(frame)...

Click to read more »
Module:Episode list
Minggu, 2015-11-08 07:52:44

on the page where the template is used if not on_main_page and title.namespace == 0 then if args.LineColor and args.LineColor ~= '' then local black_cr...

Click to read more »
Module:Portal/images/s
Jumat, 2022-05-27 19:18:54

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be omitted. ]==] return { ["saarc"] = "SAARC.png", ["sabah"]...

Click to read more »
Module:Convert
Rabu, 2020-09-02 02:10:55

and template local namespace = title.namespace for _, v in ipairs(split(config.nscat or nsdefault, ',')) do if namespace == tonumber(v) then ...

Click to read more »
Module:La-verb
Senin, 2020-04-27 08:06:58

getByCode("la") local title = mw.title.getCurrentTitle() local NAMESPACE = title.nsText local PAGENAME = title.text -- Conjugations are the functions...

Click to read more »
Module:La-adj/data
Senin, 2020-04-27 08:06:52

= require("Module:utilities") local rmatch = mw.ustring.match NAMESPACE = NAMESPACE or mw.title.getCurrentTitle().nsText local function glossary_link(anchor...

Click to read more »
Module:Automated taxobox
Minggu, 2022-10-23 22:23:22

(page title) if required if italicTitle == 'yes' and currentPagename.namespace == 0 then ItalicTitle._main({}) end -- set the taxobox name if not...

Click to read more »
Module:Transclusion count/data/S
Kamis, 2022-12-29 06:19:21

["Single_chart"] = 35000, ["Single_chart/chartnote"] = 35000, ["Single_namespace"] = 192000, ["Singlechart"] = 21000, ["Singles"] = 40000, ["Sister-inline"]...

Click to read more »
Module:Webarchive/data
Kamis, 2020-07-09 07:30:58

namespaces that should not be included in citation error categories. Note: Namespace names should use underscores instead of spaces. ]] local uncategorized_namespaces...

Click to read more »
Module:Transcluder
Jumat, 2026-02-06 21:33:43

name of a namespace and all its aliases -- @param name Canonical name of the namespace, for example 'File' -- @return Local name of the namespace and all...

Click to read more »
Module:Coordinates
Minggu, 2022-10-23 22:18:54

wikibase.getEntityIdForCurrentPage() if mw.wikibase and current_page.namespace == 0 then if qid and mw.wikibase.entityExists(qid) and mw.wikibase...

Click to read more »
Module:Flagg
Selasa, 2019-12-17 11:28:00

["none"]=placeholder; ["blank"]=placeholder} if pimage then --Remove namespace pimage = string.gsub(pimage,"^[Ff][Ii][Ll][Ee]:","") pimage = string...

Click to read more »
Module:Track gauge
Minggu, 2017-03-05 00:37:59

return ns .. cat elseif doReturn == 'pagename' then -- plaintext, no namespace return cat elseif doReturn == 'show' then -- colontrick return...

Click to read more »
Module:Portal/images/a
Jumat, 2019-12-20 08:40:54

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be -- omitted. ]==] return { ["airports"] = "Round Landmark...

Click to read more »
Module:Infobox3cols
Selasa, 2016-08-23 00:02:58

if #(getArgNums('data','[abc]?')) == 0 and mw.title.getCurrentTitle().namespace == 0 then root:wikitext('[[Category:Articles which use infobox...

Click to read more »
Module:Series overview
Minggu, 2022-10-23 22:22:39

do -- One row entries, only categorized in the mainspace if title.namespace == 0 and #SeasonEntries == 1 then categories = categories .. '[[Category:Articles...

Click to read more »
Module:Track listing
Jumat, 2018-02-23 01:30:22

if not self.showCategories or mw.title.getCurrentTitle().namespace ~= 0 then return '' end local ret = '' local function addCategory(cat)...

Click to read more »
Module:La-nominal
Senin, 2020-04-27 08:06:55

require("Module:parameters") local current_title = mw.title.getCurrentTitle() local NAMESPACE = current_title.nsText local PAGENAME = current_title.text local m_noun_decl...

Click to read more »
Module:Portal/images/c
Jumat, 2025-07-11 02:32:07

kingdom". The image name should be capitalised normally, and the "File:" -- namespace prefix should be -- omitted. ]==] return { ["cabo verde"] = "Flag of...

Click to read more »
Module:La-noun/data
Senin, 2020-04-27 08:06:56

"]]" end local current_title = mw.title.getCurrentTitle().nsText local NAMESPACE = current_title.nsText local PAGENAME = current_title.text decl["1"]...

Click to read more »
Module:Navbox
Jumat, 2022-01-28 01:50:22

border) local title = mw.title.getCurrentTitle() if title.namespace ~= 10 then return end -- not in template space local subpage = title...

Click to read more »
Module:Location map/data/doc
Sabtu, 2021-03-13 06:12:16

Module documentation This page is a template which generates documentation for location map data modules having names starting with "Module:Location map/data/"...

Click to read more »
Module:Portal/images
Jumat, 2024-02-23 21:02:31

page. The image name should be capitalised normally, and the "File:" namespace prefix should be -- omitted. local images = { ["3:2 aspect image"]...

Click to read more »
Module:WikidataIB
Senin, 2023-02-13 20:06:53

further if sitelink:lower() ~= label:lower() then -- strip any namespace or dab from the sitelink local pos = sitelink:find(":") or 0 ...

Click to read more »
Module:Wd
Rabu, 2020-07-08 09:39:07

split(mw.wikibase.getSitelink(aliasesQ.citeWeb) or "", ":")[2] -- split off namespace from front -- get title of template that expands stated-in references...

Click to read more »
Module:Webarchive
Minggu, 2022-10-23 22:20:36

createTracking() if not excepted_pages[this_page.fullText] then -- namespace:title/fragment is allowed to be categorized (typically this module's /...

Click to read more »
Module:TemplatePar
Rabu, 2023-04-19 21:20:37

opt.errNS then local ns = mw.title.getCurrentTitle().namespace local st = type( opt.errNS ) if st ==...

Click to read more »
Module:WPSHIPS utilities
Minggu, 2022-10-23 22:24:15

errors|help]])</span>%s%s%s'; local category = ''; if 0 == mw.title.getCurrentTitle().namespace then -- only categorize pages in article space category =...

Click to read more »
Module:Wikidata
Senin, 2020-09-28 23:19:08

citeWeb) or "" template = mw.text.split(template, ":")[2] -- split off namespace from front -- (1) if both "reference URL" and "title" are present...

Click to read more »
Module:Citation/CS1/Identifiers
Kamis, 2020-10-15 01:12:54

LCCN normalization (http://www.loc.gov/marc/lccn-namespace.html#normalization) 1. Remove all blanks. 2. If there is a forward slash...

Click to read more »
Module:Routemap
Senin, 2018-05-07 01:03:44

'')) .. '</span>') if mw.site.namespaces[mw.title.getCurrentTitle().namespace].isContent then result = result .. (i18n['error-categories'][key] or...

Click to read more »
Module:Citation/CS1/Configuration
Kamis, 2020-10-15 03:34:35

error categories. Same as setting notracking = true by default Note: Namespace names should use underscores instead of spaces. ]] local uncategorized_namespaces...

Click to read more »
Module:Infobox gene
Minggu, 2018-06-03 13:56:15

*lclz*: Category name for mtDNA genes end if mw.title.getCurrentTitle().namespace ~= 0 then category_chromosome = "" end local entrezTitle = "[[Entrez|Entrez]]"...

Click to read more »