Implementing the usage tracking tables envisioned in T370378; this will live mostly in JsonConfig but may need explicit invocation from Chart, and work is being done as part of the Charts task force:
* in every wiki (uncertain if this is needed, let's confirm or remove this)
* `jsonlinks` table with local JSON links matching linktarget IDs
* in a shared database, likely `x1` in production:
* `globaljsonlinks`, `globaljsonlinks_source_ns`, `globaljsonlinks_target` tables with wiki id, namespace name, and titles broken out to help avoid duplicate string storage
[todo: paste or reference the full ADR]
Internally, JsonConfig will add an API for recording usage of a data page into a ParserOutput, and then on page update/creation/deletion will update the local and/or tracking tables.
It's unclear whether we should just use the global tracking table always, or use a local tracking table with a shared global tracking table as an add-on (this may simplify database administration).