Hey Jeroen, thanks for raising it. Can you fill a phab task for that? I
think that's a better way to make it visible.
On Wed, Apr 1, 2020 at 1:09 AM Jeroen De Dauw <jeroendedauw(a)gmail.com>
When using the Maps extension together with MediaWiki 1.34 or later the
markers on Leaflet maps do not show correctly.
Issue tread: https://github.com/JeroenDeDauw/Maps/issues/607
They show fine on older versions of MediaWiki. Though only if Maps loads
the leaflet.css file by stuffing an Html::linkedStyle() into the header on
top of using the Resouce Loader. Without that hack the bug also shows up on
older MediaWiki versions.
As you can deduce from that hack working, Resouce Loader is somehow
involved. This can be confirmed by setting $wgResourceLoaderDebug to true,
which causes the bug to disappear. I tracked this down a bit and found that
this modification "fixes" the bug as well:
Without knowing how the Leaflet library is being broken or knowing Resource
Loader internals, this is rather hard to track down further. Any help is
Some relevant code:
* Resource loader module definition:
Jeroen De Dauw | www.EntropyWins.wtf
Professional wiki hosting and services: www.Professional.Wiki
Entrepreneur | Software Crafter | Open Source | Wikimedia | Speaker
Wikitech-l mailing list