Milimetric has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/336444 )
Change subject: Enable Dashiki extension on meta.wikimedia.org ...................................................................... Enable Dashiki extension on meta.wikimedia.org Bug: T156971 Change-Id: Ib845358b9c54d70655f04d975ebb13782011fd80 --- M wmf-config/CommonSettings.php M wmf-config/InitialiseSettings.php M wmf-config/extension-list 3 files changed, 23 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config refs/changes/44/336444/1 diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php index 25ec885..7814e66 100644 --- a/wmf-config/CommonSettings.php +++ b/wmf-config/CommonSettings.php @@ -3180,6 +3180,23 @@ $wgJsonConfigEnableLuaSupport = true; } +// Enable Config:Dashiki: sub-namespace on meta.wikimedia.org - T156971 +if ( $wmgEnableDashikiData ) { + // Configure Dashiki sub-namespace with JsonConfig + $wgJsonConfigs['JsonConfig.Dashiki'] = array( + 'pattern' => '/^Dashiki\:./', + 'isLocal' => true, + ); + + // register the custom view implemented by the Dashiki extension + $wgJsonConfigModels['JsonConfig.Dashiki'] = array( + 'class' => null, + 'view' => 'Dashiki\DashikiView', + ); + + wfLoadExtension( 'Dashiki' ); +} + if ( $wmgUseGraph ) { wfLoadExtension( 'Graph' ); diff --git a/wmf-config/InitialiseSettings.php b/wmf-config/InitialiseSettings.php index 6b76326..125d36a 100644 --- a/wmf-config/InitialiseSettings.php +++ b/wmf-config/InitialiseSettings.php @@ -14651,6 +14651,11 @@ 'fishbowl' => false, ], +'wmgEnableDashikiData' => [ + 'default' => false, + 'metawiki' => true, +], + 'wmgUseGraph' => [ 'default' => true, ], diff --git a/wmf-config/extension-list b/wmf-config/extension-list index 400d00c..e0e16c5 100644 --- a/wmf-config/extension-list +++ b/wmf-config/extension-list @@ -29,6 +29,7 @@ $IP/extensions/ContentTranslation/extension.json $IP/extensions/ContributionTracking/extension.json $IP/extensions/CreditsSource/extension.json +$IP/extensions/Dashiki/extension.json $IP/extensions/DisableAccount/extension.json $IP/extensions/Disambiguator/extension.json $IP/extensions/DismissableSiteNotice/extension.json -- To view, visit https://gerrit.wikimedia.org/r/336444 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib845358b9c54d70655f04d975ebb13782011fd80 Gerrit-PatchSet: 1 Gerrit-Project: operations/mediawiki-config Gerrit-Branch: master Gerrit-Owner: Milimetric <dandree...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits