Wikilinks.plugin

From FUDforum Wiki
(Difference between revisions)
Jump to: navigation, search
(Usage)
 
(2 intermediate revisions not shown)
Line 1: Line 1:
-
'''Wikilinks.plugin''' is a plugin that will allow forum users to use <nowiki>[[wikilink]]</nowiki> tags as shorthand to link to articles on an external wiki site. This plugin ships with FUDforum version 3.0.0 and later releases.
+
'''Wikilinks.plugin''' is a plugin that will allow forum users to use <nowiki>[[wikilink]]</nowiki> tags as shorthand to link to articles on an external wiki site (like Wikipedia or your site's wiki). This plugin ships with [[FUDforum 3.0.0]] and later releases.
==Prerequisites==
==Prerequisites==
This plugin can be activated as-is on any forum.
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.
+
Note that this plugin depends on ''PCRE Unicode'' support (usually enabled by default) and will not work if it is disabled (restriction lifted in [[FUDforum 3.0.2]]).
-
==Usage==
+
==Configuration==
-
Enable the plugin in the [[Plugin Manager]] and enter the base URL of the wiki you want to link to. Some examples:
+
Enable the plugin in the [[Plugin Manager]] and enter the base URL of the wiki you want to link to. For examples:
-
* 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 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 to this FUDforum wiki.
-
To provide alternate text to a link, use '''<nowiki>[[FUDforum|link description]]</nowiki>'''.
+
==Examples==
 +
Simple tags:
 +
* '''<nowiki>[[FUDforum]]</nowiki>'''
 +
* '''<nowiki>[[BBcode]]</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.
+
Tags with alternate text:
 +
* '''<nowiki>[[FUDforum|the best forum ever]]</nowiki>'''
 +
* '''<nowiki>[[BBcode|forum tags]]</nowiki>'''
 +
 
 +
With a suffix:
 +
* '''<nowiki>[[Internationalisation]]s</nowiki>'''
 +
 
 +
PS: 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==
This plugin uses FUDforum's BBCODE2HTML and HTML2BBCODE hooks.  
This plugin uses FUDforum's BBCODE2HTML and HTML2BBCODE hooks.  
 +
 +
==See also==
 +
* [[Mediawiki]], extension to automatically authenticate wiki users from your FUDforum database.
[[Category: Plugins]]
[[Category: Plugins]]
[[Category: Integration]]
[[Category: Integration]]

Latest revision as of 21:02, 19 May 2012

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 (like Wikipedia or your site's wiki). This plugin ships with FUDforum 3.0.0 and later releases.

Contents

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 (restriction lifted in FUDforum 3.0.2).

Configuration

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

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

Examples

Simple tags:

  • [[FUDforum]]
  • [[BBcode]]

Tags with alternate text:

  • [[FUDforum|the best forum ever]]
  • [[BBcode|forum tags]]

With a suffix:

  • [[Internationalisation]]s

PS: 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.

See also

  • Mediawiki, extension to automatically authenticate wiki users from your FUDforum database.
Languages
Personal tools