Modify ↓
      
#1244 closed defect (duplicate)
Switching diff mode in wiki page history displays WikiStart page
| Reported by: | Owned by: | Jonas Borgström | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wiki system | Version: | 0.8 | 
| Severity: | normal | Keywords: | diff display | 
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
Not sure if it's related to the use of mod_python, but trac 0.8 (debian apt-get'ed, using mod_python) displays the root wiki page when switching the diff view of any wiki page (sidebyside/inline)
To reproduce :
- go to any wiki page
 - click on page history, then on the diff link of any revision
 - change the diff display mode (switch from inline to sidebyside, or reverse)
 - you should see the diff of the wiki front page (WikiStart) for the chosen revision, instead of the diff of the current page.
 
To resolve:
--- wiki.cs.old 2004-12-21 02:17:36.000000000 +0100
+++ wiki.cs     2005-03-03 14:52:56.707563928 +0100
@@ -22,7 +22,7 @@
  <?cs if:wiki.action == "diff" ?>
   <h1>Changes in Version <?cs var:wiki.edit_version?> of <a href="<?cs
     var:wiki.current_href ?>"><?cs var:wiki.page_name ?></a></h1>
-  <form method="post" id="prefs" action="<?cs var:cgi_location ?>">
+  <form method="post" id="prefs" action="<?cs var:wiki.page_name ?>">
    <div>
     <input type="hidden" name="mode" value="wiki" />
     <input type="hidden" name="diff" value="yes" />
      Attachments (0)
Change History (3)
comment:1 by , 21 years ago
| Summary: | Switching diff mode in wiki page changes brings back WikiStart → Switching diff mode in wiki page history displays WikiStart page | 
|---|
comment:2 by , 21 years ago
| Description: | modified (diff) | 
|---|---|
| Resolution: | → duplicate | 
| Status: | new → closed | 
comment:3 by , 21 years ago
Sorry, didn't see the previous report. However, the debian sid package comes with the bug.
  Note:
 See   TracTickets
 for help on using tickets.
    


  
Duplicate of #1007.