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

Change subject: Restore edit section links after a successful save
......................................................................


Restore edit section links after a successful save

Change-Id: I2349d4f875a51d5def819155faff47ead1bca9bc
---
M templates/page.html
1 file changed, 4 insertions(+), 1 deletion(-)

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



diff --git a/templates/page.html b/templates/page.html
index 1b881d8..e079d52 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -8,7 +8,10 @@
        <div id="content_0" class="content_block openSection">{{{lead}}}</div>
        {{#sections}}
        <div class="section">
-               <h2 class="section_heading" 
id="section_{{index}}">{{{heading}}}</h2>
+               <h2 class="section_heading" id="section_{{index}}">
+                       {{{heading}}}
+                       <span class="mw-editsection"><a 
href="?section={{id}}"></a></span>
+               </h2>
                <div class="content_block" id="content_{{index}}"
                        data-references="{{isReferences}}"
                        data-content="{{content}}">

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I2349d4f875a51d5def819155faff47ead1bca9bc
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: JGonera <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to