Was writing tests for testEditSection and noticed this...
Setting §ion=300 on [[User:Legoktm]] (no sections at all) returns:
{
"edit": { "result": "Success", "pageid": 14989378, "title": "User:Legoktm", "contentmodel": "wikitext", "nochange": "" }
}
It should have thrown an error of "nosuchsection".
Version: 1.22.0
Severity: normal
URL: https://en.wikipedia.org/wiki/Special:ApiSandbox#action=edit&format=json&title=User%3ALegoktm§ion=300&text=test&token=&summary=blahblah