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

Comments

Projects
None yet
2 participants
@samwilson
Contributor

samwilson commented Nov 3, 2017

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

This comment has been minimized.

Contributor

samwilson commented Nov 9, 2017

@samwilson

This comment has been minimized.

Contributor

samwilson commented Nov 13, 2017

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