From: Jeroen De Dauw Date: Sun, 29 Jan 2012 15:24:06 +0000 (+0000) Subject: fix doc and var names X-Git-Tag: 1.31.0-rc.0~25030 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=82a03f792a195c597f62d48a84e60c867da70752;p=lhc%2Fweb%2Fwiklou.git fix doc and var names --- diff --git a/includes/Wiki.php b/includes/Wiki.php index 05b2624254..91541551db 100644 --- a/includes/Wiki.php +++ b/includes/Wiki.php @@ -460,9 +460,9 @@ class MediaWiki { /** * Perform one of the "standard" actions * - * @param $article Article + * @param $page Page */ - private function performAction( Page $article ) { + private function performAction( Page $page ) { wfProfileIn( __METHOD__ ); $request = $this->context->getRequest(); @@ -471,7 +471,7 @@ class MediaWiki { $user = $this->context->getUser(); if ( !wfRunHooks( 'MediaWikiPerformAction', - array( $output, $article, $title, $user, $request, $this ) ) ) + array( $output, $page, $title, $user, $request, $this ) ) ) { wfProfileOut( __METHOD__ ); return; @@ -479,14 +479,14 @@ class MediaWiki { $act = $this->getAction(); - $action = Action::factory( $act, $article ); + $action = Action::factory( $act, $page ); if ( $action instanceof Action ) { $action->show(); wfProfileOut( __METHOD__ ); return; } - if ( wfRunHooks( 'UnknownAction', array( $act, $article ) ) ) { + if ( wfRunHooks( 'UnknownAction', array( $act, $page ) ) ) { $output->showErrorPage( 'nosuchaction', 'nosuchactiontext' ); }