[wp-trac] [WordPress Trac] #11088: Revision comparision should allow reverse diffs

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 22 14:01:08 UTC 2009


#11088: Revision comparision should allow reverse diffs
--------------------------+-------------------------------------------------
 Reporter:  filosofo      |       Owner:  ryan                        
     Type:  defect (bug)  |      Status:  new                         
 Priority:  normal        |   Milestone:  3.0                         
Component:  Revisions     |     Version:  2.9                         
 Severity:  normal        |    Keywords:  revision wp-diff needs-patch
--------------------------+-------------------------------------------------
Changes (by westi):

 * cc: westi (added)
  * keywords:  revision wp-diff has-patch tested => revision wp-diff needs-
               patch


Comment:

 Replying to [comment:5 filosofo]:
 > I've added a patch, better_diff_ui.11088.diff, which incorporates
 mdawaffe's suggestions and allows users to select only forwards
 comparisons, just like MediaWiki.
 >
 > With one exception: you can still compare a revision to itself, so you
 can get your easter egg jollies.
 >
 > Tested in IE 6-8, Safari, Chrome, Opera, and Firefox.

 This looks good.

 Could you update the patch to avoid having inline js there.

 I guess we need a new js file in {{{wp-includes/js}}} for this which we
 would then enqueue on the relevant admin page and a theme/plugin could
 enqueue on the front end if they were displaying this bit of ui for
 something like a wiki theme.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11088#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list