Mòdul:Wikidata/labels: diferència entre les revisions
Contingut suprimit Contingut afegit
copiat de la VP, sense les excepcions |
actualitzo definició base |
||
Línia 1:
-- Excepcions per a function getLabel
local infoboxLabelsFromId = {
}
-- Correccions d'etiquetes de forma adequada per a una infotaula (paràmetre label)
local infoboxlabels = {
}
-- Canvis en valors necessaris per a una infotaula (paràmetre data)
local infoboxdata = {
}
-- Codi de funcions de suport
local function fixInfoboxLabel(label)
local lang = mw.language.getContentLanguage()
Linha 33 ⟶ 32:
-- Return exported functions
return {
infoboxLabelsFromId = infoboxLabelsFromId,
fixInfoboxLabel = fixInfoboxLabel,
infoboxdata = infoboxdata
|