Improve the way we access the MediaWiki mysqli or PDO connection.
Description
Description
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | Addshore | T208425 [EPIC] Kill the wb_terms table | |||
| Resolved | ArielGlenn | T226167 audit public tables and make sure we dump them all | |||
| Resolved | Addshore | T219175 [Mega] - Migrate data from wb_terms to new schema | |||
| Resolved | Addshore | T219121 [Checkpoint 2] Refactor Write & Migration code for Properties | |||
| Declined | None | T219805 Investigate Doctrine DBAL usage possibility | |||
| Declined | None | T221568 Improve MW connection access |
Event Timeline
Comment Actions
We tried to make the connection handle public, but that got -1ed by million people so don't think that will ever pass.
The second option we can think of, if possible, is to figure out a way to construct our own connection using load balancer directly. This option hasn't been explored at all yet.
Comment Actions
Note for later (appears I forgot to add it before):
one possible improvement here that is less evil is to explore using LoadBalancer to create the connection and bypass relying on getting it from a Database object like we did so far