mediawiki-skins-MinervaNeue/includes
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
..
Menu Replace skins.minerva.mainMenu.advanced.icons with OOUI icons 2020-05-01 12:18:35 -07:00
Permissions
Skins Fix posting talk page replies on pages with subsections 2020-05-14 22:57:00 +02:00
LanguagesHelper.php
MinervaHooks.php Fix namespace of SkinUserPageHelper 2020-05-01 02:29:54 +01:00
MinervaUI.php
ResourceLoaderLessVarFileModule.php
ServiceWiring.php Fix namespace of SkinUserPageHelper 2020-05-01 02:29:54 +01:00
SkinOptions.php