Page MenuHomePhabricator

Could it be possible for $wgExtensionFunctions to accept an object array?
Closed, DeclinedPublic

Description

Why is it not possible for $wgExtensionFunctions to accept an object/method
array? E.g. $wgExtensionFunctions[] = array($wgMyObject, 'Initialise');

If there is no technical reason for this then I think it would be a useful
addition, and enable extension writers to encapsulate all extension code into a
single object.


Version: unspecified
Severity: enhancement

Details

Reference
bz4649

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:02 PM
bzimport set Reference to bz4649.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

Seems to be working in r20902.