jayvdb added a comment.

So now this is a regular problem on pywikibot integration tests.
https://travis-ci.org/wikimedia/pywikibot-core/jobs/75715391#L1153

The test that is failing is `test_unconnected` in 
https://github.com/wikimedia/pywikibot-core/blob/master/tests/site_tests.py

1. It loads https://test.wikipedia.org/wiki/Special:UnconnectedPages
2. In the travis job error above it starts working on the first page on 
Special:UnconnectedPages, which is "Most-perfect magic square/invited 
<https://test.wikipedia.org/wiki/Most-perfect_magic_square/invited>"
3. It loads the data repository for test.wikipedia, which is configured to be 
test.wikidata
4. Tries to detect whether the page is indeed not linked to an item in the data 
repository using 
https://test.wikidata.org/w/api.php?format=json&action=wbgetentities&sites=testwiki&titles=Most-perfect%20magic%20square/invited
5. The API responds with

  {"servedby":"mw1017","warnings":{"wbgetentities":{"*":"Unrecognized value for 
parameter 'sites': testwiki"}},"error":{"code":"param-missing","info":"A 
parameter that is required was missing (Either provide the item \"ids\" or 
pairs of \"sites\" and \"titles\" for corresponding 
pages)","messages":[{"name":"wikibase-api-param-missing","parameters":[],"html":{"*":"A
 parameter that is required was missing"}}],"*":"See 
https://test.wikidata.org/w/api.php for API usage"}}

`testwiki` isnt a wiki listed as a valid value for `sites`: 
https://test.wikidata.org/w/api.php?action=help&modules=wbgetentities

The only test wiki which is listed as a value value for `sites` is : 
testwikidatawiki


TASK DETAIL
  https://phabricator.wikimedia.org/T85358

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: zeljkofilipin, aude, Lydia_Pintscher, jayvdb, Qgil, Aklapper, 
pywikibot-bugs-list, Quality-Assurance, Wikidata-bugs, Ricordisamoa, Malyacko



_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to