Currently the delete api requires the user to specify the namespace. A better version may only require the id for the deletion.
Description
Description
Event Timeline
Comment Actions
Currently the delete api requires the user to specify the namespace. A better version may only require the id for the deletion.
Does it?
https://en.wikipedia.org/w/api.php?action=help&modules=delete doesn't mention namespace, but you can pass pageid?
Comment Actions
The namespace is part of the title, so if you're using the title parameter then the namespace is required. There's no sane way around this.
When using pageid, there's not even any place to supply a namespace.