Extension talk:GuidedTour/Archive1
Add topicGuided Tour example
[edit]add this to your common.js:
importScript('User:Tychay/guidedTour.js');
To launch the tour, just add tour=test to the query string.
Right now, if you look at the user script, you can see it can only handle tours in tours userspace for example. You can easily change that. :-)
The files are all subpages of User:Tchay:
- guidedTour.js: the gadget
- guidedTour/guiders.js: guiders.js
- guidedTour/guiders.css: guiders.css
- guidedTour/utils.js: non guiders-specific code
- tours/test.js: a sample tour
- The steps must be different on a wiki where mw:Extension:GuidedTour is deployed (e.g. enwiki, but not yet on mediawiki.org, bug 44593). You don't need to include the guiders JS and CSS since the extension provides it; you only need to load the appropriate ResourceLoader modules. Also, the extension incorporates its own sample
?tour=test
, so developers should name their tour mytour. -- S Page test ACUX-GS 0131-1 (talk) 20:38, 1 February 2013 (UTC)
- The steps must be different on a wiki where mw:Extension:GuidedTour is deployed (e.g. enwiki, but not yet on mediawiki.org, bug 44593). You don't need to include the guiders JS and CSS since the extension provides it; you only need to load the appropriate ResourceLoader modules. Also, the extension incorporates its own sample
Neat idea
[edit]I came here from <https://gerrit.wikimedia.org/r/35399>.
I just installed the guided tours user script and played around with it for a minute. This is neat. :-) For opt-in tours (how-to guides, etc.), it seems like it'd work really well.
The meta-tour seemed to kind of end abruptly. I couldn't tell if it was a work in progress or if it just stopped after explaining the gadget and the URL/cookie trick. It's unclear what kind of audience would be (will be) writing tours.
"We're starting with Wikipedia" was darkly amusing. --MZMcBride (talk) 02:51, 28 November 2012 (UTC)
- The meta tour was definitely a work in progress. First time around, the cookie made sure you got invited to the tour on every single page load. Glad you like it! Credit for the idea of porting this library to MediaWiki goes to Terry. Steven Walling (WMF) â˘Â talk 06:06, 28 November 2012 (UTC)
Testing ideas
[edit]Pad with notes, for safekeeping. Steven Walling (WMF) â˘Â talk 00:42, 2 February 2013 (UTC)
skin support / usability
[edit]Very nice! I have some preliminary suggestions:
- This seems to work best with the Vector skin. I use the modern skin and some of the tooltips were partially outside of the page limits. You might want to take a look at that.
- Consider displaying tour progress (eg. "step 3 of 5", "3/5", etc) on each tooltip.
- Using "okay" in some dialogs is ambiguous. They should denote the clear action that clicking that button will perform, such as "close", "finish", etc.
Keep up the good work. This is great! --Waldir (talk) 15:45, 2 February 2013 (UTC)
- Yes, I only tested in Monobook and Vector, because all other skins are basically not used by any significant number of people on Wikimedia projects. Great idea about the progress indicator! Steven Walling (WMF) â˘Â talk 23:31, 2 February 2013 (UTC)