Page MenuHomePhabricator

#mw-newentity-form1 sometimes has incorrect action attribute
Closed, DuplicatePublic


I got this somehow. Note that Special: prefix in action= is missing.

<form id='mw-newentity-form1' action='/wiki/NewItem' method='post' enctype='application/x-www-form-urlencoded' class='mw-htmlform-ooui oo-ui-layout oo-ui-formLayout'>

This was achieved by trying to create an item with language=zh-cn, label=User:... (which is rejected by "Links to userpages" on Wikidata).

Related Objects

Event Timeline

liangent created this task.Jan 14 2016, 9:33 AM
liangent raised the priority of this task from to Needs Triage.
liangent updated the task description. (Show Details)
liangent added a subscriber: liangent.
Restricted Application added a project: Wikidata. · View Herald TranscriptJan 14 2016, 9:33 AM
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald Transcript
thiemowmde triaged this task as High priority.Sep 1 2016, 3:29 PM
thiemowmde added a subscriber: thiemowmde.

I can reproduce this as described. Works in all languages. Simply go to and try to submit the form twice. I believe this is a bug in the HTMLForm class.