Index: /opt/workdir/JSPWiki-2.8/src/webdocs/templates/default/editors/FCK.jsp =================================================================== --- /opt/workdir/JSPWiki-2.8/src/webdocs/templates/default/editors/FCK.jsp (revision 780563) +++ /opt/workdir/JSPWiki-2.8/src/webdocs/templates/default/editors/FCK.jsp (working copy) @@ -48,6 +48,14 @@ } } catch( Exception e ) { /*log.error( "Accessing clone page "+clone, e );*/ } + + //Adding parameter expand to url with clone variables like {$pagename},... are expanded + //Note variables are plain {$name} without []-characters + String expand = request.getParameter( "expand" ); + if( expand != null ) + { + usertext=engine.getVariableManager().expandVariables(context ,usertext); + } } } %> Index: /opt/workdir/JSPWiki-2.8/src/webdocs/templates/default/editors/plain.jsp =================================================================== --- /opt/workdir/JSPWiki-2.8/src/webdocs/templates/default/editors/plain.jsp (revision 780563) +++ /opt/workdir/JSPWiki-2.8/src/webdocs/templates/default/editors/plain.jsp (working copy) @@ -45,6 +45,14 @@ } } catch( Exception e ) { /*log.error( "Accessing clone page "+clone, e );*/ } + + //Adding parameter expand to url with clone variables like {$pagename},... are expanded + //Note variables are plain {$name} without []-characters + String expand = request.getParameter( "expand" ); + if( expand != null ) + { + usertext=engine.getVariableManager().expandVariables(context ,usertext); + } } } %>