mediawiki-skins-MinervaNeue/resources
Bartosz Dziewoński a1e75213da Fix posting talk page replies on pages with subsections
The MobileFrontend section numbers that were used here only count
top-level sections, but this value was passed to code in
MobileFrontend's TalkSectionOverlay#onSaveClick, which uses an API
expecting the standard MediaWiki section numbers.

Extract the section number from the section edit link, like we do
in mobile.init/editor.js in MobileFrontend.

Also, disable the special talk page view unless we're viewing the
latest revision of the page. That could also lead to posting in the
wrong section, as sections are often added and removed, which changes
the numbers.

Bug: T252828
Change-Id: I553a508658804dd8672f2268b7118f77458a9dba
2020-05-14 22:57:00 +02:00
..
skins.minerva.amc.styles Replace skins.minerva.mainMenu.advanced.icons with OOUI icons 2020-05-01 12:18:35 -07:00
skins.minerva.base.styles Change opacity (color) of logo to a subtler gray close to #54595d 2020-05-12 22:09:59 -07:00
skins.minerva.content.styles Break title on watchlist and scope non-hyphenated links 2020-03-27 00:30:54 +00:00
skins.minerva.content.styles.images Unify SVGO rules to Wikimedia coding conventions and re-crush SVGs 2020-02-18 00:41:06 +00:00
skins.minerva.icons.page.issues.default.color Update '.svgo.yml' with pretty print rule and re-crush all icons 2020-02-11 13:53:36 -08:00
skins.minerva.icons.page.issues.medium.color build: Add 'sortAttrs' convention rule to 'svgo' & re-run 2020-03-07 20:09:42 -08:00
skins.minerva.icons.page.issues.uncolored build: Add 'sortAttrs' convention rule to 'svgo' & re-run 2020-03-07 20:09:42 -08:00
skins.minerva.loggedin.styles Always enable stylelint rules after disable 2020-03-11 15:50:14 -07:00
skins.minerva.mainMenu.styles Use .text-overflow() mixin from 'mediawiki.mixins' 2020-04-21 11:49:30 -07:00
skins.minerva.mainPage.styles Remove obsolete, deprecated cache-only selectors 2019-12-19 18:37:35 +00:00
skins.minerva.options Clicking the category overlays is synchronous 2020-02-04 16:53:16 +08:00
skins.minerva.scripts Fix posting talk page replies on pages with subsections 2020-05-14 22:57:00 +02:00
skins.minerva.talk.styles 🐛 Fix simplified talk page section collapsing on tablet+ 2019-12-19 14:22:34 -07:00
skins.minerva.userpage.styles
mobile.startup.stub.js Make MobileFrontend dependency a soft one 2020-01-17 14:02:23 -08:00