Page MenuHomePhabricator

Some local Search script on English Wikipedia not loading ("TypeError: Cannot read property 'showPortlet' of undefined")
Closed, InvalidPublic

Description

Over on en.wikipedia.org I do new page patrol. I use a search script which let me search for the page topic on a variety of google tools and JSTOR.

That script is not loading: https://en.wikipedia.org/wiki/Wikipedia:WikiProject_User_scripts/Scripts/Search_links
I have attempted to get it to load on my https://en.wikipedia.org/wiki/User:Whiteguru/common.js
sometimes it loaded in preview, then it stopped loading totally.
I have run &safemode=1 on various pages to test if there are no problems. Twinkle disappears.
(I have default Twinkle settings)
I cannot see any other clash.
Browser is 82.0.2 (64-bit)
Browser extensions are:

  • Adblock Plus (reports no action for en.wikipedia.org)
  • Cisco Webex extension
  • Facebook Container
  • Print Friendly & PDF
  • to Google Translate
  • Wayback Machine

That's all I am running. Using Debugger on Firefox does not highlight any clashing scripts.
I can't determine the cause of this script not running.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Aklapper changed the task status from Open to Stalled.Nov 2 2020, 9:46 AM
Aklapper removed a project: Internet-Archive.
Aklapper updated the task description. (Show Details)

Hi @Whiteguru, thanks for taking the time to report this and welcome to Wikimedia Phabricator!
For future reference, please follow https://www.mediawiki.org/wiki/How_to_report_a_bug

Are there any errors in the console of your web browser's developer tools? See https://www.mediawiki.org/wiki/Help:Locating_broken_scripts
Does this also happen in safe mode? See https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
Does this also happen with a new and empty profile? See https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems#w_6-create-a-new-firefox-profile

Whiteguru changed the task status from Stalled to Open.Nov 2 2020, 8:28 PM

No console errors
Safe mode was applied - script did not load
Loading a new and empty profile on Firefox does not fix the problem.

Aklapper closed this task as Invalid.EditedNov 2 2020, 8:54 PM

Hi @Whiteguru, thanks for the followup!
I now also tried (see screenshot); the script is broken and needs fixing on the local wiki.
Local scripts are maintained by each community hence I am closing this task here - thanks for your understanding!

Screenshot from 2020-11-02 21-50-30.png (1×960 px, 293 KB)

T259385: Work with community to fix faulty gadgets triggering JS errors might be a bit related.

Aklapper renamed this task from Search script not loading to Some local Search script on English Wikipedia not loading ("TypeError: Cannot read property 'showPortlet' of undefined").Nov 2 2020, 9:08 PM