[Trac-tickets] Re: [The Trac Project] #1244: Switching diff mode in
wiki page history displays WikiStart page
The Trac Project
noreply at edgewall.com
Thu Mar 3 09:26:06 EST 2005
#1244: Switching diff mode in wiki page history displays WikiStart page
--------------------+-------------------------------------------------------
Id: 1244 | Status: closed
Component: wiki | Modified: Thu Mar 3 09:26:06 2005
Severity: normal | Milestone:
Priority: normal | Version: 0.8
Owner: jonas | Reporter: kilian.cavalotti at lip6.fr
--------------------+-------------------------------------------------------
Changes (by cmlenz):
* resolution: => duplicate
* status: new => closed
Old description:
> 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 :
> 1. go to any wiki page
> 2. click on page history, then on the diff link of any revision
> 3. change the diff display mode (switch from inline to sidebyside, or
> reverse)
> 4. 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" />
> }}}
New description:
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 :
1. go to any wiki page
2. click on page history, then on the diff link of any revision
3. change the diff display mode (switch from inline to sidebyside, or
reverse)
4. 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" />
}}}
Comment:
Duplicate of #1007.
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/1244>
The Trac Project <>
More information about the Trac-Tickets
mailing list