API action=edit allows creation of illegal page names
Closed, ResolvedPublic


While submitting "title=wikt:en:Wikipedia:Sandbox" via the API, the page was created and shown as [[en:Wikipedia:Sandbox]], and cannot be deleted in normal ways except use the API again.

Maybe these "interwiki" request should be denied?


Version: unspecified
Severity: normal

bzimport added a project: MediaWiki-API.Via ConduitNov 21 2014, 10:46 PM
bzimport set Reference to bz20967.
jimmyxu created this task.Via LegacyOct 2 2009, 7:22 PM
Reedy added a comment.Via ConduitNov 6 2009, 2:17 PM

Created attachment 6754
If the title is "external" interwiki, die with invalidtitle

Deny editing (and therefore creation) of bugs with interwiki in title

Attached: apiinterwikititle.patch

Catrope added a comment.Via ConduitNov 6 2009, 2:44 PM

Patch committed in r58649.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.