Jdlrobson has uploaded a new change for review.
https://gerrit.wikimedia.org/r/71120
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(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/20/71120/1
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: newchange
Gerrit-Change-Id: I2349d4f875a51d5def819155faff47ead1bca9bc
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits