Last modified: 2014-02-12 23:47:59 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 T48972, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46972 - Hijacked links in alpha do not work in non main name space
Hijacked links in alpha do not work in non main name space
Status: RESOLVED INVALID
Product: MobileFrontend
Classification: Unclassified
beta (Other open bugs)
unspecified
Smartphone other
: Low minor
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-06 20:27 UTC by Peter Berry
Modified: 2014-02-12 23:47 UTC (History)
9 users (show)

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


Attachments

Description Peter Berry 2013-04-06 20:27:14 UTC
When visiting a page outside main namespace, the content of all sections except the lead is taken from the corresponding section in main namespace. See for example http://en.m.wikipedia.org/wiki/Wikipedia:About (the first section takes its content from http://en.m.wikipedia.org/wiki/About).

This also affects sections that are transcluded from a template, and it's possible that subpages are also ignored, for example: http://en.m.wikipedia.org/wiki/Template:Dubious (sections in the documentation subpage Template:Dubious/doc which get transcluded in take their content from http://en.m.wikipedia.org/wiki/Dubious , which is a redirect to http://en.m.wikipedia.org/wiki/Doubt).
Comment 1 Peter Berry 2013-04-06 20:42:52 UTC
Forgot to mention, this is on Wikipedia now, so MediaWiki version 1.21wmf12.
Comment 2 Jon 2013-04-07 18:44:26 UTC
Are you using the "Here be dragons mode" by any chance?
( https://en.m.wikipedia.org/w/index.php?title=Special:MobileOptions&returnto=About )
Comment 3 Peter Berry 2013-04-08 11:52:57 UTC
Erm, yes. Should have mentioned that, sorry.
Comment 4 Jon 2013-04-08 16:07:19 UTC
No worries. Thanks for this crucial information. Marking as low since alpha is highly experimental and this feature is jot guaranteed to make it to beta.
Comment 5 Peter Berry 2013-04-10 02:03:49 UTC
Curiously, this also seems to affect pages that use "returnto":

1. In dragon mode, go to "Template:Confusing"
2. Using the menu at top left, go to settings. The URL now contains "&returnto=Template%3AConfusing"
3. Tap the save button

Expected: you are returned to "Template:Confusing"
Actual: you are returned to "Confusing" which redirects to "Mental confusion" (in main namespace)

This likewise only happens in dragon mode. You can even use the settings page to turn off dragon mode and this still happens.
Comment 6 Jon 2013-05-09 01:04:00 UTC
Lazy loading code has been removed as of https://gerrit.wikimedia.org/r/#/c/62940/ so this bug is no longer present.

Code is undergoing a big rewrite.

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


Navigation
Links