Puppet Class: role::titleblacklist
- Defined in:
- puppet/modules/role/manifests/titleblacklist.pp
Overview
Class: role::titleblacklist
Provisions the TitleBlacklist extension which allows wiki administrators to block the creation, movement and upload of pages, the title of which matches one or more regular expressions, as well as blocking creation of accounts with matching usernames.
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'puppet/modules/role/manifests/titleblacklist.pp', line 7
class role::titleblacklist {
mediawiki::extension { 'TitleBlacklist':
settings => {
wgTitleBlacklistLogHits => true,
wgTitleBlacklistSources => [
{
type => 'localpage',
src => 'MediaWiki:Titleblacklist',
},
{
type => 'url',
src => 'https://meta.wikimedia.org/w/index.php?title=Title_blacklist&action=raw',
},
],
},
}
mediawiki::import::text { 'VagrantRoleTitleBlacklist':
source => 'puppet:///modules/role/titleblacklist/VagrantRoleTitleBlacklist.wiki',
}
}
|