From: Nemo bis Date: Sat, 16 May 2015 19:48:08 +0000 (+0200) Subject: Declare global in Action X-Git-Tag: 1.31.0-rc.0~11388 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=1e81e7f8a045feba712afb06036ad1cd33649843 Declare global in Action Follows up e928d5bdd0fbc63. Change-Id: I06e8490865554a0efa7678be6787deb8a22c5b82 --- diff --git a/includes/actions/Action.php b/includes/actions/Action.php index fa75e089ac..79e859a20c 100644 --- a/includes/actions/Action.php +++ b/includes/actions/Action.php @@ -385,6 +385,7 @@ abstract class Action { * @since 1.25 */ public function addHelpLink( $to, $overrideBaseUrl = false ) { + global $wgContLang; $msg = wfMessage( $wgContLang->lc( $this->getActionName() ) . '-helppage' ); if ( !$msg->isDisabled() ) {