Last modified: 2007-04-02 06:34:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 4649 - Could it be possible for $wgExtensionFunctions to accept an object array?
Could it be possible for $wgExtensionFunctions to accept an object array?
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-01-18 05:22 UTC by Mark Clements (HappyDog)
Modified: 2007-04-02 06:34 UTC (History)
0 users

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


Description Mark Clements (HappyDog) 2006-01-18 05:22:34 UTC
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.
Comment 1 Rob Church 2007-04-02 06:34:15 UTC
Seems to be working in r20902.

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