Page MenuHomePhabricator

Migrate Special:GlobalWatchlist to Vue
Open, LowestPublic

Description

Definitely won't happen for a while, but filing as a placeholder

See T241180: RFC: Adopt a modern JavaScript framework for use with MediaWiki for some of the reasoning

Should be easier after T249840: Where should shared Vue.js UI components live for WMDE and WMF projects?

For now, going to keep looking into what other repos are doing to get more familiar with how it works and how to migrate.
T244392: [GOAL] Deploy the new Vue.js search experience is currently planned for completion by the end of September 2020, and includes component shareability among its goals, as well plans to document lessons, and hopefully making it easier for more repos to start using ("The result is that using Vue.js at Wikimedia is either practical or the steps needed to make it practical are identified.")

Docs:
https://vuejs.org/v2/guide/
https://www.mediawiki.org/wiki/Vue.js

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
DannyS712 triaged this task as Lowest priority.Jul 30 2020, 7:00 AM
DannyS712 moved this task from Unsorted to Later on the User-DannyS712 board.
DannyS712 moved this task from Backlog to Later on the MediaWiki-extensions-GlobalWatchlist board.

Okay, the vue version exists, and whether it is used is controlled by $wgGlobalWatchlistUseVue, which defaults to false.
It works, but it isn't pretty. Once shared components are available, will add those.

Working on this a bit locally. Current info:

Filed T275914 for the icons that we have copied

Change 667253 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/GlobalWatchlist@master] Vue: remove Label base component

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

Shouldn't have linked to this, that patch is about more stuff