Page MenuHomePhabricator

Dashboard showing tours installed on the current wiki
Open, LowPublicFeature

Description

This was requested at https://www.mediawiki.org/wiki/Extension_talk:GuidedTour#List_of_tours.3F__30038 . It can definitely be done; it just requires some consideration of performance.

For on-wiki tours, it could do a prefix search (like https://en.wikipedia.org/wiki/Special:PrefixIndex/MediaWiki:Guidedtour-tour-), then filter for the ones ending in JS. An alternative is to use a hook on save and delete to keep a list updated somewhere (e.g. Redis or memcached).

For built-in tours, the simplest approach is to iterate over the registered extension-provided modules searching for those with the GuidedTour naming scheme. This is not ideal, but may have sufficient performance (especially with simple time-based caching).

An alternative is to reintroduce a GuidedTour ResourceLoader class, which would allow tracking this, or use some other approach (a hook?).


Version: unspecified
Severity: enhancement

Details

Reference
bz51419

Event Timeline

• bzimport raised the priority of this task from to Low.Nov 22 2014, 2:01 AM
• bzimport set Reference to bz51419.
• bzimport added a subscriber: Unknown Object (MLST).
• Deskana renamed this task from Dashboard showing tours installed on the current wiki to VisualEditor.Aug 30 2018, 1:32 PM
• Deskana renamed this task from VisualEditor to Dashboard showing tours installed on the current wiki.Aug 30 2018, 1:37 PM
Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:13 AM