Topic on User talk:Matěj Suchánek

Jump to navigation Jump to search
Billinghurst (talkcontribs)

Hi. I have linkscount running through my global.js file and only loading it when necessary through use of w:en:User:MusikAnimal/scriptManager. However, during one of the upgrades to the script it stopped working elsewhere, and instead always returns "server error, click to retry" for whichever wiki except here. Are you able to see what has changed that it no longer works outside of WD. Thanks if you can.

Matěj Suchánek (talkcontribs)

Hi, this is what I found.

I navigated to a random page on my home cswiki, switched to the WhatLinksHere page with safemode=1, loaded your global scripts as:

mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Billinghurst/global.js&action=raw&ctype=text/javascript')

clicked "linkstool", then "(count)" and... it worked and got the number of backlinks.

Then I tried the same on a enwiktionary and... got the same message as you ("server error, click to retry"). By looking at the code and browser debug tools, I found that the response comes from the tool linkscount.toolforge.org, which MediaWiki:Linkscount.js apparently uses. There is no other information in the response than {"#error":"Internal server error"}. So there is some problem with the tool and its maintainer should be made aware about it.

Billinghurst (talkcontribs)

Ah, didn't realise it was now running from a server. The progress doesn't progress. Thanks for investigating. Appreciate your help.

Billinghurst (talkcontribs)

Aaaand, someone must have noticed as it is now working at Commons, though not universally, so we do have an issue.

Reply to "Mediawiki:Linkscount.js lost its universality"