Page MenuHomePhabricator

wikidata-todo: important_blank_items throws uncaught exception ToolforgeCommon::getSQL
Closed, DeclinedPublicBUG REPORT

Description

When opening https://wikidata-todo.toolforge.org/important_blank_items.php, I see the following error:

string(127) "SELECT * FROM wb_terms WHERE term_type='label' AND term_full_entity_id IN ('Q') AND term_language IN ('en','de','es','fr','it')" string(258) "#0 /data/project/magnustools/public_html/php/common.php(38): ToolforgeCommon->getSQL(Object(mysqli), 'SELECT * FROM w...', 0, '') #1 /data/project/wikidata-todo/public_html/important_blank_items.php(55): getSQL(Object(mysqli), 'SELECT * FROM w...') #2 {main}"
Fatal error: Uncaught Exception: ToolforgeCommon::getSQL: Table 'wikidatawiki_p.wb_terms' doesn't exist/1146 : SELECT * FROM wb_terms WHERE term_type='label' AND term_full_entity_id IN ('Q') AND term_language IN ('en','de','es','fr','it') in /data/project/magnustools/public_html/php/ToolforgeCommon.php:233 Stack trace: #0 /data/project/magnustools/public_html/php/common.php(38): ToolforgeCommon->getSQL(Object(mysqli), 'SELECT * FROM w...', 0, '') #1 /data/project/wikidata-todo/public_html/important_blank_items.php(55): getSQL(Object(mysqli), 'SELECT * FROM w...') #2 {main} thrown in /data/project/magnustools/public_html/php/ToolforgeCommon.php on line 233

Similar to T284372; since T284372#7789206 was a different bug I assume this one is too.

Event Timeline

Note that the wb_terms table was removed years ago: see e.g. the wikidata-tech announcement.

This tool would not scale to today's Wikidata size