Feather Wiki

A tiny tool for simple, self-contained wikis!

Extensions /

Simple Navigation

Created:

If your wiki is organized chronologically, then this extension adds a Next & Previous button to the bottom of each page to make it easier to get to the next page in sequence. It's definitely not for most wikis, but certain kinds of Feather Wikis might find it handy.

Installation #

To try out the clone page extension, you can do one of the following things:

  • Go to your Wiki Settings and add
    <script src="https://feather.wiki/extensions/v1.8.x/simple-navigation.js"></script>
    to the "Custom Head" text area.
  • Save the simple navigation extension file to the same folder as your Feather Wiki file and add
    <script src="./simple-navigation.js"></script>
    to the "Custom Head" text area in Wiki Settings.
    • (This way requires that the simple-navigation.js file always remains in the same folder as your wiki file.)
  • Go to the source code for the extension, copy the code, and paste the whole script directly into the "Custom JS" text area in Wiki Settings.

After adding the extension code to your wiki, save your changes and reload the wiki. You will not be able to see the results until you save your wiki and re-load the file.

What it Does #

Once installed, a "next" and "previous" button will appear at the bottom of each page you've created, linking to the next or previous page as specified in the "Page Order" field on the Wiki Settings. Note that the next/previous buttons will still navigate to pages that have the "Hide Page" checkbox checked to hide it from the main navigation menu, which may or may not be helpful to you.

Other Languages #

This extension is available in the following other languages:

You can use the extension in an available language by adding _language-code before .js in any of the instructions above. For example, https://feather.wiki/extensions/v1.8.x/simple-navigation_hu.js for Hungarian.


Previous Versions #

Starting with Version 1.8.0, extensions are now stored in paths that include the minor version number (i.e. extensions for version 1.8.0 are stored in extensions/v1.8.x/) to indicate that they are incompatible with lower version numbers. The version of this extension compatible with versions of Feather Wiki below 1.8.0 can still be found at https://feather.wiki/extensions/simple-navigation.js, but the old version will no longer receive updates.