Getting various errors when adding statements, not sure what is going on:
- SyntaxError: JSON Parse error: Unexpected EOF
- SyntaxError: Unexpected end of JSON input
- SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
Getting various errors when adding statements, not sure what is going on:
Wikidata was rollbacked to 0.28.0-wmf.7 to make it possible to add statements again, @aude will look what she can do.
problem is:
Catchable fatal error: Argument 1 passed to MediaWiki\\Site\\MediaWikiPageNameNormalizer::__construct() must be an instance of Http, string given in /var/www/wiki/w/includes/site/MediaWikiPageNameNormalizer.php on line 51
introduced in https://gerrit.wikimedia.org/r/#/c/295939/ :(
Change 296648 had a related patch set uploaded (by Aude):
Fix construction of MediaWikiPageNameNormalizer in WikibaseRepo
Change 296648 abandoned by Aude:
Fix construction of MediaWikiPageNameNormalizer in WikibaseRepo
Reason:
already fixed on master in https://gerrit.wikimedia.org/r/#/c/295942/
Change 296701 had a related patch set uploaded (by Aude):
Update Wikidata - Fix broken editing of statements
Change 296701 merged by jenkins-bot:
Update Wikidata - Fix broken editing of statements
Mentioned in SAL [2016-06-30T15:34:19Z] <thcipriani@tin> Synchronized php-1.28.0-wmf.8/extensions/Wikidata/extensions/Wikibase/repo/includes/WikibaseRepo.php: SWAT: [[gerrit:296701|Update Wikidata - Fix broken editing of statements (T138974)]] (duration: 00m 31s)
Mentioned in SAL [2016-06-30T15:36:07Z] <thcipriani@tin> Synchronized php-1.28.0-wmf.7/extensions/Wikidata/extensions/Wikibase/repo/includes/WikibaseRepo.php: SWAT: [[gerrit:296701|Update Wikidata - Fix broken editing of statements (T138974)]] (duration: 00m 25s)
Can someone explain to me how this happened? I'm not seeing any code that tried to pass a string to the constructor of MediaWikiPageNameNormalizer. The line number in the error message also doesn't quite match... I'm confused.
0038bfa7629cdedc9c1222088c1278f5a2f52391 was not deployed, while 5f1a4a3dfc049a742184d5690d211fb0321c9b9d was (because MediaWiki gets updated more often than Wikibase). That's it.