Last modified: 2010-05-15 16:03:12 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 14689 - Add $mediaWiki object to 'MediawikiPerformAction' hook
Add $mediaWiki object to 'MediawikiPerformAction' hook
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.13.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-30 21:22 UTC by Lisa Ridley
Modified: 2010-05-15 16:03 UTC (History)
1 user (show)

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


Attachments

Description Lisa Ridley 2008-06-30 21:22:30 UTC
This hook, which resides in MediaWiki::performAction(), has a number of parameters passed to  it; however, it does not currently receive the $mediaWiki object, which is the class from which it is called.  This object stores a number of items that are useful if your goal is to replace the entire MediaWiki::performAction() method.  Rather than having to declare $mediaWiki as a global from the hook, it just seems to maek sense that we pass $mediaWiki as an object along with $request, $output, $user and $article.
Comment 1 Chad H. 2008-07-01 04:08:38 UTC
Done in r36831

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


Navigation
Links