MediaWiki talk:Gadget-WikiMiniAtlas.js: Difference between revisions
→Sync request 2024-05-03: answered=y |
|||
Line 37: | Line 37: | ||
: {{ping|SD0001}} This request is broken - the compare gives an error and I appear to have handled the previous request already. [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 15:47, 3 May 2024 (UTC) |
: {{ping|SD0001}} This request is broken - the compare gives an error and I appear to have handled the previous request already. [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 15:47, 3 May 2024 (UTC) |
||
::Ah, there was a bug in the bot. Fixed in [https://github.com/siddharthvp/SDZeroBot/commit/dd1b7a35a9cf6acdff6677d0e354e405893ed869 dd1b7]. – [[User:SD0001|<span style="font-weight: bold; color: #C30">SD0001</span>]] ([[User talk:SD0001|talk]]) 17:49, 3 May 2024 (UTC) |
::Ah, there was a bug in the bot. Fixed in [https://github.com/siddharthvp/SDZeroBot/commit/dd1b7a35a9cf6acdff6677d0e354e405893ed869 dd1b7]. – [[User:SD0001|<span style="font-weight: bold; color: #C30">SD0001</span>]] ([[User talk:SD0001|talk]]) 17:49, 3 May 2024 (UTC) |
||
== Interface-protected edit request 16 June 2024 == |
|||
{{sudo}} |
|||
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, |
|||
* Rename [[MediaWiki:Gadget-ondemand-WikiMiniAtlas.js]] to [[MediaWiki:Gadget-WikiMiniAtlas.js]]. The prefix is no longer required. |
|||
* Update definition in [[MediaWiki:Gadgets-definition]] to <code><nowiki>* WikiMiniAtlas [ ResourceLoader | default | categories = Pages using gadget WikiMiniAtlas] | WikiMiniAtlas.js</nowiki></code> and put it in the template gadgets section. |
|||
* Change the mw.loader statement (line 69) in [[MediaWiki:Common.js]] to <syntaxhighlight lang="js" inline>mw.loader.load( 'ext.gadget.WikiMiniAtlas' );</syntaxhighlight> 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]] (<code>page</code> and <code>talkPage</code>) . |
|||
– [[User:SD0001|<span style="font-weight: bold; color: #C30">SD0001</span>]] ([[User talk:SD0001|talk]]) 10:53, 16 June 2024 (UTC) |
Revision as of 10:53, 16 June 2024
Interface-protected edit request on 27 December 2023
This edit request to MediaWiki:Gadget-ondemand-WikiMiniAtlas.js and MediaWiki:Gadgets-definition has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please create this page with the text
mw.loader.load('//meta.wikimedia.org/w/index.php?title=MediaWiki:Wikiminiatlas.js&action=raw&ctype=text/javascript');
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)
Hosting locally
Per the idea brought up in MediaWiki talk:Common.js#c-SD0001-20240130174500-Amorymeltzer-20240130134000, 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
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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)
Sync request 2024-05-03
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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)
- @SD0001: 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 is requested that an edit be made to the interface page at MediaWiki:Gadget-WikiMiniAtlas.js. (edit · history · last · links)
This template must be followed by a complete and specific description of the request, that is, specify what text should be removed and a verbatim copy of the text that should replace it. "Please change X" is not acceptable and will be rejected; the request must be of the form "please change X to Y".
The edit may be made by any interface administrator. Remember to change the |
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,
- Rename MediaWiki:Gadget-ondemand-WikiMiniAtlas.js to MediaWiki:Gadget-WikiMiniAtlas.js. The prefix is no longer required.
- Update definition in MediaWiki:Gadgets-definition to
* WikiMiniAtlas [ ResourceLoader | default | categories = Pages using gadget WikiMiniAtlas] | WikiMiniAtlas.js
and put it in the template gadgets section. - Change the mw.loader statement (line 69) in MediaWiki:Common.js to
mw.loader.load( 'ext.gadget.WikiMiniAtlas' );
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 (
page
andtalkPage
) .