Manual:Hooks/MediaWikiPerformAction

Details
Use this to do something completely different, after the basic globals have been set up, but before ordinary actions take place.
 * $output: $wgOut
 * $article: $wgArticle
 * $title:  $wgTitle
 * $user:   $wgUser
 * $request: $wgRequest