jenkins-bot has submitted this change and it was merged.

Change subject: Don't yet allow wikidatasparql graph urls
......................................................................


Don't yet allow wikidatasparql graph urls

Until we resolve T126730...

Change-Id: I5f00062912f37448fc0b4d0c4ebe185e16facfee
---
M wmf-config/CommonSettings-labs.php
M wmf-config/CommonSettings.php
2 files changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Chad: Looks good to me, approved
  Smalyshev: Looks good to me, but someone else must approve
  Yurik: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/wmf-config/CommonSettings-labs.php 
b/wmf-config/CommonSettings-labs.php
index b7165a4..d80613a 100644
--- a/wmf-config/CommonSettings-labs.php
+++ b/wmf-config/CommonSettings-labs.php
@@ -360,7 +360,10 @@
        // See https://www.mediawiki.org/wiki/Extension:Graph#External_data
        $wgGraphAllowedDomains['http'] = array( 'wmflabs.org' );
        $wgGraphAllowedDomains['wikirawupload'][] = 'upload.beta.wmflabs.org';
-       $wgGraphAllowedDomains['wikidatasparql'][] = 'wdqs-test.wmflabs.org';
+       $wgGraphAllowedDomains['wikidatasparql'] = array(
+               'query.wikidata.org',
+               'wdqs-test.wmflabs.org'
+       );
 }
 
 if ( $wmgUseKartographer ) {
diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 3db1efd..310b079 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -2944,9 +2944,6 @@
                'wikirawupload' => array(
                        'upload.wikimedia.org',
                ),
-               'wikidatasparql' => array(
-                       'query.wikidata.org',
-               ),
        );
 
        if ( $wmgUseGraphWithNamespace ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/271336
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5f00062912f37448fc0b4d0c4ebe185e16facfee
Gerrit-PatchSet: 2
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Aude <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: Florianschmidtwelzow <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: Smalyshev <[email protected]>
Gerrit-Reviewer: Yurik <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to