Page MenuHomePhabricator

Remove custom old nearby functionality for Wikivoyage from Kartographer
Closed, ResolvedPublic

Description

After the new nearby articles mode (T304076) of Kartographer is launched and T90645 has been completed, we should work on enabling the most important Wikivoyage communities to switch over to this new feature, with the eventual goal of being able to deprecate and remove the custom data layer for nearby Wikivoyage articles from the Kartographer source code.

The wgKartographerWikivoyageMode adds several additional features specific to Wikivoyage. One of these features is that if a nearbyArticlesCfg is set in MediaWiki:Kartographer.js, this source will be used to add an additional layer to the layers control to load nearby articles from an external source. Most of these POIs will now be available via the new nearby articles mode (although likely not all/not the same etc).

The reason to switch away from the old method is multiple but includes:

For this to be accomplished, the following steps should done

Queries used to look for usages:

Event Timeline

TheDJ updated the task description. (Show Details)
WMDE-Fisch subscribed.

@TheDJ Thanks for creating this task. The Wikivoyage nearby feature has been disabled for over 3 month now. [1] Since then at least the controls to enable the feature were not added anywhere automatically. [2]

Since I'm not aware of any complaints, I would check off the first two points on the list and we could start making sure the wikis don't use any code related to the old nearby feature that's relevant.

[1] https://gerrit.wikimedia.org/r/c/operations/mediawiki-config/+/922810
[2] https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Kartographer/+/843467

Change 966152 had a related patch set uploaded (by WMDE-Fisch; author: WMDE-Fisch):

[mediawiki/extensions/Kartographer@master] Remove most of the code for the obsolete WV Nearby

https://gerrit.wikimedia.org/r/966152

Change 966509 had a related patch set uploaded (by WMDE-Fisch; author: WMDE-Fisch):

[mediawiki/extensions/Kartographer@master] Remove PruneCluster library

https://gerrit.wikimedia.org/r/966509

Change 966520 had a related patch set uploaded (by WMDE-Fisch; author: WMDE-Fisch):

[operations/mediawiki-config@master] Cleanup Kartographer Nearby flags

https://gerrit.wikimedia.org/r/966520

Change 966152 merged by jenkins-bot:

[mediawiki/extensions/Kartographer@master] Remove most of the code for the obsolete WV Nearby

https://gerrit.wikimedia.org/r/966152

Change 966509 merged by jenkins-bot:

[mediawiki/extensions/Kartographer@master] Remove PruneCluster library

https://gerrit.wikimedia.org/r/966509

Waiting for 1.42.0-wmf.2 deployment to remove config flags

Waiting for 1.42.0-wmf.2 deployment to remove config flags

Config flags cleanup can be deployed now. See https://versions.toolforge.org/

Change 966520 merged by jenkins-bot:

[operations/mediawiki-config@master] Cleanup Kartographer Nearby flags

https://gerrit.wikimedia.org/r/966520

Mentioned in SAL (#wikimedia-operations) [2023-10-30T08:10:17Z] <wmde-fisch@deploy2002> Started scap: Backport for [[gerrit:966520|Cleanup Kartographer Nearby flags (T332785)]]

Mentioned in SAL (#wikimedia-operations) [2023-10-30T08:11:33Z] <wmde-fisch@deploy2002> wmde-fisch: Backport for [[gerrit:966520|Cleanup Kartographer Nearby flags (T332785)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2023-10-30T08:17:53Z] <wmde-fisch@deploy2002> Finished scap: Backport for [[gerrit:966520|Cleanup Kartographer Nearby flags (T332785)]] (duration: 07m 35s)

Change 972457 had a related patch set uploaded (by WMDE-Fisch; author: WMDE-Fisch):

[mediawiki/extensions/Kartographer@master] Remove remaining leftovers from deprecated Wikivoyage Nearby

https://gerrit.wikimedia.org/r/972457

Change 972457 merged by jenkins-bot:

[mediawiki/extensions/Kartographer@master] Remove remaining leftovers from deprecated Wikivoyage Nearby

https://gerrit.wikimedia.org/r/972457