Last modified: 2007-04-02 06:34:15 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 T6649, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4649 - Could it be possible for $wgExtensionFunctions to accept an object array?
Could it be possible for $wgExtensionFunctions to accept an object array?
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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.


Navigation
Links