Refactored the watch/unwatch icon for Vector.
authorTrevor Parscal <tparscal@users.mediawiki.org>
Mon, 28 Sep 2009 22:25:42 +0000 (22:25 +0000)
committerTrevor Parscal <tparscal@users.mediawiki.org>
Mon, 28 Sep 2009 22:25:42 +0000 (22:25 +0000)
commite013cc51ecffbcc7c29b7939a967c63e943d1e8c
tree66aa5ec305d27543cd77329feea6b50ed07d14e8
parent4f20c12c9e09f778a03115594dcf5868dd74e7da
Refactored the watch/unwatch icon for Vector.
1. Changed from using an image to a div with background images.
2. Redesigned the star icon, and implemented it as a sprite with unique watched/unwatch and normal/hover versions.
3. Designed custom spinning star icon - used while waiting for server to respond.
4. Added $wgVectorUseIconWatch setting to default preferences (defaults to false) and added support for enabling and disabling the feature.
5. Got rid of old now unused icons.
6. Changed styles and ajaxwatch.js code so that javascript is not needed for hovering
7. Changed ajaxwatch.js code to work with the div icon rather than the previous img setup.
8. Regenerated RTL versions.
includes/DefaultSettings.php
skins/Vector.php
skins/common/ajaxwatch.js
skins/vector/images/watch-icon-loading.gif [new file with mode: 0644]
skins/vector/images/watch-icons.png [new file with mode: 0644]
skins/vector/images/watch_off.gif [deleted file]
skins/vector/images/watch_on.gif [deleted file]
skins/vector/images/watch_over.gif [deleted file]
skins/vector/main-ltr.css
skins/vector/main-rtl.css