X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Factions%2FAction.php;h=e8d9a3e4029a411727fd1b07dc52b8be37996001;hb=d967d1d9128f7f92391d4985edd5c9903c98c6aa;hp=88382b694fca813a7c5158cef6b9452f5d24be22;hpb=91a920fd85c34e64f47140ed82f2ac0913ed8033;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/actions/Action.php b/includes/actions/Action.php index 88382b694f..e8d9a3e402 100644 --- a/includes/actions/Action.php +++ b/includes/actions/Action.php @@ -151,7 +151,7 @@ abstract class Action implements MessageLocalizer { return 'view'; } - $action = Action::factory( $actionName, $context->getWikiPage(), $context ); + $action = self::factory( $actionName, $context->getWikiPage(), $context ); if ( $action instanceof Action ) { return $action->getName(); } @@ -388,7 +388,7 @@ abstract class Action implements MessageLocalizer { public function addHelpLink( $to, $overrideBaseUrl = false ) { global $wgContLang; $msg = wfMessage( $wgContLang->lc( - Action::getActionName( $this->getContext() ) + self::getActionName( $this->getContext() ) ) . '-helppage' ); if ( !$msg->isDisabled() ) {