X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Factions%2FAction.php;h=e8d9a3e4029a411727fd1b07dc52b8be37996001;hp=844a0d60487816a7dcd940fae9625a8874d92388;hb=90232b6f36ee5a1473f2e865cc7a72d0014db4c7;hpb=16a9c7076f5eb5279d6eb1384751a08a4e33f532 diff --git a/includes/actions/Action.php b/includes/actions/Action.php index 844a0d6048..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(); } @@ -259,8 +259,6 @@ abstract class Action implements MessageLocalizer { } /** - * Constructor. - * * Only public since 1.21 * * @param Page $page @@ -390,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() ) {