[MediaWiki-commits] [Gerrit] Declare global in Action - change (mediawiki/core)
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 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/211452 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I06e8490865554a0efa7678be6787deb8a22c5b82 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: REL1_25 Gerrit-Owner: Legoktm Gerrit-Reviewer: Legoktm Gerrit-Reviewer: Nemo bis Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Declare global in Action - change (mediawiki/core)
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 Gerrit-Reviewer: Legoktm Gerrit-Reviewer: Nikerabbit Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Declare global in Action - change (mediawiki/core)
Legoktm has uploaded a new change for review. https://gerrit.wikimedia.org/r/211452 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(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/52/211452/1 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/211452 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I06e8490865554a0efa7678be6787deb8a22c5b82 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: REL1_25 Gerrit-Owner: Legoktm Gerrit-Reviewer: Nemo bis ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Declare global in Action - change (mediawiki/core)
Nemo bis has uploaded a new change for review. https://gerrit.wikimedia.org/r/211451 Change subject: Declare global in Action .. Declare global in Action Change-Id: I06e8490865554a0efa7678be6787deb8a22c5b82 --- M includes/actions/Action.php 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/51/211451/1 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: newchange Gerrit-Change-Id: I06e8490865554a0efa7678be6787deb8a22c5b82 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Nemo bis ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits