Convert ApiQueryExtLinksUsage to use Config instead of globals
Open, NormalPublic

Description

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

Details

Reference
bz70632
bzimport raised the priority of this task from to Normal.
bzimport set Reference to bz70632.
bzimport added a subscriber: Unknown Object (MLST).
Legoktm created this task.Sep 9 2014, 10:41 PM
Anomie moved this task from Unsorted to Needs Code on the MediaWiki-API board.Feb 19 2015, 6:29 PM