Last modified: 2012-06-24 05:51:06 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T39435, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37435 - OH-AFT - Able to insert invalid date and URL in web citation template
OH-AFT - Able to insert invalid date and URL in web citation template
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
WikiEditor (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-09 19:16 UTC by Abhinav
Modified: 2012-06-24 05:51 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Repro image with IE10 (1.63 MB, application/octet-stream)
2012-06-09 19:16 UTC, Abhinav
Details
Screen_Repro (150.16 KB, image/png)
2012-06-09 19:41 UTC, Abhinav
Details

Description Abhinav 2012-06-09 19:16:04 UTC
Created attachment 10715 [details]
Repro image with IE10

Repro Steps :-

-> Log in wikimedia
-> Select any article & Choose the Edit options.
-> Click on "cite" options from command bar in Edit options.
-> Select the Template Citi/ Web template from drop down
-> Popup page will open with "Web-Citation" title.
-> In the "Access date" Text box -> Type Characters, symbols, junk characters Etc.

Date field allows to choose the invalid "access date"
Comment 1 Abhinav 2012-06-09 19:41:52 UTC
Created attachment 10716 [details]
Screen_Repro

There should be validation for all fields. why we are allowing the end users to insert symbols/ Junk characters in other field like name etc. 


Wikimedia don't have proper validation for the Date & URL fields. End-user are able to insert the anything for Date & URLS. Invalid URLS & date to !
Comment 2 Krinkle 2012-06-09 19:45:22 UTC
This is an English Wikipedia script, not part of the MediaWiki software or any of its plugins.

Marking as invalid as such, since there is nothing we can do here.

See also https://en.wikipedia.org/wiki/MediaWiki:Common.js/edit.js
Comment 3 Sumana Harihareswara 2012-06-09 19:49:11 UTC
Abhinav, if you'd like to fix this, you can go to English Wikipedia and add validation to that JavaScript there, or add your request for date and URL validation to the discussion page at https://en.wikipedia.org/wiki/MediaWiki_talk:Common.js/edit.js .
Comment 4 Krinkle 2012-06-09 19:50:05 UTC
It should probably be using the jQuery UI date picker module (which presumably doesn't have this bug, if it does, it should be reported upstream to the jquery bug tracker).

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links