Changes for page XWiki JavaScript API

Last modified by Simon Urli on 2022/09/14

<
From version < 28.1 >
edited by Guillaume Delhumeau
on 2015/05/28
To version < 29.1 >
edited by Guillaume Delhumeau
on 2015/05/28
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -201,7 +201,7 @@
201 201  {{code language="javascript"}}
202 202  require(['xwiki-meta'], function (xm) {
203 203   xm.document // get the current document (eg: Main.WebHome)
204 - xm.wiki // get the current wiki (eg: xwiki)
204 + xm.wiki // get the current wiki (eg: xwiki)
205 205   xm.space // get the current space (eg: Main)
206 206   xm.page // get the current page name (eg: WebHome)
207 207   xm.version // get the current document version (eg: 1.1)

Get Connected