MediaWiki talk:Gadget-WikiMiniAtlas.js

Interface-protected edit request on 27 December 2023
Please create this page with the text and register a definition for a hidden gadget in MediaWiki:Gadgets-definition:
 * ondemand-WikiMiniAtlas [ ResourceLoader | hidden ] | ondemand-WikiMiniAtlas.js

The same code is currently run from MediaWiki:Common.js. Registering it as a gadget helps integrate it with the proposed WP:On-demand gadgets system so that the Common.js snippet can be removed.

For now, the above changes are a no-op. – SD0001  (talk) 17:30, 27 December 2023 (UTC)
 * ✅ * Pppery * it has begun... 18:29, 27 December 2023 (UTC)

Hosting locally
Per the idea brought up in MediaWiki talk:Common.js, I'm proposing that we host this locally for performance and security benefits, and use SDZeroBot 13 task to ensure that it remains in sync with the upstream version at meta:MediaWiki:Wikiminiatlas.js. – SD0001  (talk) 15:44, 11 March 2024 (UTC)
 * I have now set up the bot job to do this. – SD0001  (talk) 14:16, 3 May 2024 (UTC)

Sync request 2024-05-03
Please sync MediaWiki:Gadget-ondemand-WikiMiniAtlas.js with User:SDZeroBot/sync/MediaWiki:Gadget-ondemand-WikiMiniAtlas.js (diff). This brings it in sync with the upstream changes at meta:MediaWiki:Wikiminiatlas.js (hist).

This edit request is raised automatically based on the configuration at User:SDZeroBot/Gadgets-sync-config.json. Thanks, SDZeroBot (talk) 14:18, 3 May 2024 (UTC)
 * ✅ * Pppery * it has begun... 15:13, 3 May 2024 (UTC)

Sync request 2024-05-03
Please sync MediaWiki:Gadget-ondemand-WikiMiniAtlas.js with User:SDZeroBot/sync/MediaWiki:Gadget-ondemand-WikiMiniAtlas.js (diff). This brings it in sync with the upstream changes at meta:MediaWiki:Wikiminiatlas.js (hist).

This edit request is raised automatically based on the configuration at User:SDZeroBot/Gadgets-sync-config.json. Thanks, SDZeroBot (talk) 15:18, 3 May 2024 (UTC)
 * This request is broken - the compare gives an error and I appear to have handled the previous request already. * Pppery * it has begun... 15:47, 3 May 2024 (UTC)
 * Ah, there was a bug in the bot. Fixed in dd1b7. – SD0001  (talk) 17:49, 3 May 2024 (UTC)

Interface-protected edit request 16 June 2024
It's been some time since Module:Coordinates and Module:Attached KML were updated. The parser caches have mostly caught on and Category:Pages using gadget WikiMiniAtlas now has 1.2 million pages.

To convert this to a template gadget, – SD0001  (talk) 10:53, 16 June 2024 (UTC)
 * Rename MediaWiki:Gadget-ondemand-WikiMiniAtlas.js to MediaWiki:Gadget-WikiMiniAtlas.js. The prefix is no longer required.
 * Update definition in MediaWiki:Gadgets-definition to  and put it in the template gadgets section.
 * Change the mw.loader statement (line 69) in MediaWiki:Common.js to  as it might take some time for CDN caches for logged-out users to update. Until then, the template gadget won't load for them. There won't be any double-loading as mw.loader.load is a no-op if module was already present.
 * After 2-4 weeks, we can remove WikiMiniAtlas from Common.js entirely.
 * Update the entry in User:SDZeroBot/Gadgets-sync-config.json ( and  ).
 * ✅ * Pppery * it has begun... 00:59, 18 June 2024 (UTC)