Reedy has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/328484 )
Change subject: Use wfLoadExtension for 3 more extensions too
......................................................................
Use wfLoadExtension for 3 more extensions too
Bug: T140852
Change-Id: Icbc533905397f83e2ca2a8c97a6ec44610fd4b24
---
M wmf-config/CommonSettings.php
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/84/328484/1
diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 702259e..14e1e68 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -1160,7 +1160,7 @@
}
if ( $wmgUseRSSExtension ) {
- include( "$IP/extensions/RSS/RSS.php" );
+ wfLoadExtension( 'RSS' );
$wgRSSProxy = $wgCopyUploadProxy;
$wgRSSUrlWhitelist = $wmgRSSUrlWhitelist;
}
@@ -2618,7 +2618,7 @@
}
if ( $wmgUseEcho ) {
- require_once( "$IP/extensions/Echo/Echo.php" );
+ wfLoadExtension( 'Echo' );
if ( isset( $wgEchoConfig ) ) {
// Eventlogging for Schema:EchoMail
@@ -2725,7 +2725,7 @@
$wgFlowDefaultWikiDb = $wmgFlowDefaultWikiDb;
if ( $wmgUseFlow && $wmgUseParsoid ) {
- require_once( "$IP/extensions/Flow/Flow.php" );
+ wfLoadExtension( 'Flow' );
// Flow Parsoid - These are now specified directly as Flow-specific
// configuration variables, though it currently uses the same Parsoid
URL
--
To view, visit https://gerrit.wikimedia.org/r/328484
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icbc533905397f83e2ca2a8c97a6ec44610fd4b24
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits