[[if test="enabled(shortcut)" then="This wiki has shortcuts enabled." else="This wiki has shortcuts disabled."]]

Some examples of using shortcuts include:

[[google foo]]
[[wikipedia War_of_1812]]
[[debbug 12345]]

This page controls what shortcut links the wiki supports.

To add a new shortcut, use the shortcut PreprocessorDirective. In the url, "%s" is replaced with the text passed to the named shortcut, after url-encoding it, and '%S' is replaced with the raw, non-encoded text. The optional desc parameter controls the description of the link.

Remember that the name you give the shortcut will become a new PreprocessorDirective. Avoid using a name that conflicts with an existing directive.

If you come up with a shortcut that you think others might find useful, consider contributing it to the shortcuts page on the ikiwiki ikiwiki, so that future versions of ikiwiki will include your shortcut in the standard underlay.