Yaron Koren has submitted this change and it was merged.

Change subject: Fix for SFTemplateInForm refactor
......................................................................


Fix for SFTemplateInForm refactor

Change-Id: I1f35113e7a662deffd3d564ec4adcb1d402bbb31
---
M includes/SF_TemplateInForm.php
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Yaron Koren: Checked; Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/SF_TemplateInForm.php b/includes/SF_TemplateInForm.php
index de0baaa..546c33a 100644
--- a/includes/SF_TemplateInForm.php
+++ b/includes/SF_TemplateInForm.php
@@ -346,6 +346,8 @@
        }
 
        public static function newFromFormTag( $tag_components ) {
+               global $wgParser;
+
                $template_name = trim( $tag_components[1] );
                $tif = SFTemplateInForm::create( $template_name );
                $tif->mAddButtonText = wfMessage( 'sf_formedit_addanother' 
)->text();

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I1f35113e7a662deffd3d564ec4adcb1d402bbb31
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticForms
Gerrit-Branch: master
Gerrit-Owner: Yaron Koren <[email protected]>
Gerrit-Reviewer: Yaron Koren <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to