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

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


Revert "Don't yet allow wikidatasparql graph urls"

This reverts commit 9e550fa64e5ab33e0c1a98e911153130d68130ad.

Now that the sparql caching has been resolved, we can re-enable it.

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

Approvals:
  Dereckson: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/wmf-config/CommonSettings-labs.php 
b/wmf-config/CommonSettings-labs.php
index ecd1eeb..c4d404b 100644
--- a/wmf-config/CommonSettings-labs.php
+++ b/wmf-config/CommonSettings-labs.php
@@ -320,10 +320,7 @@
        // See https://www.mediawiki.org/wiki/Extension:Graph#External_data
        $wgGraphAllowedDomains['http'] = [ 'wmflabs.org' ];
        $wgGraphAllowedDomains['wikirawupload'][] = 'upload.beta.wmflabs.org';
-       $wgGraphAllowedDomains['wikidatasparql'] = [
-               'query.wikidata.org',
-               'wdqs-test.wmflabs.org'
-       ];
+       $wgGraphAllowedDomains['wikidatasparql'][] = 'wdqs-test.wmflabs.org';
 }
 
 if ( $wmgUseKartographer ) {
diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 2068ad9..996d80c 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -3065,6 +3065,9 @@
                'wikirawupload' => [
                        'upload.wikimedia.org',
                ],
+               'wikidatasparql' => [
+                       'query.wikidata.org',
+               ],
        ];
 
        if ( $wmgUseGraphWithNamespace ) {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia04e44c6a6d5bce2f924f60dea484d90ca8ab4c9
Gerrit-PatchSet: 4
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Yurik <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: Dereckson <[email protected]>
Gerrit-Reviewer: Florianschmidtwelzow <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: JanZerebecki <[email protected]>
Gerrit-Reviewer: Lydia Pintscher <[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