Page MenuHomePhabricator

test.wikidata.org config seems to be broken
Closed, ResolvedPublic2 Estimated Story PointsPRODUCTION ERROR

Description

When I tried to add statements in test.wikidata.org I get the following error from the console:

Access to XMLHttpRequest at 'https://www.wikidata.org/w/api.php?action=wbsgetsuggestions&search=original&context=item&format=json&language=en&entity=Q178735' from origin 'https://test.wikidata.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource

It looks like it's trying to get properties from wikidata.org instead of test.wikidata.org like it should.

Event Timeline

It looks like wbRepo is misconfigured:

» mw.config.get('wbRepo').url
 "https://www.wikidata.org"

This causes the entity selector (and probably other things as well) to use the wrong API URL.

Change 471000 had a related patch set uploaded (by Addshore; owner: Addshore):
[operations/mediawiki-config@master] List wikidataclient-test in CS.php dblists

https://gerrit.wikimedia.org/r/471000

Change 471000 merged by jenkins-bot:
[operations/mediawiki-config@master] List wikidataclient-test in CS.php dblists

https://gerrit.wikimedia.org/r/471000

Mentioned in SAL (#wikimedia-operations) [2018-11-01T12:50:35Z] <addshore@deploy1001> Synchronized wmf-config/CommonSettings.php: List wikidataclient-test in CS.php dblists T208488 (duration: 00m 57s)

Addshore claimed this task.
Addshore subscribed.

This appears to be fixed now.
But some bad values might be cached in resource loader for a little while.

This appears to be fixed now.
But some bad values might be cached in resource loader for a little while.

How long? Seems to still not work.

test.wikidata.org gets updated to a new MediaWiki version today 20:00 – 22:00 UTC, I hope that’ll resolve the issue. Otherwise we’ll have to revisit this issue.

test.wikidata.org gets updated to a new MediaWiki version today 20:00 – 22:00 UTC, I hope that’ll resolve the issue. Otherwise we’ll have to revisit this issue.

Ah okay, thanks :)

It's doing it again :). Not sure if I should create a new ticket or just re-open this one, but same issue.

Hm, I’m still able to edit (I tried force-reloading the page too).

Hm, I’m still able to edit (I tried force-reloading the page too).

I get "Could not save due to an error.
Revision with ID not found." Even with forced reloading.

Anyways, it’s probably better to open a new task. Can you do that and then we’ll continue debugging there?

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:08 PM