Last modified: 2012-06-04 14:06:41 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 T35348, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33348 - Page jumps to top when you click on the menu
Page jumps to top when you click on the menu
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WebFonts (Other open bugs)
unspecified
All All
: Lowest minor (vote)
: ---
Assigned To: Santhosh Thottingal
https://www.mediawiki.org/wiki/MediaW...
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-23 11:22 UTC by Michael M.
Modified: 2012-06-04 14:06 UTC (History)
3 users (show)

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


Attachments

Description Michael M. 2011-12-23 11:22:56 UTC
When you click on the menu to select a font, the page jumps to the top. In most skins you won't notice this since you are at the top of the page anyway, but for example in the skin myskin (see url) you will notice this.
There seems a
 e.preventDefault();
to be missing.
Comment 1 Siebrand Mazeland 2011-12-23 11:31:35 UTC
We're basically only supporting and testing Vector, Monobook and Modern for WebFonts and Narayam UI elements. Them working in any of the legacy skins is being lucky.

We're not going to fix this, but we're open to accepting patches, testing those and integrating them.
Comment 2 Michael M. 2011-12-23 11:38:33 UTC
This actually is an issue with the modern skins, too: It breaks the backwards button of your browser:

1. Go to https://www.mediawiki.org/wiki/Talk:MediaWiki
2. Click "Page" to go to https://www.mediawiki.org/wiki/MediaWiki
3. Click "Select font"
4. Click the back button of your browser.

Expected behaviour: You should return to the talk page.
Actual behaviour: You have to click "back" a second time.
Comment 3 Santhosh Thottingal 2012-06-04 14:06:41 UTC
https://gerrit.wikimedia.org/r/10115 fixed this.

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


Navigation
Links