Vai al contenuto

Discussioni MediaWiki:Kartographer.js

Contenuti della pagina non supportati in altre lingue.
Aggiungi argomento
Da Wikivoyage.
Ultimo commento: 1 anno fa, lasciato da Andyrom75 in merito all'argomento Request to remove obsolete nearby code

Request to remove obsolete nearby code

[modifica]

Hi Wikivoyage! The Wikimedia Deutschland Technical Wishes Team introduced a new nearby feature that's the default on all wikis for some time now. The original nearby feature that was mostly exclusive to Wikivoyage wikis got disabled with that. Now that some time has passed we would like to clean up the involved extension and remove old code that was responsible for the original feature. For that it is required that no scripts or gadgets try to access the outdated code. So I'm kindly requesting the removal of the following parts in this script:

nearbyArticlesCfg = {
	url: 'https://wikivoyage.toolforge.org/w/data/it-articles.js',
	thumbPath: '//upload.wikimedia.org/wikipedia/commons/thumb/'
},
wv.NearbyArticles.setConfig( nearbyArticlesCfg );
wvmap.nearby();

Thanks in advance -- Christoph Jauera (WMDE) (discussioni) 10:39, 11 ott 2023 (CEST)Rispondi

@Christoph Jauera (WMDE), please let me know if it's fine and if other actions are required by my side. Thanks, Andyrom75 (discussioni) 12:15, 11 ott 2023 (CEST)Rispondi
Thanks for the quick response. No everything else seems fine. For completeness you could also remove this upper line in the comment of the script, that's also not true anymore now:
:: * - Adds a control (top left) to show the Nearby Articles from enwikivoyage.
::
Christoph Jauera (WMDE) (discussioni) 16:57, 11 ott 2023 (CEST)Rispondi
Done. Thanks @Christoph Jauera (WMDE) for your insight. Feel free to contact me for other fix/improvements on it:voy. Andyrom75 (discussioni) 17:11, 11 ott 2023 (CEST)Rispondi