Page MenuHomePhabricator

ApiQuery generates help in constructor
Closed, ResolvedPublic

Description

Seems wasteful, given that it will can tons of hooks while generating the help which might not even be used.


Version: 1.20.x
Severity: normal

Details

Reference
bz39032

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:56 AM
bzimport added a project: MediaWiki-API.
bzimport set Reference to bz39032.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to comment #0)

Seems wasteful, given that it will can tons of hooks while generating the help
which might not even be used.

Considering it doesn't even cache the value locally, it just does the calls, and ignores the return values, it seems even more useless!