Deleting gadgets

Deleting gadgets

You’ve deleted a bunch of gadgets. I used two of them, UTCLiveClock and translate-hidemenu. Neither of them is unused, nor even replacable. There is clearly no gadget for purging a page, especially a translation statistics page (which is needed from time to time). There is a button to hide the sidebar on the translation page, which could one call a replacement, but it’s not: the gadget hid the sidebar automatically on every page load, while the built-in hiding makes it initially visible. It’s just not OK for me to being forced to one more click on every translation page load. If the rest is as “unused” as these two, then revert all deletions, but the two is not unused for sure—you can’t even say I edit so rarely that it’s nearly unused: I’ve had 900 edits only this year, over 9000 in total. And you have deleted them so accurately that I can’t even copy them over to my common.js, which would be a very bad practice even if I could do so.

Tacsipacsi (talk)18:59, 1 June 2018

I was relying on Special:UserOptionStats – maybe it has a bug since it showed no users.

Anyway it's not a big deal, I can restore the clock. Do you think you could do without translate-hidemenu if I made the expanded/collapsed state remember state between page loads?

Nike (talk)20:22, 1 June 2018

The bug may be that it converts the preference to lower case before querying it—Special:UserOptionStats/gadget-UTCLiveClock’s output uses lower case. However, Special:UserOptionStats/gadget-translate-hidemenu shows that one user (me) uses this gadget. However, not the implementation is important, just the behavior, so if it remembers my choice not only between page loads, but also between sessions (i.e. it uses a hidden preference or the local storage), it’s OK for me.

Tacsipacsi (talk)21:20, 1 June 2018

It will use localstorage when my patch is reviewed and merged.

Nike (talk)12:15, 3 June 2018