Page MenuHomePhabricator

CiteThisPage should not show error message before I do anything
Closed, ResolvedPublicBUG REPORT

Description

Open https://en.wikipedia.org/wiki/Special:CiteThisPage or similar special page on a wiki where CiteThisPage extension is enabled.

Observe two error messages saying there are problems with your input. But I did not not input anything for the form to validate.

Expected

The form should not show any error message until if I click the submit button without supplying the required values

Event Timeline

Masumrezarock100 changed the subtype of this task from "Task" to "Bug Report".

Change 551316 had a related patch set uploaded (by Sohom Datta; owner: Sohom Datta):
[mediawiki/extensions/CiteThisPage@master] Stopped form from showing errors without input

https://gerrit.wikimedia.org/r/551316

Okay, same sort of bug also happens at Special:ChangeContentModel.

Screenshot from 2019-11-17 10-53-55.png (768×1 px, 67 KB)

Edit : Reported the bug in T238486

Change 551316 merged by jenkins-bot:
[mediawiki/extensions/CiteThisPage@master] Add setFormIdentifier to prevent validation errors

https://gerrit.wikimedia.org/r/551316

Thanks! Sorry I didn't look at the patch earlier.