https://bugzilla.wikimedia.org/show_bug.cgi?id=71926

            Bug ID: 71926
           Summary: Fix or remove GuidedTour preloading
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: GuidedTour
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

The preloading at
https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FGuidedTour.git/7018887bceb7603496ee70a6a4a4664522078029/modules%2Fmediawiki.libs.guiders%2Fmediawiki.libs.guiders.js#L776
is broken, since it treats guider.next as a string whereas it's now a function
(https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FGuidedTour.git/7018887bceb7603496ee70a6a4a4664522078029/modules%2Fext.guidedTour.lib%2Fext.guidedTour.lib.Step.js#L852).

Luckily, there is sanity check to make sure the ID is defined.  Since the
function shouldn't appear in that associative array, it should correctly
fallback to just not pre-loading.

We can probably just remove this functionality for now.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to