Last modified: 2014-03-14 20:05:33 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 T64640, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62640 - URL generated by {{fullurl:}} does not include mobile domain prefix
URL generated by {{fullurl:}} does not include mobile domain prefix
Status: RESOLVED DUPLICATE of bug 50399
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Unprioritized minor
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-14 09:50 UTC by Lokal_Profil
Modified: 2014-03-14 20:05 UTC (History)
13 users (show)

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


Attachments

Description Lokal_Profil 2014-03-14 09:50:20 UTC
Intention:
Visiting upload page on mobile

Steps to Reproduce:
1. Log in
2. go to https://commons.m.wikimedia.org/wiki/Special:Upload
3. Click

Actual Results:  
Link takes you to https://commons.wikimedia.org/w/index.php?title=Special:UserLogin

Expected Results:  
Link should take you to https://commons.m.wikimedia.org/w/index.php?title=Special:UserLogin

Reproducible: Always

Work around is simply to use the menu but it's still counter intuitive compared to the obvious "Log in" link.
Comment 1 Bingle 2014-03-14 09:55:09 UTC
Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1774
Comment 2 Jon 2014-03-14 17:39:54 UTC
I'm not sure what you mean by your steps
Do you mean...?
1) Go to the mobile site of Special:Upload on https://commons.m.wikimedia.org/wiki/Special:Upload
2) Where it says "You must be logged in to upload files." click the login link.

Actual:
You are now on the desktop page of the login form

Expected:
You should be on the mobile page of the login form

If so this is actually not a bug in MobileFrontend. Note that this works fine on http://en.m.wikipedia.org/wiki/Special:Upload so I suspect this may even be a issue on the wiki itself since the message that appears is different.

On commons the link is an external one rather than a local link, this looks broken.

This is either
* a bug in core
* Some other extension live on Commons
* A configuration issue on Commons
Comment 3 Tisza Gergő 2014-03-14 19:48:25 UTC
The text comes from [[commons:MediaWiki:Uploadnologintext]] which has been customized (normally the upload link would be a parameter - see https://commons.m.wikimedia.org/wiki/Special:Upload?uselang=qqx which works as expected).

So the root issue is that {{fullurl}} does not respect the current domain. (Although I'm not sure why they even use it when $1 gives the same link but also keeps any query parameters. Might be a legacy thing.)

Test case: https://m.mediawiki.org/wiki/User:Tgr_(WMF)/test/fullurl

Putting back tentatively to MobileFrontend although in the end it might be some sort of site config issue; I'm not familiar with how the mobile domains are set up.
Comment 4 Jon 2014-03-14 19:55:31 UTC

*** This bug has been marked as a duplicate of bug 50399 ***
Comment 5 Tisza Gergő 2014-03-14 20:05:33 UTC
Asked for a local fix on Commons: https://commons.wikimedia.org/wiki/MediaWiki_talk:Uploadnologintext#Use_.241_for_link

Seems like the message is in a similar or worse shape on other wikis as well; not sure what would be the right place to raise awareness of that (translators-l?)

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


Navigation
Links