Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a config option to display as tab or as UTC clock? #16

Open
samwilson opened this issue Nov 3, 2017 · 3 comments
Open

Add a config option to display as tab or as UTC clock? #16

samwilson opened this issue Nov 3, 2017 · 3 comments

Comments

@samwilson
Copy link
Contributor

Another common form of purge link is the UTC clock in the "personal tools" menu, as seen on Wikimedia sites: https://www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-UTCLiveClock.js

Would this be something that this extension would like to handle? It could either be a site-wide config variable, or a per-user preference, or a gadget (see also #15).

@samwilson
Copy link
Contributor Author

A similar thing has also been proposed as part of the Wishlist Survey: https://meta.wikimedia.org/wiki/2017_Community_Wishlist_Survey/Bots_and_gadgets/Turn_UTCLiveClock_into_an_extension

@samwilson
Copy link
Contributor Author

I think the best interface for this would be to have a new user preference, to choose between displaying the purge link as either a navigation action, a UTC clock, or not displayed. (It'd default to not displayed.)

This I think would render #15 moot, as there's no point in making it available as a gadget if its already able to be turned on and off in the preferences form.

The UTC clock option would need a sensible no-JS fallback — perhaps just display 'Purge' in that spot?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants