wikiword

NP_WikiWord.php

download as a zip file (version 0.1)

Discuss at forum...

This document describes in short the posibilities you have with this plugin.

Requirements

The plugin has been tested using Nucleus 3.1 + WackoWiki and WakkaWiki. The WakkaWiki website seems to be down, so the code for that engine is no longer downloadable, but the plugin also works with the newer WackoWiki engine. See below for modifications needed for the ‘trackback’ feature.

Installation options

After you have installed the plugin you can (need!) to modify the default information this plugin uses. Without it, the plugin won’t be able to connect to the Wiki. You will need to install and configure WakkaWiki or WackoWiki yourself first. You can find almost all needed information in the config.php file of the Wiki.

  • MySql host for wiki: ip number of MySql server (or localhost) ⇒ use the same as in config.php of Wiki
  • MySql database for wiki: database name for the Wiki database ⇒ use the same as in config.php of Wiki
  • MySql database user: username to logon ⇒ use the same as in config.php of Wiki
  • MySql user password: password of database user for wiki ⇒ use the same as in config.php of Wiki
  • Table prefix: prefix of Wiki tables ⇒ use the same as in config.php of Wiki
  • Wiki root page: root page for Wiki ⇒ use the same as in config.php of Wiki
  • InterWikiLink: a name to identify your blog with ⇒ this one you can decide yourself!
  • Base url for wiki: including the wakka= part ⇒ use the same as in config.php of Wikiuse the same as in config.php of Wiki
  • Home url for wiki: same as Base but withour files and/or parameters.
  • Use fancy urls?: 1 (yes) or 0 (no) ⇒ use the same as in config.php

Functionality

Once the plugin is installed, you can start using Wiki formatting to link to the Wiki and use a subset of the available Wiki formatting for the layout of the Body part and More part of a Post and the Comments of a post.

Things you can now (also) do in your weblog include:

Besides WikiWords you can use:

Formatting:

  • **I'm Bold** ⇒ I’m Bold
  • //I'm Italic.// ⇒ I’m Italic
  • And I'm __underlined__! ⇒ And I’m underlined!

Forced links: (works in comments also!)

Modifications to the Wiki

For the ‘trackback’ to work you need to make a few modifications to the Wiki engine:

WakkaWiki If you are using WakkaWiki, you need to extract the wakka_backlinks.php file from the download file, rename it backlinks.php and then copy it over the existing one that is in the <wakka folder>/actions/ folder. You also need to edit the <tableprefix_>.links table in the database. The field from_tag is char(50) and should be changed into varchar(250) to accomodate for the longer tags you will be storing there.

WackoWiki If you are using WackoWiki, you need to extract the wacko_backlinks.php file from the download file, rename it backlinks.php and then copy it over the existing one that is in the <wacko folder>/actions/ folder. No need to edit the <tableprefix_>.links table in the database, for Wacko wiki’s that already has been set to varchar(250).

In the page where you want the backlinks to be displayed add { {BackLinks} } (without the extra spaces)

Known issue(s)

- if you use forced links in comments it breaks because the urls get converted twice. (Only way to fix is probably comment out function in COMMENT.php → see: dev-forum - the wantedpages need the same modification as the backlinks page. - currently WikiWords in imagenames are also converted in WakkaWiki. This is of course not wanted. Apparently WakkaWiki doesn’t check for things like a space after a word.

version history

History 0.1:

  • First release (2004-08-08).

:: Plugins ::

 
wikiword.txt · Last modified: 2006/07/05 13:03