Changes for page Extensions Wiki
Last modified by Vincent Massol on 2017/03/01 17:23
From version 58.1
edited by Vincent Massol
on 2017/03/01 17:23
on 2017/03/01 17:23
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-distribution-flavor-8.4.4]
To version 54.1
edited by Denis Gervalle
on 2014/07/25 21:08
on 2014/07/25 21:08
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. VincentMassol1 +xwiki:XWiki.dgervalle - Content
-
... ... @@ -1,7 +1,7 @@ 1 1 {{velocity}} 2 2 ## This pages serves 3 purposes: 3 -## - Used by the Extension Manager UI to display the extension page for an extension based on the Maven <url> element which are set to http://extension s.xwiki.org/?id=${groupId}:${artifactId}:::...4 -## - Used by the Javadoc to display external link, which based on the Maven <url> are set to http://extension s.xwiki.org/?id=${groupId}:${artifactId}:::?id=groupid:artifactid:version:::.../apidocs/....html?is-external=true. Also support old Javadoc (pre-6.2) to display external link, which does not have version in URL.3 +## - Used by the Extension Manager UI to display the extension page for an extension based on the Maven <url> element which are set to http://extension.xwiki.org/?id=${groupId}:${artifactId}:::... 4 +## - Used by the Javadoc to display external link, which based on the Maven <url> are set to http://extension.xwiki.org/?id=${groupId}:${artifactId}:::?id=groupid:artifactid:version:::.../apidocs/....html?is-external=true. Also support old Javadoc (pre-6.2) to display external link, which does not have version in URL. 5 5 ## - Displays the list of extensions (when there's no "id" request parameter) using Extension.WebHome 6 6 ## 7 7 #if ("$!request.id" != "") ... ... @@ -31,7 +31,7 @@ 31 31 #end 32 32 #end 33 33 ## If we are targetting Javadoc, redirect to it through our nexus, else determine the id of the module 34 - #if ($jdoc != "")34 + #if ($jdoc) 35 35 #set ($gid = $stringtool.replace($gid, ".", "/")) 36 36 $response.sendRedirect("http://nexus.xwiki.org/nexus/service/local/repositories/releases/archive/${gid}/${artid}/${version}/${artid}-${version}-javadoc.jar/!/${jdoc}") 37 37 #else ... ... @@ -47,15 +47,8 @@ 47 47 #if ($result.size() > 0) 48 48 $response.sendRedirect($xwiki.getURL($result.get(0))) 49 49 #else 50 - ## Search aliases in older versions 51 - #set ($xwql = "where doc.object(ExtensionCode.ExtensionVersionClass).id = '$id'") 52 - #set ($result = $services.query.xwql($xwql).execute()) 53 - #if ($result.size() > 0) 54 - $response.sendRedirect($xwiki.getURL($result.get(0))) 55 - #else 56 - ## Unknown ID, list all extensions 57 - {{include document="Extension.WebHome"/}} 58 - #end 50 + ## Unknown ID, list all extensions 51 + {{include document="Extension.WebHome"/}} 59 59 #end 60 60 #end 61 61 #else