Page MenuHomePhabricator

exportEntityMapping does not work with $wgDBprefix
Closed, ResolvedPublic


The shell script maintenance/exportEntityMapping of Wikibase-Quality-Constraints does not work if the table names in the database are prefixed with $wgDBprefix. The string wbs_entity_mapping is currently hardcoded.

$ extensions/WikibaseQualityConstraints/maintenance/exportEntityMapping -dmy_wiki
extensions/WikibaseQualityConstraints/maintenance/exportEntityMapping: database "my_wiki" not found, inaccessible, or has no wbs_entity_mapping table.

Revision: rEBQC846cf3d2dce29cf389c09c8f9499d82d4f1496c5

Event Timeline

abian created this task.Feb 18 2018, 6:11 PM
Restricted Application added a project: Wikidata. · View Herald TranscriptFeb 18 2018, 6:11 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
abian claimed this task.Feb 18 2018, 10:51 PM

Change 412644 merged by jenkins-bot:
[mediawiki/extensions/WikibaseQualityConstraints@master] Script exportEntityMapping: Support prefix for table names in database

abian closed this task as Resolved.Feb 20 2018, 1:26 PM