Last modified: 2014-07-24 17:27:00 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 T70339, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68339 - Flow: improve old workflow=<UUID> redirect
Flow: improve old workflow=<UUID> redirect
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
master
All All
: Unprioritized minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-21 20:56 UTC by spage
Modified: 2014-07-24 17:27 UTC (History)
6 users (show)

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


Attachments

Description spage 2014-07-21 20:56:07 UTC
Gerrit change #147554 redirects old-style Flow_Board?workflow=<uuid> URLs to Topic:<uuid> URLs, fixing bug 68224.  However, it leaves the unneeded workflow query string parameter and drops other query string parameters.

1. 
 http://en.wikipedia.beta.wmflabs.org/w/index.php?title=Talk:Flow&workflow=rylar2mda6g0d4fz
does a 302 redirect to
 http://en.wikipedia.beta.wmflabs.org/w/index.php?title=Topic:Rylar2mda6g0d4fz&workflow=rylar2mda6g0d4fz

but the obsolete workflow parameter is still part of the URL. And if this was the only query string parameter, then the redirect URL can be the cleaner /wiki/Topic:Rylar2mda6g0d4f

2. 
Other query string parameters in the old URL are lost, so for example old actions don't work any more.  A contrived example:
 http://en.wikipedia.beta.wmflabs.org/w/index.php?title=Talk:Flow&workflow=rylar2mda6g0d4fz&action=edit-topic-summary
does the same 302 redirect to
 http://en.wikipedia.beta.wmflabs.org/w/index.php?title=Topic:Rylar2mda6g0d4fz&workflow=rylar2mda6g0d4fz

losing the action and any other parameters.

3.
I think a 301 Moved Permanently redirect would be better.
Comment 1 Danny Horn 2014-07-24 17:27:00 UTC
in backlog: https://trello.com/c/B7Z6Rltz

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


Navigation
Links