is there a way to obtain the section number of a section, if I know it's name?
My goal is to use API edit action on an existing section, but the edit action requires a section number.
Section name is allowed only for new sections. (i wish name was allowed for existing sections too).
Alternatively, is there a method to edit a section by name directly?
Might be relevant: https://m.mediawiki.org/wiki/Special:MyLanguage/API:Query#/talk/21