Giter VIP home page Giter VIP logo

redmine_wiki_backlinks's Introduction

Redmine Wiki Backlinks plugin

This a plugin for the Redmine project management tool. The plugin extends the standard Redmine wiki sidebar with these reports about internal wiki links:

Screenshot of the extended sidebar

  • For each page, all the links from it (forward links).
  • For each page, all the links to it (backward links or backlinks).
  • For each wiki, all the pages that are not the target of any link (orphan pages).
  • For each wiki, all the link targets that do not exist yet (wanted pages).

The plugin has been tested with Redmine 2.4, but it should work with Redmine 2.2+, as it is based on the facilities provided by Rails 3.2. Some users have reported success with Redmine 3.3 as well (see #7).

The plugin is available under the terms of the GNU General Public License, version 2 or later.

Installation

Installing the plugin requires cloning this Git repository inside the plugins directory of the Redmine installation and migrating the production database:

cd plugins
git clone git://github.com/bluezio/redmine_wiki_backlinks.git
cd ..
rake redmine:plugins:migrate RAILS_ENV=production

After running these commands, Redmine must be restarted.

First-time operation

By default, nobody can view the reports. In order to see these new links, the user must have a role with the new "View wiki links" permission, which is part of the "Wiki" permission group (highlighted below)":

Screenshot of the relevant permission

The plugin automatically detects changes on the wiki, but it does not parse the existing contents unless instructed to do so. This can be done from the new "Wiki links" menu inside the "Administration" page:

Screenshot of the bulk parse admin menu

This menu entry will list all the projects that have a wiki:

Screenshot of the bulk parse screen

By checking their entries and clicking on the "Parse" button, all pages in the wiki will be parsed looking for links. This should only be done right after installing the plugin: all subsequent changes on the wiki will be automatically picked up by the plugin.

Daily operation

After enabling the permission on the relevant roles and parsing in bulk the existing content, this plugin should not require any further administration: all changes on the wikis should be picked up automatically.

Note that this plugin focuses on internal wiki links between pages of the same wiki: inter-project wiki links are not handled by this plugin. This is by design, due to efficiency concerns.

Enjoy!

redmine_wiki_backlinks's People

Contributors

agarciadom avatar archonwang avatar giraypultar avatar

Watchers

tuobashao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.