Page MenuHomePhabricator

Type-hint all onLoadExtensionSchemaUpdate hook handler $updater parameter with DatabaseUpdater type
Open, Needs TriagePublic

Description

Per https://www.mediawiki.org/wiki/Manual:Hooks/LoadExtensionSchemaUpdates documentation, and code search: https://codesearch.wmflabs.org/deployed/?q=onLoadExtensionSchemaUpdates%5C(%20%5C%24&i=nope&files=&repos=, the idea here is to type hint all WMF deployed repos hook handler function $updater parameter with DatabaseUpdater

See example patch: https://gerrit.wikimedia.org/r/#/c/511602/

Event Timeline

D3r1ck01 created this task.May 20 2019, 9:09 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 20 2019, 9:09 PM

Change 511602 had a related patch set uploaded (by D3r1ck01; owner: Derick Alangi):
[mediawiki/extensions/LiquidThreads@master] classes: Type hint $updater parameter in onLoadExtensionSchemaUpdates

https://gerrit.wikimedia.org/r/511602

Change 511602 merged by jenkins-bot:
[mediawiki/extensions/LiquidThreads@master] classes: Type hint $updater parameter in onLoadExtensionSchemaUpdates

https://gerrit.wikimedia.org/r/511602