Matthias Mullie has submitted this change and it was merged.

Change subject: Missing sectionId in flow_anon_warning.handlebars
......................................................................


Missing sectionId in flow_anon_warning.handlebars

Notice: Undefined index: sectionId in TemplateHelper.php on line 616

Change-Id: I5d7289408959d85b7e5735dd8aafb8557f308cca
---
M handlebars/compiled/flow_block_topic_edit_post.handlebars.php
M handlebars/compiled/flow_block_topiclist.handlebars.php
M handlebars/compiled/flow_block_topiclist_newtopic.handlebars.php
M handlebars/flow_anon_warning.handlebars
4 files changed, 7 insertions(+), 7 deletions(-)

Approvals:
  Matthias Mullie: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/handlebars/compiled/flow_block_topic_edit_post.handlebars.php 
b/handlebars/compiled/flow_block_topic_edit_post.handlebars.php
index 85caa57..ca4e792 100644
--- a/handlebars/compiled/flow_block_topic_edit_post.handlebars.php
+++ b/handlebars/compiled/flow_block_topic_edit_post.handlebars.php
@@ -53,7 +53,7 @@
        </div>
 
        '.'
-       '.LCRun3::hbch($cx, 'progressiveEnhancement', 
Array(Array(),Array('insertionType'=>'insertion')), $in, function($cx, $in) 
{return '
+       '.LCRun3::hbch($cx, 'progressiveEnhancement', 
Array(Array(),Array('insertionType'=>'insertion','sectionId'=>'flow-anon-warning')),
 $in, function($cx, $in) {return '
                <div class="flow-anon-warning-desktop">
                        '.LCRun3::hbch($cx, 'tooltip', 
Array(Array(),Array('positionClass'=>'left','contextClass'=>'progressive','extraClass'=>'flow-form-collapsible','isBlock'=>true)),
 $in, function($cx, $in) {return '
                                '.LCRun3::ch($cx, 'l10nParse', 
Array(Array('flow-anon-warning',LCRun3::ch($cx, 'linkWithReturnTo', 
Array(Array('Special:UserLogin'),Array()), 'raw'),LCRun3::ch($cx, 
'linkWithReturnTo', Array(Array('Special:UserLogin/signup'),Array()), 
'raw')),Array()), 'encq').'';}).'
diff --git a/handlebars/compiled/flow_block_topiclist.handlebars.php 
b/handlebars/compiled/flow_block_topiclist.handlebars.php
index b31c86f..b22aebd 100644
--- a/handlebars/compiled/flow_block_topiclist.handlebars.php
+++ b/handlebars/compiled/flow_block_topiclist.handlebars.php
@@ -117,7 +117,7 @@
        </div>
 
        '.'
-       '.LCRun3::hbch($cx, 'progressiveEnhancement', 
Array(Array(),Array('insertionType'=>'insertion')), $in, function($cx, $in) 
{return '
+       '.LCRun3::hbch($cx, 'progressiveEnhancement', 
Array(Array(),Array('insertionType'=>'insertion','sectionId'=>'flow-anon-warning')),
 $in, function($cx, $in) {return '
                <div class="flow-anon-warning-desktop">
                        '.LCRun3::hbch($cx, 'tooltip', 
Array(Array(),Array('positionClass'=>'left','contextClass'=>'progressive','extraClass'=>'flow-form-collapsible','isBlock'=>true)),
 $in, function($cx, $in) {return '
                                '.LCRun3::ch($cx, 'l10nParse', 
Array(Array('flow-anon-warning',LCRun3::ch($cx, 'linkWithReturnTo', 
Array(Array('Special:UserLogin'),Array()), 'raw'),LCRun3::ch($cx, 
'linkWithReturnTo', Array(Array('Special:UserLogin/signup'),Array()), 
'raw')),Array()), 'encq').'';}).'
@@ -435,7 +435,7 @@
        </div>
 
        '.'
-       '.LCRun3::hbch($cx, 'progressiveEnhancement', 
Array(Array(),Array('insertionType'=>'insertion')), $in, function($cx, $in) 
{return '
+       '.LCRun3::hbch($cx, 'progressiveEnhancement', 
Array(Array(),Array('insertionType'=>'insertion','sectionId'=>'flow-anon-warning')),
 $in, function($cx, $in) {return '
                <div class="flow-anon-warning-desktop">
                        '.LCRun3::hbch($cx, 'tooltip', 
Array(Array(),Array('positionClass'=>'left','contextClass'=>'progressive','extraClass'=>'flow-form-collapsible','isBlock'=>true)),
 $in, function($cx, $in) {return '
                                '.LCRun3::ch($cx, 'l10nParse', 
Array(Array('flow-anon-warning',LCRun3::ch($cx, 'linkWithReturnTo', 
Array(Array('Special:UserLogin'),Array()), 'raw'),LCRun3::ch($cx, 
'linkWithReturnTo', Array(Array('Special:UserLogin/signup'),Array()), 
'raw')),Array()), 'encq').'';}).'
@@ -500,4 +500,4 @@
 </div>
 ';
 }
-?>
+?>
\ No newline at end of file
diff --git a/handlebars/compiled/flow_block_topiclist_newtopic.handlebars.php 
b/handlebars/compiled/flow_block_topiclist_newtopic.handlebars.php
index d9d3d15..85c8f57 100644
--- a/handlebars/compiled/flow_block_topiclist_newtopic.handlebars.php
+++ b/handlebars/compiled/flow_block_topiclist_newtopic.handlebars.php
@@ -48,7 +48,7 @@
        </div>
 
        '.'
-       '.LCRun3::hbch($cx, 'progressiveEnhancement', 
Array(Array(),Array('insertionType'=>'insertion')), $in, function($cx, $in) 
{return '
+       '.LCRun3::hbch($cx, 'progressiveEnhancement', 
Array(Array(),Array('insertionType'=>'insertion','sectionId'=>'flow-anon-warning')),
 $in, function($cx, $in) {return '
                <div class="flow-anon-warning-desktop">
                        '.LCRun3::hbch($cx, 'tooltip', 
Array(Array(),Array('positionClass'=>'left','contextClass'=>'progressive','extraClass'=>'flow-form-collapsible','isBlock'=>true)),
 $in, function($cx, $in) {return '
                                '.LCRun3::ch($cx, 'l10nParse', 
Array(Array('flow-anon-warning',LCRun3::ch($cx, 'linkWithReturnTo', 
Array(Array('Special:UserLogin'),Array()), 'raw'),LCRun3::ch($cx, 
'linkWithReturnTo', Array(Array('Special:UserLogin/signup'),Array()), 
'raw')),Array()), 'encq').'';}).'
@@ -65,7 +65,7 @@
                <textarea name="topiclist_content"
                        data-flow-preview-template="flow_post"
                        class="mw-ui-input flow-form-collapsible 
mw-ui-input-large"
-                       placeholder="'.LCRun3::ch($cx, 'l10n', 
Array(Array('flow-newtopic-content-placeholder'),Array()), 'encq').'" 
data-role="content"></textarea>
+                       placeholder="'.LCRun3::ch($cx, 'l10n', 
Array(Array('flow-newtopic-content-placeholder',((is_array($cx['scopes'][0]) && 
isset($cx['scopes'][0]['title'])) ? $cx['scopes'][0]['title'] : 
null)),Array()), 'encq').'" data-role="content" required></textarea>
 
                <div class="flow-form-actions flow-form-collapsible">
                        <button data-role="submit" 
data-flow-api-handler="newTopic"
diff --git a/handlebars/flow_anon_warning.handlebars 
b/handlebars/flow_anon_warning.handlebars
index f4e7125..f370bb9 100644
--- a/handlebars/flow_anon_warning.handlebars
+++ b/handlebars/flow_anon_warning.handlebars
@@ -12,7 +12,7 @@
        </div>
 
        {{!-- desktop warning --}}
-       {{#progressiveEnhancement insertionType="insertion"}}
+       {{#progressiveEnhancement insertionType="insertion" 
sectionId="flow-anon-warning"}}
                <div class="flow-anon-warning-desktop">
                        {{#tooltip
                                positionClass="left"

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5d7289408959d85b7e5735dd8aafb8557f308cca
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Bsitu <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: Matthias Mullie <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to