https://bugzilla.wikimedia.org/show_bug.cgi?id=53884
Web browser: ---
Bug ID: 53884
Summary: [Regression] Specifying an invalid section with
action=edit doesn't throw a nosuchsection error
Product: MediaWiki
Version: unspecified
Hardware: All
URL: https://en.wikipedia.org/wiki/Special:ApiSandbox#actio
n=edit&format=json&title=User%3ALegoktm§ion=300&te
xt=test&token=&summary=blahblah
OS: All
Status: NEW
Keywords: code-update-regression
Severity: normal
Priority: Unprioritized
Component: API
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
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".
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l