Wikilinks.plugin

From FUDforum Wiki
(Difference between revisions)
Jump to: navigation, search
(Prerequisites)
(Usage)
Line 10: Line 10:
* enter ''<nowiki>http://en.wikipedia.org/wiki/</nowiki>'' to link tags like '''<nowiki>[[FUDforum]]</nowiki>''' to Wikipedia articles.
* enter ''<nowiki>http://en.wikipedia.org/wiki/</nowiki>'' to link tags like '''<nowiki>[[FUDforum]]</nowiki>''' to Wikipedia articles.
* enter ''<nowiki>http://cvs.prohost.org/index.php/</nowiki>'' to link tags like '''<nowiki>[[BBcode]]</nowiki>''' to this wiki.
* enter ''<nowiki>http://cvs.prohost.org/index.php/</nowiki>'' to link tags like '''<nowiki>[[BBcode]]</nowiki>''' to this wiki.
 +
 +
To provide alternate text to a link, use '''<nowiki>[[FUDforum|link description]]</nowiki>'''.
 +
 +
If you use this plugin to link to Wikipedia articles, you can use links like '''<nowiki>[[fr:FUDforum]]</nowiki>''' to link to articles in different languages.
==Hook==
==Hook==

Revision as of 12:51, 12 December 2009

Wikilinks.plugin is a plugin that will allow forum users to use [[wikilink]] tags as shorthand to link to articles on an external wiki site. This plugin ships with FUDforum version 3.0.0 and later releases.

Prerequisites

This plugin can be activated as-is on any forum.

Note that this plugin depends on PCRE Unicode support (usually enabled by default) and will not work if it is disabled.

Usage

Enable the plugin in the Plugin Manager and enter the base URL of the wiki you want to link to. Some examples:

  • enter http://en.wikipedia.org/wiki/ to link tags like [[FUDforum]] to Wikipedia articles.
  • enter http://cvs.prohost.org/index.php/ to link tags like [[BBcode]] to this wiki.

To provide alternate text to a link, use [[FUDforum|link description]].

If you use this plugin to link to Wikipedia articles, you can use links like [[fr:FUDforum]] to link to articles in different languages.

Hook

This plugin uses FUDforum's BBCODE2HTML and HTML2BBCODE hooks.

Languages
Personal tools