Page MenuHomePhabricator

wikidata role produces error when trying to create item
Closed, ResolvedPublic

Description

After enabling Wikidata role, if I try to create a new item, I get this:

[e81f51a2026ca5759a063a2c] /wiki/Special:NewItem Wikimedia\Rdbms\DBQueryError from line 1179 of /vagrant/mediawiki/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's
database schema updater after upgrading?
Query: SELECT id_value FROM `wb_id_counters` WHERE id_type = 'wikibase-item' LIMIT 1 FOR UPDATE
Function: Wikibase\SqlIdGenerator::generateNewId
Error: 1146 Table 'wikidatawiki.wb_id_counters' doesn't exist (127.0.0.1)

So Wikidata does not seem to work out of the box.

Event Timeline

Smalyshev triaged this task as Normal priority.Dec 19 2017, 10:40 PM
Smalyshev created this task.
Smalyshev removed a project: Epic.

Change 400999 had a related patch set uploaded (by BryanDavis; owner: Addshore):
[mediawiki/vagrant@stretch-migration] wikidata: Install wikibase using individual extensions

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

Change 400999 merged by jenkins-bot:
[mediawiki/vagrant@stretch-migration] wikidata: Install wikibase using individual extensions

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

bd808 closed this task as Resolved.Jan 1 2018, 4:36 AM
bd808 claimed this task.