-
-
05 Jan 2003 23:51:21 UTC
- Browse (raw)
- Changes
- How to Contribute
- Issues (1)
- Testers (4 / 1 / 0)
- Kwalitee
- License: unknown
- Activity
24 month- Tools
- Download (35.68KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
Changes for version 0.15
- Amended store setup modules so their 'setup' functions don't wipe pre-existing data; added 'cleardb' functions for when you really do want to wipe it. Along with that, amended the setup scripts in ./bin/ to take a --force-preclear option. Now they leave existing data by default. Added standalone tests for CGI::Wiki::Formatter::Default Added $formatter->find_internal_links method and tests.
- Implemented backlinks! Thanks to blair christensen for the idea, and sorry for taking so long to get around to it.
- IMPORTANT NOTE *** *After* upgrading, you will need to re-run the relevant database setup script (in ./bin/) on any databases created using earlier versions of CGI::Wiki, in order that the internal_links table gets created. From version 0.15, these scripts won't affect data in existing tables, as long as you don't supply the --force-preclear option, so this is safe.
- ===> *** IF YOU DON'T DO THIS THEN YOUR CODE WILL FALL OVER AND DIE. ***
- You have been warned.
- (You can do the database munging before you install this new version
- the old versions won't mind the extra table -- but
- ===> *** MAKE SURE *** to invoke the scripts as something like perl -Ilib bin/user-setup-[...] so you get the *new* setup modules which *won't* hose your data (the old ones did, ugh).)
- The backlink data will also not exist for links *from* a given node until you re-write that node. Take your wiki offline then do something like
- my $wiki = CGI::Wiki->new( %conf );
- (Where %conf is exactly as you would set this up for your actual
- Wiki application, including your store, search and formatter
- options exactly as you use them live.) my @nodes = $wiki->list_all_nodes; foreach my $node ( @nodes ) { my %nodedata = $wiki->retrieve_node( $node ); $wiki->write_node($node, $nodedata{content}, $nodedata{checksum}); }
- to refresh all the nodes in your database.
- The backlink data will also not exist for links *from* a given node until you re-write that node. Take your wiki offline then do something like
Documentation
set up a DBIx::FullTextSearch backend for CGI::Wikiset up a MySQL storage backend for CGI::Wikiset up a Postgres storage backend for CGI::Wikiset up a SQLite storage backend for CGI::WikiModules
A toolkit for building Wikis.A formatter for CGI::Wiki.DBIx::FullTextSearch search plugin for CGI::WikiSearch::InvertedIndex search plugin for CGI::Wikiset up fulltext indexes for CGI::WikiSet up tables for a CGI::Wiki store in a MySQL database.Set up tables for a CGI::Wiki store in a Postgres database.Set up Search::InvertedIndex indexes for CGI::WikiSet up tables for a CGI::Wiki store in a SQLite database.parent class for database storage backends for CGI::WikiMySQL storage backend for CGI::WikiPostgres storage backend for CGI::WikiSQLite storage backend for CGI::WikiExamples
Module Install Instructions
To install CGI::Wiki, copy and paste the appropriate command in to your terminal.
cpanm CGI::Wiki
perl -MCPAN -e shell install CGI::Wiki
For more information on module installation, please visit the detailed CPAN module installation guide.