Page MenuHomePhabricator

Summary Link To box does not show entire URL
Closed, ResolvedPublic

Description

When I click in the Link To button which appears in the summary of a Thread, the URL shown is of the form "/wiki/Page", but it should be e.g. "pt.wikibooks.org/wiki/Page", as it is in the "Link To" for Threads.


Version: master
Severity: minor
URL: https://test2.wikipedia.org/wiki/Thread:User_talk:Qgil/Sounds_good_to_me

Details

Reference
bz25765

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:22 PM
bzimport set Reference to bz25765.

Do you mean the "Link to" button each post has? WORKSFORME

Please reopen if you meant something else.

Still reproducible at
https://test2.wikipedia.org/wiki/Thread:User_talk:Qgil/Sounds_good_to_me

PS: notice there are two "link to" links:

  1. The one in the "Thread summary", pointing to

/wiki/Summary:User_talk:Qgil/Sounds_good_to_me

  1. The other inside the menu labelled "More", pointing to

https://test2.wikipedia.org/wiki/Thread:User_talk:Qgil/Sounds_good_to_me

Ignore this comment (it is just a test).

  • Bug 48631 has been marked as a duplicate of this bug. ***

What issues does this actually cause for users? They should both be valid links...

Yes, the html is: “<a href="/wiki/Thread:User_talk:Qgil/Sounds_good_to_me" title="Link to">Link to</a>” but your browser will convert that into http://pt.wikibooks.org/wiki/Thread:User_talk:Qgil/Sounds_good_to_me or https://pt.wikibooks.org/wiki/Thread:User_talk:Qgil/Sounds_good_to_me or http://domain.com/wiki/Thread:User_talk:Qgil/Sounds_good_to_me as required by the specification.

If you press that link and you are not sent there, it's a bug in your User Agent. What browser are you using?

That is not a link to be clicked, it a text to be copied. The relevant HTML in the popup is like this:
<tr>

<th>Link URL:</th>
<td class="lqt-thread-link-url">/wiki/Page</td>

</tr>
and the user can't use the text "/wiki/Page" to create a link ("[/wiki/Page this]" do not work)

Se also the attachment from bug 48631:
http://bug-attachment.wikimedia.org/attachment.cgi?id=12349

Related URL: https://gerrit.wikimedia.org/r/66334 (Gerrit Change Id3e4d67769d0ed8eba9d37381482da9ef2188ce4)

Change 66334 merged by jenkins-bot:
Show entire link (including wgServer and protocol) in summary Link To box

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