ApiQueryExtLinksUsage::prepareProtocols() and getProtocolPrefix() are both reading from $wgUrlProtocols directly. They're both static since they're being used in ApiQueryExternalLinks as well.
Version: 1.24rc
Severity: normal
ApiQueryExtLinksUsage::prepareProtocols() and getProtocolPrefix() are both reading from $wgUrlProtocols directly. They're both static since they're being used in ApiQueryExternalLinks as well.
Version: 1.24rc
Severity: normal
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Declined | TTO | T16264 Import sources should be maintained by stewards | |||
| Resolved | None | T46294 MWException error - Error: invalid magic word 'speciale' | |||
| Open | Feature | None | T28992 Implement configuration database aka configuration management aka no shell excuse | ||
| Open | None | T11968 Reduce use of global and public variables | |||
| Open | None | T294739 remove configuration access via global variables in core | |||
| Open | None | T71084 Convert things to use Config classes instead of globals | |||
| Resolved | Reedy | T72632 Convert ApiQueryExtLinksUsage to use Config instead of globals |
I think @Reedy covered some of this in https://gerrit.wikimedia.org/r/c/mediawiki/core/+/109271 (2014). Then in 2022, the rest was covered by https://gerrit.wikimedia.org/r/c/mediawiki/core/+/740663.
We can close this task as resolved.