What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 131 Stack Exchange communities.

Possible Duplicate:
View Source link on all questions

I asked the following question on ServerFault:

How do I hide ‘non-delegated’ features in IIS 7?

Scott's answer describes a couple of xml tags that I can modify, but because he didn't use the back-tick to escape them they're hidden from view.

Because I don't have edit rights I can't open the source easily (no Edit link) to see if this indeed what was missing. After fiddling around looking around for another post that had revisions (to see how the revision list url was composed) I was eventually able to see the revision history for Scott's answer and then get at the raw markdown text via View Source:

http://serverfault.com/posts/119803/revisions

It would be nice to either provide a link that shows the revision history for questions and answers regardless of whether they had revisions or not, or, provide a View Source link to allow us to see the raw Markdown on the revision of the post being rendered.

This would be a nice time saver because the /posts/nnnnn/revisions link doesn't immediately commit itself in memory if used infrequently.

share|improve this question

marked as duplicate by balpha Jan 21 '11 at 19:50

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Where did that 'can' go when I wrote this :) –  Kev Mar 6 '10 at 15:52
    
+1 At first I thought, just flag it for the moderator, but why should you have to wait? It's already there. –  D_N Mar 6 '10 at 16:35
    
duplicate meta.stackexchange.com/questions/24400/… –  lesmana Aug 16 '10 at 20:34
    
@lesmana - yep you're right, well spotted because the search didn't come up with that one when I asked. –  Kev Aug 18 '10 at 0:05

1 Answer 1

up vote 8 down vote accepted

GreaseMonkey Script

Install - View Source

alt text

Edit: Added links to each revision (need to reinstall to take effect)

alt text

share|improve this answer
    
this needs another glyph. ;) –  quack quixote Mar 6 '10 at 17:09
1  
hmm. also, it adds it to the post menu of the answer (which is ok, since answers have revisions too) but gives the URL of the question post (which is not, since answers have revisions too). in the case of this answer, the revisions URL should not be meta.stackoverflow.com/posts/41391/revisions but meta.stackoverflow.com/posts/41406/revisions –  quack quixote Mar 6 '10 at 17:12
1  
Should this work in Chrome 4.0 stable (blog.chromium.org/2010/02/40000-more-extensions.html)? I see that it got added in the extensions manager but it doesn't add the revisions link. –  Kev Mar 6 '10 at 17:24
    
Same experience as Kev, using the tip of Chrome beta. –  Tim Post Mar 6 '10 at 17:34
    
I havn't done greasemonkey on Chrome before, but I will try to figure out. –  YOU Mar 6 '10 at 17:37
    
@S.Mark - your timeline GM script puts an anchor with a triangle next to each question title but no link at all for answers. Chrome's GM support not as good as expected? DOM differences? –  Kev Mar 6 '10 at 17:39
1  
@Kev, timeline functions don't have seperate function for answers I think, timeline page combine all the activities on both questions and answers. –  YOU Mar 6 '10 at 17:41
    
@~quack, revisions link for answers are fixed, userscripts.org/scripts/show/70690 , for Chrome, I need to learn how Chrome's greasemonkey is different from Firefox greasemonkey –  YOU Mar 6 '10 at 17:48
    
@S.Mark - timeline - oh aye, doh. –  Kev Mar 6 '10 at 17:54
    
@S.Mark - ok me being thick and realised 'triangle' is delta. :) –  Kev Mar 6 '10 at 18:00
    
@S.Mark - works ok. the if clause strikes me as wonky; i think this is cleaner for getting the post id: id = $(this).find("a[id^=flag-post-]").attr("id").replace("flag-post-", ""); –  quack quixote Mar 6 '10 at 18:14
    
Ah, thanks @~quack, I just updated to very similar one, $(this).find('a[id][id^="flag-post-"]').attr("id").match(/\d+/)[0];, but yours looks better. I am going to use it –  YOU Mar 6 '10 at 18:23
    
@S.Mark - should this work in Chrome now? –  Kev Mar 6 '10 at 18:35
    
@Kev, still can't figure out, I'm looking into some other scripts. –  YOU Mar 6 '10 at 18:47
    
@Kev, I can now run in Chrome too (revision script), updated, userscripts.org/scripts/show/70690 - if you installed once, may be you need to uninstall first. –  YOU Mar 6 '10 at 20:22

Not the answer you're looking for? Browse other questions tagged .