Puppet Class: role::externalguidance

Defined in:
puppet/modules/role/manifests/externalguidance.pp

Overview

Class: role::externalguidance

Installs the ExternalGuidance extension which shows guidance messages to users visiting pages through a 3rd-party page translator.

1

www.mediawiki.org/wiki/Extension:ExternalGuidance



8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'puppet/modules/role/manifests/externalguidance.pp', line 8

class role::externalguidance {
    include ::role::mobilefrontend
    include ::role::uls

    mediawiki::extension { 'ExternalGuidance':
        needs_update => true,
        settings     => {
            wgExternalGuidanceSimulate    => true,
            wgExternalGuidanceMTReferrers => [
                    'translate.google.com',
                    'translate.googleusercontent.com'
                ]

        }
    }
}