Last modified: 2013-12-18 15:21:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53419, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51419 - Dashboard showing tours installed on the current wiki
Dashboard showing tours installed on the current wiki
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
GuidedTour (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-16 02:00 UTC by Matthew Flaschen
Modified: 2013-12-18 15:21 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Matthew Flaschen 2013-07-16 02:00:44 UTC
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?).

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links