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.



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

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'
                ]

        }
    }
}