Last modified: 2012-04-25 15:00:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T36956, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34956 - parser class should use mUrlProtocol internal method instead of calling wfUrlProtocols()
parser class should use mUrlProtocol internal method instead of calling wfUrl...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 34939
  Show dependency treegraph
 
Reported: 2012-03-04 13:40 UTC by Antoine "hashar" Musso (WMF)
Modified: 2012-04-25 15:00 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2012-03-04 13:40:17 UTC
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.
Comment 1 Alex Monk 2012-04-14 18:04:17 UTC
Gerrit change #4962

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links