Topic on Extension talk:GuidedTour/Archive2

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