Last modified: 2014-05-10 08:57:14 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 T59154, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57154 - Flow: Prettify thread permalink URLs
Flow: Prettify thread permalink URLs
Status: PATCH_TO_REVIEW
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://ee-flow.wmflabs.org/w/index.ph...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-18 02:12 UTC by MZMcBride
Modified: 2014-05-10 08:57 UTC (History)
7 users (show)

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


Attachments

Description MZMcBride 2013-11-18 02:12:03 UTC
http://ee-flow.wmflabs.org/w/index.php?title=Sandbox&workflow=0509a3b2518b34dffb6efa163e68c4ac&action=view

The current Flow thread permalink URL scheme is a bit ugly. :-)  Perhaps we can prettify it? &action=view is the implicit index.php action and can probably be safely removed. I'm not sure what to do with the rest of the URL.
Comment 1 spage 2013-11-18 08:03:51 UTC
The WMF core features team tracks this bug on Mingle card https://mingle.corp.wikimedia.org/projects/flow/cards/472, but people from the community are welcome to contribute here and in Gerrit.
Comment 2 Eduard Braun 2013-11-28 00:57:22 UTC
It should also be possible to Wikilink Flow threads. As far as I see one needs an external link right now to link to a flow topic.

Maybe something like [[Flow:0509a3b2518b34dffb6efa163e68c4ac#3]], that means[Namespace:ID#PostNo.]]
Comment 3 spage 2013-12-10 00:09:16 UTC
(In reply to comment #2)
> It should also be possible to Wikilink Flow threads. As far as I see one
> needs an external link right now to link to a flow topic.

A more "Web 2.0" front-end might be able to take [[Sandbox#workflow-0509a3b2518b34dffb6efa163e68c4ac]] and use the fragment to page to that topic within the Flow board. Something like this has been requested so that the "This topic was started on _Sandbox_" link at the top of a permalinked topic URL will not only load that Flow board but also paginate that topic into view, if the user has JavaScript enabled.

> Maybe something like [[Flow:0509a3b2518b34dffb6efa163e68c4ac#3]], that
means[Namespace:ID#PostNo.]]

That's a neat idea, but 0509a3b2518b34dffb6efa163e68c4ac is a legitimate page title.  It might be possible to load a topic as a subpage of the Flow special page -- Special:Flow/0509a3b2518b34dffb6efa163e68c4ac -- but you need to know a topic's board so that {{FULLPAGENAME}} and [[/Some_subpage]] in wikitext work.
Comment 4 Oliver Keyes 2013-12-12 19:12:01 UTC
There are *some* patches to improve this, but it looks like kind of a big deal - it'll probably be handled in multiple stages.
Comment 5 spage 2014-01-16 23:00:02 UTC
(In reply to comment #4)
> There are *some* patches to improve this, but it looks like kind of a big
> deal - it'll probably be handled in multiple stages.

* &action=view is gone

* We are going to shorten UUIDs and make them alphadecimal ( Gerrit change #98995 and Gerrit change #102626)
  -> http://ee-flow.wmflabs.org/w/index.php?title=Sandbox&workflow=rnfimx8dabsyhl2v

* You can always replace /w/index.php?title=Something& with /wiki/Something? . https://www.mediawiki.org/wiki/Requests_for_comment/Clean_up_URLs is an RFC for MediaWiki core to produce the latter
  -> http://ee-flow.wmflabs.org/wiki/Sandbox?workflow=rnfimx8dabsyhl2v

* Special:Flow/topic/rnfimx8dabsyhl2v remains a possibility. This is the URL that works as a wikitext link in square brackets without messing around with {{fullurl:}} and templates. It could allow, but not require, the Flow board as well. And we're not sure how to present alternate link formats to the user for easy copying, see <https://www.mediawiki.org/wiki/Flow/Functional_Specifications/Boards_and_Topics#Permalink>
  -> http://ee-flow.wmflabs.org/wiki/Special:Flow/topic/rnfimx8dabsyhl2v

* A JavaScript front-end that recognizes fragments is possible, but the link and wikitext [[Sandbox#topic-rnfimx8dabsyhl2v]] would not work in no-JavaScript browsers.

Replacing the UUID altogether with "name-of-topic" would require a cross-wiki UUID shortener table.
Comment 6 ypnypn9 2014-02-06 22:30:25 UTC
Can we do something like [[Special:Flow/Thread Name/123/8]], for the 8th comment to the 123rd thread with the name "Thread Name"?
Comment 7 Helder 2014-02-06 22:50:48 UTC
(In reply to comment #6)
> Can we do something like [[Special:Flow/Thread Name/123/8]], for the 8th
> comment to the 123rd thread with the name "Thread Name"?

In that case, please do not put the page name in the "Thread Name" (again, since LQT does that =/).

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


Navigation
Links