Last modified: 2010-05-28 17:40:12 UTC
The "HotCat" feature makes it much easier to add and edit categories on pages. So it would help enormously in efforts to get the office wiki more organized. This may require installing the "Gadgets" functionality on the Office Wiki first. Let me know if you have any questions.
The gadgets extension has already been installed on officewiki, and adding gadgets is something any sysop can do locally by editing the relevant MediaWiki: pages. No sysadmin intervention needed, closing bug.
Roan -- is it usual that I would not get a response outside the system to something like this? I'm not very familiar with Bugzilla, and am a little surprised I was even able to *find* this response. Is there a way for me to get a response by email or something? (Email appears to be enabled in my preferences, but nothing came through.) Anyway -- I'm not sure how to reword my request, but I need some help figuring out how to enable HotCat. I know it may seem straightforward to you guys, but I struggle with this stuff :( Can you help?
(In reply to comment #2) > Roan -- is it usual that I would not get a response outside the system to > something like this? I'm not very familiar with Bugzilla, and am a little > surprised I was even able to *find* this response. Is there a way for me to get > a response by email or something? (Email appears to be enabled in my > preferences, but nothing came through.) > Bugzilla is supposed to always send you an e-mail. Maybe our mail server had a hiccup or something, I'll poke you on IRC to make sure you get this. > Anyway -- I'm not sure how to reword my request, but I need some help figuring > out how to enable HotCat. I know it may seem straightforward to you guys, but I > struggle with this stuff :( Can you help? Copy the pages linked on http://en.wikipedia.org/wiki/Special:PrefixIndex/MediaWiki:Gadget-HotCat to officewiki.
So, I'm confused about this. (Is it ok to move this out of "resolved" until we've reached some agreement about whether or not it's been resolved?) I don't know where to copy those pages, or how to copy them, or whether this will result in a checkbox in everybody's preferences on Office Wiki like English Wikipedia has.
(In reply to comment #4) > So, I'm confused about this. (Is it ok to move this out of "resolved" until > we've reached some agreement about whether or not it's been resolved?) > It's resolved as invalid because it doesn't belong on Bugzilla. > I don't know where to copy those pages, Copy the contents of [[en:MediaWiki:Gadget-HotCat]] to [[office:MediaWiki:Gadget-HotCat]] and do the same for the other page. > or how to copy them, or whether this > will result in a checkbox in everybody's preferences on Office Wiki like > English Wikipedia has. It should, I think.
Just to document how far we got: * copied [[w:en:MediaWiki:HotCat]] to office:, same name * copied [[w:en:MediaWiki:Gadgets-definition]] to office:, same name; then deleted out all the non-HotCat items * copied the contents of [[w:en:User:TheDJ/Gadget-HotCat.js]] to [[office:MediaWiki:Gadget-HotCat.js]] This successfully brought the checkbox into user preferences; and checking it makes the HotCat interface appear at the bottom of wiki pages. However, the gadget doesn't work yet; it fails to look ahead as you're typing a category name, and clicking the "OK" button fails to save the category entered. Roan recommended asking [[w:en:User:TheDJ]] about dependencies, which I'm deferring to a later date.
I figured out what's wrong. First, MWSuggest needs to be enabled for the autocompletion feature. I'm not sure why this is currently disabled on private wikis, enabling it would seem to be safe. Second, HotCat uses JSON callbacks even to query data on the same domain. This is completely unnecessary (no cross-domain restrictions apply, so callbacks aren't needed and AJAX can be used instead) but does break on private wikis because callbacks always operate as anonymous users. In short: 1) enable MWSuggest on private wikis 2) fix HotCat to not use callbacks
Thanks for digging further, Roan. So, I should go to TheDJ and ask him to do number (2), and you can maybe help me with (1)?
(In reply to comment #8) > Thanks for digging further, Roan. So, I should go to TheDJ and ask him to do > number (2), and you can maybe help me with (1)? Yes. I'll talk to some people about (1), there may be some security implications I'm unaware of.
For future reference, I (finally) emailed TheDJ on May 26 -- I'm pasting the text below: Hi TheDJ, I'm not sure if you know Roan Kattouw, a developer who works with us at the Wikimedia Foundation. I recently asked him to help me install HotCat on a private wiki we use. (I'm not very good with technical configuration!) He tried to install it, but he told me there was an issue with HotCat's design that prevents it from working on private wikis, and that I should check with you to see if it could be changed. (I'll quote his exact words below): Second, HotCat uses JSON callbacks even to query data on the same domain. This is completely unnecessary (no cross-domain restrictions apply, so callbacks aren't needed and AJAX can be used instead) but does break on private wikis because callbacks always operate as anonymous users. Does what he says make sense? If so, is it something that you could change? If you have technical questions, it might be best to direct them directly to Roan [[User:Catrope]]. It would make a big difference for us here, and presumably on any number of other private MediaWiki installations! Thanks for any help, -Pete -- Pete Forsyth Public Outreach Officer Wikimedia Foundation