Wikinews:Water cooler/technical

From Wikinews, the free news source you can write!
Jump to: navigation, search


Archive, post


Why does HotCat show categories that Wikinews doesn't actually have? Today, it was Category:Censorship. I typed in the first few letters and Hotcat auto-completed with "Censorship" and added a red-linked category. See diff. Why? Cheers, --SVTCobra 17:36, 11 March 2018 (UTC)

I've noticed this behavior (possibly for years?). I've a theory it's basing its "guesses" on some internal permanent record of every category page that ever has existed, regardless of whether it has been deleted (unless it's just using Wikipedia, but I'm inclined to the permanent-record theory). To avoid accidentally adding redlinked categories, what I do is tell HotCat to add a second category as well (using "+", but don't actually enter a second category name), then click "okay" for the one I'm actually adding. HocCat then shows an actual link to the category I've requested, so if it doesn't exist I'll see the redlink without having committed to it yet.

I'm testing ping-via-edit-summary, on this. --Pi zero (talk) 19:16, 11 March 2018 (UTC)

At the bottom of suggestions list change 'Combined search' to 'Page list', does that work better?
HotCat suggestions 2.png
--Gryllida (talk) 23:23, 24 March 2018 (UTC)
Yes, that does work. Sadly, it doesn't remember the setting for next time one uses HotCat, it just goes right back to the combined list. Thanks for the tip. Cheers, --SVTCobra 00:06, 25 March 2018 (UTC)
Could be solved by copying c:MediaWiki:Gadget-HotCat.js to MediaWiki:Gadget-HotCat.js and editing the line suggestions: 'combined',, instead, put suggestions: 'pagelist',.
Or if we don't want to keep a local copy of the entire script then add window.HotCat.suggestions = 'pagelist'; to our existing local page for the gadget and see if it takes effect in time. --Gryllida (talk) 01:01, 25 March 2018 (UTC)
OK ... but I am probably the wrong person to play around with javascripts Smile.png I don't know which solution is better, but I do know a lot of people add categories which don't exist and I think it is because of the default list is the "combined" list. --SVTCobra 01:12, 25 March 2018 (UTC)
This diff works for me, but I reverted it, I would like someone else to decide on making the switch. I rarely use HotCat and would be unable to easily notice if it breaks. Gryllida (talk) 01:14, 25 March 2018 (UTC)
Support I guess we can wait and let a few other people look at this discussion before implementing. As long as a few of us know what and where the change is, it should be as simple as undoing the edit to fix it in case it breaks. Cheers, --SVTCobra 01:25, 25 March 2018 (UTC)

afaict, @Pi zero:, it lists all the redirects to CAT page.
•–• 20:56, 11 April 2018 (UTC)

Wikitext highlighting out of beta[edit]

18:55, 4 May 2018 (UTC)


Birgit Müller (WMDE) 14:45, 7 May 2018 (UTC)