Last modified: 2012-01-06 09:47:12 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 T35262, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33262 - Don't pollute Special:Contributions with empty parameters
Don't pollute Special:Contributions with empty parameters
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-19 22:44 UTC by Sam Reed (reedy)
Modified: 2012-01-06 09:47 UTC (History)
4 users (show)

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


Attachments

Description Sam Reed (reedy) 2011-12-19 22:44:46 UTC
It seems since 1.18 (maybe?), that running a filter of Special:Contributions adds a loads of empty parameters, and it's just messy

Only pass &key=value if value != ''
Comment 1 Krinkle 2011-12-29 10:20:09 UTC
Afaik submitting the form by hand always passes them since that's what browsers should do with action=get and empty form elements.

But when clicking the navigation links they could probably be normalized.
Comment 2 Niklas Laxström 2011-12-29 10:36:01 UTC
Or we could redirect to cleaned up url, or use some javascript trickery to omit the unset ones...but well, this is not a high priority. Good thing is that we don't have mixed form/links like in Special:RecentChanges.
Comment 3 Antoine "hashar" Musso (WMF) 2012-01-06 09:47:12 UTC
That is really how forms are submitted by browsers. That also let you inform the server that the field exist and is actually empty. Of course, 1.17 also has this behavior.

Closing. Should be reported to w3c so forms can get an option to not submit empty fields.

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


Navigation
Links