Page MenuHomePhabricator

HotCat not working
Closed, ResolvedPublic

Description

On two separate web hosts. Checked with versions of IE, Chrome, Firefox, Opera and various versions of Windows, from XP to 8 with PCs on different networks/Internet connections. MediaWiki 1.21.2 on Apache 2.2, with PHP 5.3.27 and both MySQL 5.5.32 or 5.3.12. It's the same with Vector and other skins.

I've installed Extension:Gadgets and can get other gadgets, e.g. mySandbox or DotsSyntaxHighlighter to function as expected. I've tried both hotlinking to and copying from commons.

In Chrome's console there are no errors.

In the page's head section there is:
<script async="" src="//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&amp;action=raw&amp;ctype=text/javascript"></script> but in the categories line there is nothing from HotCat.


Version: REL1_21-branch
Severity: normal

Details

Reference
bz56052

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:27 AM
bzimport set Reference to bz56052.
bzimport added a subscriber: Unknown Object (MLST).

Downgrading the wiki to MediaWiki 1.19.8 and no other changes, causes HotCat to start functioning again.

As this covers user-space Gadgets, has this been brought up on https://en.wikipedia.org/wiki/Wikipedia_talk:HotCat to make sure this is this a bug in https://www.mediawiki.org/wiki/Extension:Gadgets and not in HotCat itself?

It's discussed at Wikipedia_talk:HotCat but without a solution. I've also brought it up at https://commons.wikimedia.org/wiki/Commons:Village_pump#HotCat_not_working_on_an_other_wiki.

It's working again since https://commons.wikimedia.org/w/index.php?title=MediaWiki%3AGadget-HotCat.js&diff=108663763&oldid=102094284

mw.loader.using('user', function(){ jQuery(document).ready(run); });
was changed to
var startHotCat = function(){ jQuery(document).ready(run); };

Thanks for finding the reason. For future reference, this shouldn't have been filed in Bugzilla. :)