Page MenuHomePhabricator

Add $mediaWiki object to 'MediawikiPerformAction' hook
Closed, ResolvedPublic

Description

Author: lhridley

Description:
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.


Version: 1.13.x
Severity: enhancement

Details

Reference
bz14689

Event Timeline

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