Last modified: 2014-02-12 23:52:32 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 T56245, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54245 - MobileFrontend: Fix "Uncaught ReferenceError: redirectToFragment is not defined"
MobileFrontend: Fix "Uncaught ReferenceError: redirectToFragment is not defined"
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 35858
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-17 22:00 UTC by Jon
Modified: 2014-02-12 23:52 UTC (History)
11 users (show)

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


Attachments

Description Jon 2013-09-17 22:00:14 UTC
Go to 
https://en.m.wikipedia.org/wiki/Blood_purity_(Harry_Potter)#Squibs

Seems to have an inline script:
redirectToFragment("#Blood_purity");

this global does not exist. Not sure how it surfaces or what it refers to.
Comment 1 Bartosz Dziewoński 2013-09-17 22:02:15 UTC
redirectToFragment is part of legacy wikibits.js. The call is added as inline script on redirects to section. The bug about not making it legacy is bug 35858.
Comment 2 Arthur Richards 2013-09-17 22:10:15 UTC
Prioritization and scheduling of this bug is tracked on Mingle card https://mingle.corp.wikimedia.org/projects/mobile/cards/1213
Comment 3 Jon 2013-11-12 17:57:34 UTC
Looks like the proposed fix [1] will magically fix this one.
A module to handle this is added to the OutputPage but it will be filtered out by mobile targets.

[1] https://gerrit.wikimedia.org/r/#/c/94412/6
Comment 4 Bartosz Dziewoński 2014-01-07 21:18:45 UTC
Is this fixed now, with that patch merged?
Comment 5 Jon 2014-01-22 18:56:56 UTC
Looks like it. yey \o/

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


Navigation
Links