Extension talk:GuidedTour

About this board

There is one archived talk page.

GuidedTour is not compatible with the current MediaWiki core (version 1.40.0), it requires: >= 1.41

1
Guillaume Taillefer (talkcontribs)

My apologies ignore this post I apparently cannot read

Reply to "GuidedTour is not compatible with the current MediaWiki core (version 1.40.0), it requires: >= 1.41"

Why is gt.defineTour deprecated?

5
Aaron Liu (talkcontribs)

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

Jack Phoenix (talkcontribs)
Aaron Liu (talkcontribs)

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?

Jack Phoenix (talkcontribs)

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.

Aaron Liu (talkcontribs)
Reply to "Why is gt.defineTour deprecated?"

Tour not loading on Special:Preferences

3
Summary by Phuedx (WMF)

This is by design.

Planetenxin (talkcontribs)

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
Planetenxin (talkcontribs)
$wgAllowUserJs = true;

has no effect.

Mattflaschen-WMF (talkcontribs)

@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.)

wikitext not resolving

2
Summary by Phuedx (WMF)

Use onShow: gt.parseDescription.

MLRodrigue (talkcontribs)

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?

MLRodrigue (talkcontribs)

Found the solution. That's whatonShow: gt.parseDescription does.

AmieH (talkcontribs)

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.

Ivanhercaz (talkcontribs)

@AmieH, according to the documentation it should be `MediaWiki:GuidedTour/custom.css`.

Phuedx (WMF) (talkcontribs)
Reply to "css file?"

The last part of the test tour keeps being loaded upon refreshing the mainpage

1
Summary by IlseMul

nvm It turned out I didn't know the tour hadn't finished yet.

IlseMul (talkcontribs)

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.

The Wikipedia Adventure: Are we allowed to use these on our own wiki's?

1
IlseMul (talkcontribs)

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!

Reply to "The Wikipedia Adventure: Are we allowed to use these on our own wiki's?"
000Tom0000 (talkcontribs)

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).

Reply to "Remove the X button"

Tour works depending on user rights

1
Loman87 (talkcontribs)

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!

Reply to "Tour works depending on user rights"
Jakel181 (talkcontribs)

Will this work on other wikis with different skins other than the mediawiki vector skin?

Reply to "Skin Compatibility"