Page MenuHomePhabricator

parser class should use mUrlProtocol internal method instead of calling wfUrlProtocols()
Closed, ResolvedPublic

Description

On construction, the parser class call wfUrlProtocols() to internally initiate its mUrlProtocol property.

In several method, calls are made directly to wfUrlProtcols() instead of using the internal property.

Removing those call can probably save a few CPU cycles.


Version: unspecified
Severity: enhancement

Details

Reference
bz34956

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:11 AM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz34956.
bzimport added a subscriber: Unknown Object (MLST).
hashar created this task.Mar 4 2012, 1:40 PM

Gerrit change 4962