mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 22:25:27 +00:00
Merge "Minerva A/B tests are not subject to HTML caching time"
This commit is contained in:
commit
5596488f9d
|
@ -194,6 +194,7 @@ class MinervaHooks {
|
||||||
->makeConfig( 'minerva' );
|
->makeConfig( 'minerva' );
|
||||||
|
|
||||||
$vars += [
|
$vars += [
|
||||||
|
'MinervaABSamplingRate' => $config->get( 'MinervaABSamplingRate' ),
|
||||||
'wgMinervaErrorLogSamplingRate' => $config->get( 'MinervaErrorLogSamplingRate' ),
|
'wgMinervaErrorLogSamplingRate' => $config->get( 'MinervaErrorLogSamplingRate' ),
|
||||||
'wgMinervaReadOnly' => wfReadOnly()
|
'wgMinervaReadOnly' => wfReadOnly()
|
||||||
];
|
];
|
||||||
|
|
|
@ -1265,7 +1265,6 @@ class SkinMinerva extends SkinTemplate {
|
||||||
'wgMinervaDownloadNamespaces' => $this->getConfig()->get( 'MinervaDownloadNamespaces' ),
|
'wgMinervaDownloadNamespaces' => $this->getConfig()->get( 'MinervaDownloadNamespaces' ),
|
||||||
'wgMinervaMenuData' => $this->getMenuData(),
|
'wgMinervaMenuData' => $this->getMenuData(),
|
||||||
'wgMFDescription' => $out->getProperty( 'wgMFDescription' ),
|
'wgMFDescription' => $out->getProperty( 'wgMFDescription' ),
|
||||||
'wgMinervaABSamplingRate' => $this->getConfig()->get( 'MinervaABSamplingRate' )
|
|
||||||
];
|
];
|
||||||
|
|
||||||
if ( $this->isAuthenticatedUser() ) {
|
if ( $this->isAuthenticatedUser() ) {
|
||||||
|
|
Loading…
Reference in a new issue