From 199411698a2c4dba705da1ce3bf31cd2abb48395 Mon Sep 17 00:00:00 2001 From: "https://id.koumbit.net/anarcat" Date: Thu, 19 Jul 2012 10:40:28 -0400 Subject: [PATCH] fixed all issues here --- doc/todo/provide_inline_diffs_in_recentchanges.mdwn | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/todo/provide_inline_diffs_in_recentchanges.mdwn b/doc/todo/provide_inline_diffs_in_recentchanges.mdwn index 7e95791c6..98e8663fa 100644 --- a/doc/todo/provide_inline_diffs_in_recentchanges.mdwn +++ b/doc/todo/provide_inline_diffs_in_recentchanges.mdwn @@ -11,13 +11,15 @@ It would rock if I could view diffs from the web without going via feeds. I envi > > > > Unfortunately it has some issues: > > -> > 1. it assumes the toggle.js code is loaded somehow -> > 2. if the toggle code isn't loaded the diffs are displayed (which is arguably better than showing nothing since we ship the diff to the UA anyways...) +> > 1. it assumes the toggle.js code is loaded somehow - now loaded manually +> > 2. if the toggle code isn't loaded the diffs are displayed (which is arguably better than showing nothing since we ship the diff to the UA anyways...) - i actually think that's fine > > 3. it will show only if there's a revert URL, which is backwards, but otherwise the display is weird, with each button on its own line fixed! -> > 4. if the diffurl parameter is set in the template, we'd actually see two sets of glasses, which is silly. +> > 4. if the diffurl parameter is set in the template, we'd actually see two sets of glasses, which is silly. - just added a tmp_unless to fix this. > > > > I feel this should nevertheless be implemented because if we're going to compile all this crap in the page anyways and send it to the client, why not allow the user to show it? I also feel that showing it by default is a lesser evil for non-javascript users. > > > > -- [[anarcat]] 2012-03-03 +> > > I have pushed a new version of this patch to my branch, which fixes all the above issues. I think this is ready to be merged now. -- [[anarcat]] 2012-07-19 + [[!tag wishlist patch]] -- 2.44.0