Page MenuHomePhabricator

61: Add slow internet / faster loading / 'lite' version mode
Closed, ResolvedPublic

Description

For users that have slow computers or slower internet access, there should be an option to

  • Only retrieve the latest revision, and not count changes
  • When unwatching/rewatching, not process the associated page (requires API call to figure out) or trigger auto refresh (T235962)
  • Not retrieve wikidata labels
  • Not validate site settings (going to take longer because of T236863)
  • No live updates

Anything else?

Event Timeline

Restricted Application added a project: User-DannyS712. · View Herald Transcript

@DannyS712 Can you create an extension version of GlobalWatchlist or something? We could then request it to be deployed to Wikimedia sites.

@DannyS712 Can you create an extension version of GlobalWatchlist or something? We could then request it to be deployed to Wikimedia sites.

That is the eventual plan, but it'll take a while; I currently have no way to run mediawiki locally, so I cannot test it or run it. The easiest implementation as an extension would be, WMF specific, and would

  • Register the 2 "special pages"
  • For those special pages, just output a placeholder
  • Do everything else in the associated javascript module

I see. I've seen extensions work without JS. I think the watchlist changes results can be served without JS and be preloaded (like a local Watchlist) if you prepare an extension. I mean the current JS version takes a lot of time to fetch results if there are lots of changes.

I see. I've seen extensions work without JS. I think the watchlist changes results can be served without JS and be preloaded (like a local Watchlist) if you prepare an extension. I mean the current JS version takes a lot of time to fetch results.

Sure, but the current code for SpecialWatchlist (https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/refs/heads/master/includes/specials/SpecialWatchlist.php) does that by querying the database, and while that may be faster for 1 wiki, its simpler (in my view) to do it via the API (and that I already have written) - either way, it'll be a while. Maybe I'll apply for a WMF grant...

DannyS712 triaged this task as Medium priority.Nov 14 2019, 6:51 AM

Done in 6.2.0
Fast mode:

  • Only get a list of pages changed, not a count of changes
  • Don't retrieve wikidata labels
  • Don't process associated pages when unwatching
  • No live updates option

Site validation still performed, because its a setting and shouldn't affect other settings