jenkins-bot has submitted this change and it was merged.

Change subject: Declare global in Action
......................................................................


Declare global in Action

Follows up e928d5bdd0fbc63.

Change-Id: I06e8490865554a0efa7678be6787deb8a22c5b82
---
M includes/actions/Action.php
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Legoktm: Looks good to me, approved
  Nikerabbit: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/actions/Action.php b/includes/actions/Action.php
index fa75e08..79e859a 100644
--- a/includes/actions/Action.php
+++ b/includes/actions/Action.php
@@ -385,6 +385,7 @@
         * @since 1.25
         */
        public function addHelpLink( $to, $overrideBaseUrl = false ) {
+               global $wgContLang;
                $msg = wfMessage( $wgContLang->lc( $this->getActionName() ) . 
'-helppage' );
 
                if ( !$msg->isDisabled() ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/211451
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I06e8490865554a0efa7678be6787deb8a22c5b82
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Nemo bis <federicol...@tiscali.it>
Gerrit-Reviewer: Legoktm <legoktm.wikipe...@gmail.com>
Gerrit-Reviewer: Nikerabbit <niklas.laxst...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to