Difference between
current version
and
current version:
| At line 1 added 22 lines. |
| Creates an edit link to a [WikiPage]. |
|
| Why would you use this instead of a standard anchor? The EditLinkTag automatically adds things like the correct class information (for styles), the jspwiki.baseURL property, etc. |
|
| ---- |
|
| !Usage |
|
| <wiki:EditLink page="<page name>" format="anchor|url" version="<version number>"> |
| ;:''Link text'' |
| </wiki:EditLink> |
|
| !Parameters |
|
| ;__page__: Page name to link to. If not set, uses the current page. |
| ;__format__: If "anchor", creates the full hyperlink (<a href="...">link text</a>); if "url", outputs only the URL. Default is to output the entire anchor. |
| ;__version__: Links to a specific version of a page. If not set, links to the latest version of the page. If "this", then links to the current version of the page. |
|
| !Example |
| {{{ |
| <wiki:EditLink>Edit this page</wiki:EditLink>. |
| }}} |
Back to EditLinkTag,
or to the Page History.
|