This is an automated email from the ASF dual-hosted git repository. juanpablo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/jspwiki.git
commit 8ea31852f724fd3eb6227273ecc331d40597955c Author: juanpablo <[email protected]> AuthorDate: Sat Mar 28 14:08:49 2020 +0100 use public api on reader template --- jspwiki-war/src/main/webapp/templates/reader/ViewTemplate.jsp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jspwiki-war/src/main/webapp/templates/reader/ViewTemplate.jsp b/jspwiki-war/src/main/webapp/templates/reader/ViewTemplate.jsp index 8cf423c..d0c5ddf 100644 --- a/jspwiki-war/src/main/webapp/templates/reader/ViewTemplate.jsp +++ b/jspwiki-war/src/main/webapp/templates/reader/ViewTemplate.jsp @@ -19,7 +19,7 @@ <%@ taglib uri="http://jspwiki.apache.org/tags" prefix="wiki" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> -<%@ page import="org.apache.wiki.*" %> +<%@ page import="org.apache.wiki.api.core.*" %> <fmt:setLocale value="${prefs.Language}" /> <fmt:setBundle basename="templates.default"/> <!doctype html> @@ -46,7 +46,7 @@ String.I18N.PREFIX = "javascript."; <meta name="wikiPageUrl" content='<wiki:Link format="url" page="#$%"/>' /> <meta name="wikiEditUrl" content='<wiki:EditLink format="url" page="#$%"/>' /> <meta name="wikiCloneUrl" content='<wiki:EditLink format="url" page="#$%"/>&clone=<wiki:Variable var="pagename" />' /> -<meta name="wikiJsonUrl" content='<%= WikiContext.findContext(pageContext).getURL( WikiContext.NONE, "ajax" ) %>' /><%--unusual pagename--%> +<meta name="wikiJsonUrl" content='<%= Context.findContext(pageContext).getURL( ContextEnum.PAGE_NONE.getRequestContext(), "ajax" ) %>' /><%--unusual pagename--%> <meta name="wikiPageName" content='<wiki:Variable var="pagename" />' /><%--pagename without blanks--%> <meta name="wikiUserName" content='<wiki:UserName />' /> <meta name="wikiTemplateUrl" content='<wiki:Link format="url" templatefile="" />' />
