Last modified: 2010-05-15 16:03:12 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 T16689, the corresponding Phabricator task for complete and up-to-date bug report information.
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