Extension talk:GuidedTour

Jump to navigation Jump to search

About this board

There is one archived talk page.

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

Reply to "css file?"
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

Loman87 (talkcontribs)


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

Reply to "wikitext not resolving"
Jakel181 (talkcontribs)

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

Reply to "Skin Compatibility"

Uncaught Error: Could not show step 'overlay' because this.initialize() failed. Underlying error: missingtitle

Summary by Loman87

The variable declared at the beginning of the code must be an existing page in order to work.

Loman87 (talkcontribs)


I am getting this error. I am testing the extension using the sample tour available in the documentation (here). Any ideas?



Loman87 (talkcontribs)

Hello again,

there was a problem with variable 'Help:Guided tours/guider', that must be an existing page in order to work. Everything is ok now.


How to use a guided tour on a page in the User namespace?

小老虎3018 (talkcontribs)

Is it possible to write a guided tour on "User:xxx" page and use it with any possible ways for personal use?


Reply to "How to use a guided tour on a page in the User namespace?"
Noé (talkcontribs)


I know GuidedTour by French Wikipedia's Tutoriels and I am building some for French Wiktionary. A question arised: are the tours accessible for IP?

Mattflaschen-WMF (talkcontribs) (talkcontribs)

Great, thank you!

Noé (talkcontribs)

Ahah, you told me to log out, so I did. It works perfectly fine. Thanks!

Reply to "GuidedTour for IP"

Link to use with Short URL?

Summary by IlseMul

@Mattflaschen-WMFhelped me fix the issue. I just needed to create this page and give it some text: http://wiki.neverendingrealms.com/index.php?title=Help:Guided_tours/guider

That solved my problem.

IlseMul (talkcontribs)

On my wiki I have Short URL (Manual:Short URL) implemented, which makes my wiki something like:


How do I go to the test link (and future other links) from here? At the moment nothing happens when I use, i.e. wiki/Special:AllPages?tour=test

Thanks for the help!

Mattflaschen-WMF (talkcontribs)

Please provide the full URL.

https://en.wikipedia.org/wiki/Special:AllPages?tour=test works fine.

IlseMul (talkcontribs)
Mattflaschen-WMF (talkcontribs)
IlseMul (talkcontribs)

Ah, thanks for looking into this! I assume MW 1.29 is in beta at the moment?

What would I put into that page that I would create?

From that merger page: test tries to exercise all the main features, including the ability to get the content of a tour step from a page. However, not all wikis have this feature set up. Rather than needing to do a maintenance script to populate this and have wikis maintain it, we can just skip this step if it's not present.

How would I go about setting up this feature? Re-install and set a specific setting I may have skipped/not seen?

Thanks again for all your help!

Mattflaschen-WMF (talkcontribs)

You're right. I thought 1.29 had been released, but it's actually expected to be released this month.

You can put anything on the http://wiki.neverendingrealms.com/index.php?title=Help:Guided_tours/guider page. E.g. feel free to use "Guided tours allow you to walk users through the wiki, or part of the user interface." It will appear on the tour.

That's enough to fix it.

IlseMul (talkcontribs)

Perfect! Thanks :)

Tour not loading on Special:Preferences

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

Reply to "Tour not loading on Special:Preferences"