My apologies ignore this post I apparently cannot read
Extension talk:GuidedTour
The relevant documentation claims that this function is deprecated. Why is that? It's a nice way to specify multiple step objects in an array at once without having to gt.step for each one
User:Mattflaschen might know, given that he deprecated it in commit fc9de92a6ae6f820bff34c1b56f60731d423f0be back in July 2014, though he might not be around anymore since he no longer works at the WMF. The commit message also mentions phab:T50507 and phab:T55143.
In any case, the method's been "deprecated" for over 9 years now, so I for one would be more than happy to +2 a patch un-deprecating it.
Huh, thanks. If it gets undeprecated, support for the "back" action should also be added.
It appears Mattflaschen never edited beyond 2019-12-03 on any wiki, should I just open a phab task for now?
WORKSFORME. :-)
It's not unusual for ex-staff to simply "vanish" from (WMF) wikis after their contract with the Foundation is up. That said, software is written by people and no person is perfect, so maybe what made sense 9 year ago perhaps isn't the best of ideas by today's standards. IMO that it hasn't been removed from the code in over 9 years and that there'd be a valid use case is already more than enough of a sufficient reason for removing that pointless @deprecated tag from it, but I don't maintain this codebase nor have the final say over such matters.
We try to create a tour that explains important places in the Preferences.
We are unable to start the tour on Special:Preferences?tour=ourtour. No log entry, no JS errors. On all other Special pages, the tour can be started without any issues. Any idea?
- MW 1.27.x
- GuidedTour 2.0 (d2aebbb) 01:36, 5 May 2016
- EventLogging 0.9.0 (0aedc0f) 22:50, 11 April 2017
- all other extensions disabled
$wgAllowUserJs = true;
has no effect.
@Planetenxin: This is by design. User scripts (including gadgets, JS in MediaWiki namespace, etc.) are not allowed to run on Special:Preferences for security reasons.
(It sounds like you are using an on-wiki script (defined on a wiki page). If you are using an extension, that also will not work, but that part could potentially be revisited.)
I just installed GuidedTour and have modified the example file "myfirstedit". I want to display a link or show an image in the description. However, the wikitext is not resolving. Example:
description: 'Have a look at the page [[Allstyles]]',
Instead of showing a link to the page "Allstyles", the guider still displays [[Allstyles]].
What is causing this?
Found the solution. That's whatonShow: gt.parseDescription
does.
In the documentation, two different names for a css file are given, in order to override the css for guidedtours. I tried both, and neither work. Does anyone know what the name of the file should be? The pages I created are MediaWiki:Guidededtour-custom.css and MediaWiki:GuidedTour/custom.css.
@AmieH, according to the documentation it should be `MediaWiki:GuidedTour/custom.css`.
GuidedTours stopped loading the MediaWiki:GuidedTour/custom.css page as CSS in late 2014 (see https://gerrit.wikimedia.org/r/c/mediawiki/extensions/GuidedTour/+/165977 and https://gerrit.wikimedia.org/r/c/mediawiki/extensions/GuidedTour/+/164585 for detail). I'll update the documentation momentarily. You should be able to add the same styles to MediaWiki:Common.css though.
For some reason the last pop-up of the test tour (the realy short editing pop-up) keeps being loaded upon refreshing the main page. I have EventLogging installed, as in uploaded the files and activating it localsettings. I have no idea if I was supposed to do anything else.
I am logged in as an admin, if that makes a difference.
Like the title says, are we allowed to use this at our own wiki's? They seem very good and handy to me and instead of doing that all by myself, I thought it might come in handier if I used an already set up tour.
Thanks!
I am currently making a tour but where I the tour point to links and expect the user to click on them instead of the buttons. But some users will click on the X button if no buttons are available which closes the tour. Is it possible to hide the X button? I can't find the option in the Stepbuilder (except to ignore the ESC key).
Hello,
I installed the extension without issues and I created my first tour. Everything works fine for me and other users with the right to read content in the MediaWiki namespace (where the tour is stored); but users with no such right (in my installation all the not logged in users) can't use the tour. Is that a normal behaviour?
When I try to start the tour without logging in, I get this error from my browser debbuger:
The error is: Uncaught SyntaxError: Unexpected token '<'
If I disable the Mediawiki namespace restriction, everything works. Do you have any suggestion to avoid this issue?
Thanks for any help!
Will this work on other wikis with different skins other than the mediawiki vector skin?