Razlika između inačica stranice »Modul:Category handler/data«
Izvor: Hrvatska internetska enciklopedija
(Stvorena nova stranica sa sadržajem: »-- This module assembles data to be passed to Module:Category handler using -- mw.loadData. This includes the configuration data and whether the cur...«.) |
m Oznaka: uklanjanje ručnim načinom |
(Nije prikazana jedna međuinačica istog suradnika) | |
(Nema razlike inačica)
|
Trenutačna izmjena od 13:42, 1. travnja 2022.
<templatestyles src="Modul:Dokumentacija/styles.css"></templatestyles>
This module is used in conjunction with the category handler module to manage categories; it is a very important template used on millions of pages.
This module is subject to page protection. It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing. |
This modul is used in system messages. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid large-scale disruption, any changes should first be tested in this modul's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this modul. Please discuss any changes on the talk page before implementing them. |
-- 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