Page MenuHomePhabricator

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


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 (

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

Event Timeline

Smalyshev triaged this task as Medium 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

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

bd808 claimed this task.