Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouse wheel scrolls page down if overlays are turned off #13

Open
Pikse opened this issue Oct 12, 2023 · 1 comment
Open

Mouse wheel scrolls page down if overlays are turned off #13

Pikse opened this issue Oct 12, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Pikse
Copy link
Contributor

Pikse commented Oct 12, 2023

In T286136 an effort was made to prevent it from happening instead or in addition to zooming but it still seems to happen if both Wikipedia World and WIWOSM overlays are turned off.

I noticed this in Firefox 118 but can't reproduce in older browser versions like Firefox 97.

(As a side note, it would be nice if these overlays could be disabled via URL parameter and mw.config setting in MetaWiki script as the underlaying data is very outdated. In et.wikipedia we had to fork this script and manipulate the toolforge URL to be able to disable WIWOSM in particular.)

@Eccenux Eccenux added the bug Something isn't working label Oct 13, 2023
@Eccenux
Copy link
Member

Eccenux commented Oct 14, 2023

Forked:
https://et.wikipedia.org/wiki/MediaWiki:Gadget-OpenStreetMap/OSM.js
Param notes:

var layersParam ~= mw.config.get('osm_proj_layers') ? '&layers=' + mw.config.get('osm_proj_layers') : '';
url = 'https://wiwosm.toolforge.org/osm-on-ol/kml-on-ol.php?lang='...

Example:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants