Merge "Move action.watch to a more suitable place and expose updateWatchLink method...
authorTrevor Parscal <tparscal@wikimedia.org>
Wed, 20 Jun 2012 20:06:12 +0000 (20:06 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 20 Jun 2012 20:06:12 +0000 (20:06 +0000)
commit62383a48b5f72c632b1a396453861048e5553ad0
tree229c94ddba44badbc00f63979604355d7e371502
parentce00cb85843a2c89e9a9409fe383aa61e222218f
parent2e089a4e58b602fc97683e71c352e642411d68d6
Merge "Move action.watch to a more suitable place and expose updateWatchLink method in mw.page.watch.  Update method to toggle watch, unwatch list item id attribute. Patchset 2- Expose method with less code duplication, restore comments, cleanup whitespace. Patchset 3-5 Whitespace cleanup Patchset 6 - Trigger a watch event on the updated li Patchset 7 - Only trigger watch event if not updating state, announce opposite of icon action, to properly indicate action taken. Patchset 8 - Cleanup spacing and comments issues, change event namespace. Patchset 9 - actually add the change Change-Id: I591f9f847db391c5d1477dc2ed41de54ec266261"