PatternSkin only allows viewing the raw content of the most recent topic revision
Test case
Ensure you're using PatternSkin. Go to a topic that has multiple revisions. Click on a specific revision that is not the latest. Click on Raw Text. You'll be shown the Raw Text of the most recent revision, not the revision you were looking at.
Environment
--
TravisCampbell - 31 Dec 2004
Follow up
It appears that view.pattern.tmpl is missing on the link for viewing the raw text of a topic in the topicaction TMPL.
Fix record
Here's a unified diff with the fix.
--- /tmp/view.pattern.tmpl Thu Dec 30 18:09:32 2004
+++ view.pattern.tmpl Thu Dec 30 17:55:23 2004
@@ -50,7 +50,7 @@
-%TMPL:DEF{"topicaction"}%<a name="Actions"> </a><span class="twikiHidden"><br /></span><div class="twikiTopicAction">%EDITTOPIC% %TMPL:P{"sep"}% <a href="%SCRIPTURLPATH%/attach%SCRIPTSUFFIX%/%WEB%/%TOPIC%">Attach image or document</a> %TMPL:P{"sep"}% <a href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%?skin=print.pattern%REVARG%">Printable version</a> %TMPL:P{"sep"}% <a href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%?raw=on">Raw text</a> %TMPL:P{"sep"}% <a href="%SCRIPTURLPATH%/oops%SCRIPTSUFFIX%/%WEB%/%TOPIC%?template=oopsmore¶m1=%MAXREV%¶m2=%CURRREV%">More topic actions</a><br />Revisions: %REVISIONS% %TMPL:P{"sep"}% <a href="%SCRIPTURLPATH%/rdiff%SCRIPTSUFFIX%/%WEB%/%TOPIC%">Total page history</a> %TMPL:P{"sep"}% <a href="%SCRIPTURLPATH%/search%SCRIPTSUFFIX%/%WEB%/SearchResult?scope=text&regex=on&excludetopic=%TOPIC%&search=%SPACEDTOPIC%%5B%5EA-Za-z0-9%5D">Backlinks</a></div>%TMPL:END%
+%TMPL:DEF{"topicaction"}%<a name="Actions"> </a><span class="twikiHidden"><br /></span><div class="twikiTopicAction">%EDITTOPIC% %TMPL:P{"sep"}% <a href="%SCRIPTURLPATH%/attach%SCRIPTSUFFIX%/%WEB%/%TOPIC%">Attach image or document</a> %TMPL:P{"sep"}% <a href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%?skin=print.pattern%REVARG%">Printable version</a> %TMPL:P{"sep"}% <a href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%?raw=on%REVARG%">Raw text</a> %TMPL:P{"sep"}% <a href="%SCRIPTURLPATH%/oops%SCRIPTSUFFIX%/%WEB%/%TOPIC%?template=oopsmore¶m1=%MAXREV%¶m2=%CURRREV%">More topic actions</a><br />Revisions: %REVISIONS% %TMPL:P{"sep"}% <a href="%SCRIPTURLPATH%/rdiff%SCRIPTSUFFIX%/%WEB%/%TOPIC%">Total page history</a> %TMPL:P{"sep"}% <a href="%SCRIPTURLPATH%/search%SCRIPTSUFFIX%/%WEB%/SearchResult?scope=text&regex=on&excludetopic=%TOPIC%&search=%SPACEDTOPIC%%5B%5EA-Za-z0-9%5D">Backlinks</a></div>%TMPL:END%
This is now fixed (
SVN 3889).
--
ArthurClemens - 25 Mar 2005