In Beta Commons, Cat-a-lot Settings doesn't work. It is broken both when the code is executed as a gadget and when it is executed as a user script.
**What happens**
# Enable Cat-a-lot from [[ https://commons.wikimedia.beta.wmflabs.org/wiki/Special:Preferences#mw-prefsection-gadgets|preferences ]] OR [[https://commons.wikimedia.beta.wmflabs.org/wiki/special:mypage| special:mypage/common.js]]
# Goto [[ https://commons.wikimedia.beta.wmflabs.org/w/index.php?title=Category:Test_categories | category page ]]
# Open Cat-a-lot UI from right-bottom corner
# Click Cat-a-lot Preferences link in right-bottom corner
# Nothing happens
**What should have happened instead?**:
# Settings dialog should be opening.
** What should be done**
**Step 1**
- Debug why Settings doesn't work and document reason as a comment to the ticket. It doesn't throw an error to the javascript console so it needs to be checked from and using the code why button doesn't work.
**Step 2**
- Fix the problem when Cat-a-lot has been loaded as user script.
Cat-a-lot should be able to
- to open preferences dialog
- to save settings temporarily
- to save settings permanently to user page
You can check how the Preferences dialog is supposed to work by trying out how Cat-a-lot works on commons.wikimedia.org.