Module:ConfigRepository: Difference between revisions

// via Wikitext Extension for VSCode
// via Wikitext Extension for VSCode
Line 99: Line 99:
p.dateFormatting = {
p.dateFormatting = {
     useShortMonthNames = true
     useShortMonthNames = true
}
-- Global campaigns configuration
-- Campaigns are defined centrally and specify which templates they can be applied to
p.campaigns = {
    ASP2025 = {
        name = "ASP 2025 Pro Bono Service Provider",
        applicable_templates = {"Person", "Organization"},
        json_config = "ASP2025"
    }
}
}


Line 481: Line 491:
         },
         },
         creatorFields = {"PAGE_NAME", "OCCUPATION", "COUNTRY"},
         creatorFields = {"PAGE_NAME", "OCCUPATION", "COUNTRY"},
        variants = {
            ASP2025 = {
                name = "Person (ASP 2025)",
                state = true,
                campaign_template = "ASP2025",
                description = "Person template with ASP 2025 campaign integration"
            }
        },
         mappings = {
         mappings = {
             -- REVIEW Community (Property:Has governance community)
             -- REVIEW Community (Property:Has governance community)