Release status: stable | |
|---|---|
| Implementation | Special page,Page action |
| Description | Provide popup guided tour on wiki pages, and/or microsurveys. |
| Author(s) | Munaf Assaf, Terry Chay, Matt Flaschen, Pau Giner, Ori Livneh, Rob Moen, S Page, Sam Smith, Moiz Syed, Luke Welling |
| Latest version | Continuous updates |
| MediaWiki | 1.32+ |
| PHP | 5.4+ |
| License | Apache License 2.0 |
| Download | |
| Internet Explorer compatibility: none for 6, partial for 7. | |
| Translate the GuidedTour extension if it is available at translatewiki.net | |
| Issues | Open tasks ·Report a bug |
TheGuidedTour extension provides a framework for creating "guided tours," or interactive tutorials for MediaWiki features.Tours typically walk a user through some standard workflow (like editing an article or uploading an image) and are implemented as a series of dialog boxes that tell the user where to click and what to do next.
Tours are backed by JavaScript and PHP code that can monitor the user's progress, check their understanding, and offer advice and encouragement.Guided tours are an effective means for breaking down complex tasks into a series of simple, discrete sub-tasks, and for giving the user the experience and confidence needed to repeat the workflow for similar tasks in the future.Tours may also be used to implementinteractive surveys.
GuidedTour was developed by the (former)Growth team.It is partly based onOptimize.ly's Guiders library.GuidedTour originally started atWMF Tech Days 2012.
Note that there are someperformance concerns with using this extension.
tour=test appended to the URL. For example:http://localhost/w/index.php?tour=testGuidedTour folder to yourextensions/ directory.cdextensions/gitclonehttps://gerrit.wikimedia.org/r/mediawiki/extensions/GuidedTourwfLoadExtension('GuidedTour');
To use guided tours, you should...
Our communities were once limited to using static wiki pages, templates, and other functions to build tutorials and tours of any kind.As rich as tools likeWikipedia:Tutorial might be, they interrupt the user and force them to go to a separate Web page.They are also quite long; most documentation about Wikipedia would take quite some time to read in full.
Interactive guided tours provide a simple, step-by-step guide through a feature set without interrupting the user.Guided tours don't dominate the screen, are dismissible, and walk the user through a task directly.Guided tours are also ideally something that one can return to at any time when you need it.
Each step in a guided tour is called a "guider".
progressive class from themediawiki.ui library. It is a poor practice to provide multiple action buttons, e.g.Start tour plusNext. Choose one action you want the user to take in response to a tour step, focus on completion of that action. Never use the action button for ending the tour (unless the user is actually at the end), since this muddles whether the primary action buttons is for continuing the tour or ending it (positive vs. negative action). If your guider step points to an additional action you want the user to take (e.g.Edit orView history), it is a bad idea to have the tour button perform this action for them. Instead, point to the element you wish a user to use, and encourage them to give it a try, so they learn how to use a function as they normally would.Keep in mind the following default behaviors for guided tours:
If you want to make your own guided tour, here are some maxims to consider.
The following tours are currently packaged with the extension, and are thus available on any wiki where GuidedTour is installed.
Feel free to add your own tours to the appropriate list above.
Find more examples by searching for "prefix:MediaWiki:Guidedtour-tour", e.g.at Enwiki.
Potential tours include nearly all tasks currently covered by help documentation in Wikimedia projects. We're starting with Wikipedia, and with tasks that are most common or attractive to new registered editors, since they are a group most likely to need a guided tour of an interface or activity.
Please add to the list!
You launch a guided tour on a page by addingtour=tourname to the query string of a URL linking to it, or by callingmw.guidedTour.setTourCookie( tourName ) to set a cookie for the next page load. You can also launch it immediately withmw.guidedTour.launcher.launchTour (requires only theext.guidedTour.launcher module). You can set the cookie from the server if appropriate too. This will cause the GuidedTour extension to load both the code to display the tour and the tour itself.
You define your tour in a JavaScript file in your extension, or in the MediaWiki namespace (MediaWiki:Guidedtour-tour-tourname.js). Much of this file simply names the elements of each step of the tour — a titlemsg, descriptionmsg, a 'next' button, etc. Individual wikis can override the CSS at MediaWiki:Guidedtour-custom.css.
| This extension is being used on one or moreWikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia'sCommonSettings.php andInitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki'sSpecial:Version page. |
| This extension is included in the following wiki farms/hosts and/or packages:This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |