X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%2C%22id_auteur=%24connecte%22%29%20.%20%22?a=blobdiff_plain;f=includes%2Factions%2FAction.php;h=e8d9a3e4029a411727fd1b07dc52b8be37996001;hb=71653df1c365ec4092ca3390f1857d5e8e435b6e;hp=844a0d60487816a7dcd940fae9625a8874d92388;hpb=46ef5f96caad712628908681afbead5b07514e3c;p=lhc%2Fweb%2Fwiklou.git 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() ) {