CGI-Kwiki
view release on metacpan or search on metacpan
lib/CGI/Kwiki/Pages.pm view on Meta::CPAN
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
=cut
__BrianIngerson__
Brian "ingy" Ingerson is a Perl devotee and [CPAN http://search.cpan.org/author/INGY/] module author. His modules include CGI::Kwiki which is the Wiki software you are presently using.
He has a dream to see the communities of all the /agile programming languages/ (Perl, Python, PHP, Ruby) working together. He is attempting to facilitate this in many ways including:
* [YAML http://www.yaml.org]
* [FreePAN http://www.freepan.org]
* [FIT http://fit.freepan.org]
* [Moss http://moss.freepan.org]
He can be contacted at:
* ingy@cpan.org
* irc://irc.freenode.net/kwiki
__HomePage__
*Congratulations*! You've created a new _Kwiki_ website.
This is the *default* home page. You should change this page /right away/.
Just click the EDIT button below.
You may also want to add a KwikiLogoImage in the config.yaml file. It will appear in the upper lefthand corner of each page.
----
If you need assistance on using a Kwiki first, check out KwikiHelpIndex.
__KwikiAbout__
CGI::Kwiki is simple yet powerful Wiki environment written in Perl as a CPAN module distribribution. It was written by BrianIngerson.
*This is CGI::Kwiki Version [#.#]*
- XXX
Changes in version 0.17:
- RCS Support!!!
- Changed wiki_link regexps to include '_'
- Cleaned up html and css (AdamTrickett)
- Support template/local/ directory
- Add Login button to edit
- Added Blog to navbar
- Change localtime to gmtime
- Added time to RecentChanges
Changes in version 0.16:
- Support Page Privacy (Public, Protected, Private)
- Support administrator login
- KwikiBlog is a reality
- Allow uppercase suffixes for urls (.GIF)
- Display 'Site Index' for empty search (JoergBraukhoff)
- Display 'Search' as the page_id on a search results page.
- Bang (!) before bracket ([) negates the usual formatting effect.
- Defeat browser caching (JoergBraukhoff)
- Support $ENV{REMOTE_USER} for htaccess (Pardus)
Changes for version 0.15:
- Support unicode character classes in page names
- Search searches page names
- Search is written in Perl now, instead of grep
- Cookies span sessions
- Allow ftp:// and irc:// links
- Allow to create a new page from an old one
- Dead wiki links use <strike>
- Stop links from being underlined
- Allow Wiki links like KWiki
- Support <H4> <H5> and <H6>
- Refactored installation and upgrade process
- Added [#.#] format for $CGI::Kwiki::VERSION
Changes for version 0.14:
- Works with mod_perl.
- Preferences works.
- Support for page metadata.
- RecentChanges shows who last edited page.
- Almost all non-perl content is now written to
appropriate files. Javascript, CSS etc. Much easier to
maintain and extend now.
- Support mailto links and inline code.
- https links added. Thanks to GregSchueler.
- ':' added to charset for page names. Suggested by
JamesFitzGibbon.
- Javascript fix reported by MikeArms.
- Security hole in CGI params fixed. Reported by
TimSweetman.
- Emacs artifact bug fix by HeikkiLehvaslaiho.
- Cleaned up unneeded <p> tags. Reported by HolgerSchurig
__KwikiBackup__
Kwiki supports backing up of each page change, so that you can easily revert a page to an older version. Currently the only backup module is CGI::Kwiki::Backup::Rcs and it uses RCS to do the backups. RCS is generally found on almost all modern Unix s...
KwikiBackup support is not enabled by default. To enable it, add the following line to your config.yaml file:
backup_class: CGI::Kwiki::Backup::Rcs
__KwikiBlog__
KwikiBlog allows you to turn any wiki page into a blog page. You need to have KwikiPrivacy enabled, and you must be logged in as the administrator of the site.
Click [here http:blog.cgi] to see if this site has KwikiBlog working.
__KwikiCustomization__
There are basically three levels of customization you can do with a kwiki site. They are discussed from easiest to hardest:
^=== Config File Changes
^=== Template/CSS Changes
There are 2 directories in your kwiki installation that contain files that control the layout and appearance of your web pages:
* [=template]
* [=css]
You can change the html and css files anyway that suits you. It is generally best to copy the modified files into [=local/template] and [=local/css]. This way your changes will not be overwritten if you later do a [=kwiki-install --upgrade].
^=== Perl Code Changes
__KwikiFastCGI__
Apache's mod_fastcgi makes Perl applications run much faster and scale well to heavy usage. Using Kwiki with mod_fastcgi is a piece of cake.
First you need is an Apache server built with mod_fstcgi support. See http://www.fastcgi.com/ for more information.
Then install a Kwiki site following the normal KwikiInstallation procedures.
( run in 3.716 seconds using v1.01-cache-2.11-cpan-437f7b0c052 )