Last modified: 2014-06-07 06:19:40 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 T67592, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65592 - Selection a namespace on [[Special:Watchlist]] should add the "namespace" parameter to the URL
Selection a namespace on [[Special:Watchlist]] should add the "namespace" par...
Status: PATCH_TO_REVIEW
Product: MediaWiki
Classification: Unclassified
Watchlist (Other open bugs)
1.24rc
All All
: Low enhancement (vote)
: ---
Assigned To: Rohan Rawat
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-21 16:00 UTC by Helder
Modified: 2014-06-07 06:19 UTC (History)
5 users (show)

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


Attachments

Description Helder 2014-05-21 16:00:52 UTC
1. Go to
https://en.wikipedia.org/wiki/Special:Watchlist
2. Select "User" namespace in the dropdown menu
3. Click "Go"
4. The page will be reloaded but the URL will still be
https://en.wikipedia.org/wiki/Special:Watchlist

Notice that if now I click in e.g. "Show minor edits", the URL becomes
https://en.wikipedia.org/w/index.php?title=Special:Watchlist&namespace=2&hideminor=0
so the "Go" button should also generate this parameter.

This would allow scripts such as
https://en.wikipedia.org/wiki/User:Theopolisme/Scripts/ajaxWatchlist.js?oldid=598337587
to easily update the page with the same parameters it was loaded initially.
Comment 1 Rohan Rawat 2014-06-02 17:28:38 UTC
I would like to work on this.
Can someone please assign this bug to me ?
Comment 2 Bawolff (Brian Wolff) 2014-06-02 17:30:09 UTC
Assigned
Comment 3 Rohan Rawat 2014-06-05 13:51:09 UTC
The reason the "namespace" parameter doesn't appear in the url is because the form on the Watchlist page uses POST method.
Changing it to GET seems to work.
 
So, should i change it to GET, since there is no sensitive data being passed ?
Comment 4 Gerrit Notification Bot 2014-06-05 17:00:18 UTC
Change 137702 had a related patch set uploaded by Rohan013:
Fix for bug 65592, adds namespace parameter to the url

https://gerrit.wikimedia.org/r/137702
Comment 5 Gerrit Notification Bot 2014-06-07 06:19:40 UTC
Change 137702 had a related patch set uploaded by devunt:
Adds namespace parameter to the url in Special:Watchlist pages

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

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


Navigation
Links