Changeset 8091


Ignore:
Timestamp:
07/09/10 05:47:34 (3 years ago)
Author:
KennethLavrsen
Message:

Item9288: Rename topic does not show topics correctly if they are not perfect wikiwords
Watch out for using %TOPIC% in templates. Either escape them or double bracket them.
Otherwise I18N and special character topics which have wikiwords in them fail.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/PatternSkin/templates/renamebase.pattern.tmpl

    r7502 r8091  
    1717 
    1818 
    19 %TMPL:DEF{"pagetitle"}%%TMPL:P{"webaction"}% %TOPIC%%TMPL:END% 
     19%TMPL:DEF{"pagetitle"}%%TMPL:P{"webaction"}% [[%TOPIC%]]%TMPL:END% 
    2020 
    2121 
  • trunk/core/templates/renamebase.tmpl

    r7502 r8091  
    99 
    1010 
    11 %TMPL:DEF{"pagetitle"}%%TMPL:P{"webaction"}% %TOPIC%%TMPL:END% 
     11%TMPL:DEF{"pagetitle"}%%TMPL:P{"webaction"}% [[%TOPIC%]]%TMPL:END% 
    1212 
    1313 
     
    5656*%TMPL:P{"updatenote"}%* 
    5757 
    58 ---++++ %MAKETEXT{"Change links in topics that refer to [_1] in the [_2] Web:" args="%TOPIC%, <nop>%WEB%"}% 
     58---++++ %MAKETEXT{"Change links in topics that refer to [_1] in the [_2] Web:" args="[[%TOPIC%]], <nop>%WEB%"}% 
    5959%LOCAL_SEARCH% 
    6060 
Note: See TracChangeset for help on using the changeset viewer.