It seems labswiki has numerous long defunct (uninstalled extension, or no longer part of MW core) tables, and probably has a few schema drifts too along the way.
| table | needed | comment |
| ---- | ---- | ---- |
| abuse_filter | | |
| abuse_filter_action | | |
| abuse_filter_history | | |
| abuse_filter_log | | |
| actor | | |
| archive | | |
| babel | | |
| betafeatures_user_counts | | |
| bv2017_edits | | |
| category | | |
| categorylinks | | |
| change_tag | | |
| change_tag_def | | |
| comment | | |
| config | | |
| content | | |
| content_models | | |
| cu_changes | | |
| cu_log | | |
| echo_email_batch | | |
| echo_event | | |
| echo_notification | | |
| echo_target_page | | |
| external_user | | |
| externallinks | | |
| filearchive | | |
| flow_ext_ref | | |
| flow_revision | | |
| flow_subscription | | |
| flow_topic_list | | |
| flow_tree_node | | |
| flow_tree_revision | | |
| flow_wiki_ref | | |
| flow_workflow | | |
| geo_tags | | |
| global_block_whitelist | | |
| globalblocks | | |
| globalimagelinks | | |
| hidden | | |
| historical_thread | | |
| image | | |
| imagelinks | | |
| interwiki | | |
| ip_changes | | |
| ipblocks | | |
| ipblocks_restrictions | | |
| iwlinks | | |
| job | | |
| l10n_cache | | |
| langlinks | | |
| ldap_domains | | |
| linter | | |
| log_search | | |
| logging | | |
| mathoid | | |
| module_deps | | |
| msg_resource | | |
| msg_resource_links | no |
| oaiaudit | no | |
| oaiharvest | no | |
| oaiuser | no | |
| oathauth_users | | |
| oathauth_users_restore | | |
| oauth2_access_tokens | | |
| oauth_accepted_consumer | | |
| oauth_registered_consumer | | |
| objectcache | | |
| oldimage | | |
| openstack_notification_event | no | |
| openstack_puppet_classes | no | |
| openstack_puppet_groups | no | |
| openstack_puppet_vars | no | |
| openstack_tokens | no | |
| page | | |
| page_props | | |
| page_restrictions | | |
| pagelinks | | |
| protected_titles | | |
| querycache | | |
| querycache_info | | |
| querycachetwo | | |
| recentchanges | | |
| redirect | | |
| revision | | |
| revision_actor_temp | | |
| revision_comment_temp | | |
| searchindex | | |
| site_identifiers | | |
| site_stats | | |
| sites | | |
| slot_roles | | |
| slots | | |
| spoofuser | | |
| templatelinks | | |
| text | | |
| thread | | |
| thread_history | | |
| thread_pending_relationship | | |
| thread_reaction | | |
| titlekey | | |
| trackbacks | | |
| transcache | | |
| updatelog | | |
| updates | | |
| uploadstash | | |
| user | | |
| user_daily_contribs | no | |
| user_former_groups | | |
| user_groups | | |
| user_message_state | | |
| user_newtalk | | |
| user_openid | no | |
| user_properties | | |
| watchlist | | |
| watchlist_expiry | | |
| wikilove_log | | |