Web doesn't use a section number for some subsections w/o content. However, every section level in parsoid gets a section number. This causes issues downstream - when the mobile apps request a specific section's wikitext for a user to edit, it's the incorrect section because of this off-by-one error.
To replicate: Go to this subsection, tap edit. Visual Editor opens to the incorrect section.
See comment below for details on the investigation that led us here.
Original Title: Tapping "Edit" from the contextual menu in subsection opens subsequent subsection
Original Text:
How many times were you able to reproduce it?
Every time
Steps to reproduce
- Go to the article Hero’s journey on iOS.
- Under Campbell’s seventeen stages, navigate to Supernatural Aid or some other subsection.
- Select a word and tap Edit.
Expected results
The app will open the proper subsection and finds the word you selected.
Actual results
The app will open the subsection subsequent to the one you’ve attempted to edit, and it tries to find the word you selected in this section instead.
Environments observed
App version: 6.8.0
OS versions: 14.4.2
Device model: iPhone 7
Device language: EN
Affected articles?
- Hero's journey on EN, but probably others with subsections.