You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Editing Best Practices (to avoid release errors)

Always use Relative Wiki Links!

When entering in links to other pages in this wiki, never use the Full Harcoded Link. Instead, always use a relative link!

For example, if you wanted to link to the Configuration page:

Harcoded Link (BAD!)

{{

https://wiki.duraspace.org/display/DSDOCDEV/Configuration

}}

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="7da7af19-7dad-4ed0-8e8b-159a27684af5"><ac:plain-text-body><![CDATA[

Relative Link (Good!)

[Configuration] (general format is: [page name])

]]></ac:plain-text-body></ac:structured-macro>

Another example! This time, of a link to a specific heading on a page. Suppose you wanted to link to the Configuration header on the Configuration page:

Harcoded Link (BAD!)

{{

https://wiki.duraspace.org/display/DSDOCDEV/Configuration#Configuration-BatchMetadataEditing

}}

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="7db0dbfa-9b2f-4372-81c3-5e31b69f6c7e"><ac:plain-text-body><![CDATA[

Relative Link (Good!)

[Configuration#Batch Metadata Editing] (general format is: [page name#header text])

]]></ac:plain-text-body></ac:structured-macro>

You can view the source of this page for examples

  • No labels