https://bugzilla.wikimedia.org/show_bug.cgi?id=4488





--- Comment #7 from P.Copp <paul.copper...@googlemail.com>  2009-02-17 17:25:24 
UTC ---
Created an attachment (id=5823)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=5823)
Proposed patch: Add user preference 'watchrollback'

I assume, nobody is currently working on this, but as it seems quite
straightforward to implement, I gave it a try.

Per comment #3 and #4 this patch adds a separate user preference for watching
rolled back pages automatically. To make the display page after the rollback
work properly, I had to add the methods watch() and unwatch() to the Title
class, so $wgTitle->userIsWatching() gives the correct result afterwards.
Actually there are some more places, that call $wgUser->addWatch( $title )
which could be replaced now by $title->watch(), but I didn't want to add too
much clutter to the patch, so I left it for now.

Of course, any comments are appreciated.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to