NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item9693 for docu changes for 1.2 and 2.0.
Item10644: bin/changes output is corrupted
There appear to be a couple of issues to the old
bin/changes script output.
-
Foswiki::UI::Changes calls Meta::summariseChanges without passing the 'TML' option, so the change is a plain text (+ / -) diff style output. The script should generate TML for rendering.
- The %AUTHOR% substitution in the template is corrupted.
I suspect the corruption of the AUTHOR is due to the changes to the templates to make sure that
WikiNames are never rendered as broken links. Changes uses the
search.pattern.tmpl: to display the results, The corrupted author is coming from the following:
<span class="foswikiSRAuthor">%MAKETEXT{"by [_1] " args="%IF{"istopic '%AUTHOR%'" then="[[%AUTHOR%][$wikiname]]" else="$wikiname"}%"}%</span>
Where is $wikiname set from? The Changes script only sets %AUTHOR% However for some reason in the generated html, the truncated link is generated using <
--
GeorgeClark - 17 Apr 2011