Module:Category handler/data/doc: Difference between revisions
Appearance
Content deleted Content added
apple Tags: Mobile edit Mobile web edit |
Undid revision 952076411 by 106.213.197.57 (talk) |
||
Line 1: | Line 1: | ||
{{No documentation}} |
{{No documentation}} |
||
{{Module rating|protected}} |
{{Module rating|protected}} |
||
{{used in system}} |
|||
{{used in system}}-- This module assembles data to be passed to [[Module:Category handler]] using |
|||
-- mw.loadData. This includes the configuration data and whether the current |
|||
-- page matches the title blacklist. |
|||
local data = require |
|||
( 'Module:Category handler/config' ) |
|||
local mShared = require |
|||
( 'Module:Category handler/shared' ) |
|||
local blacklist = require |
|||
( 'Module:Category handler/blacklist' ) |
|||
local title = |
|||
mw.title.getCurrentTitle() |
|||
data.currentTitleMatchesBlacklist = |
|||
mShared.matchesBlacklist( |
|||
title.prefixedText, |
|||
blacklist |
|||
) |
|||
data.currentTitleNamespaceParameters = |
|||
mShared.getNamespaceParameters( |
|||
title, |
|||
mShared.getParamMappings() |
|||
) |
|||
return data |
Revision as of 08:17, 14 August 2020
![]() | This module's documentation is missing, inadequate, or does not accurately describe its functionality or the parameters in its code. Please help to expand and improve it. |
![]() | This Lua module is used in system messages, and on approximately 4,790,000 pages, or roughly 8% of all pages. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Please discuss changes on the talk page before implementing them. |