Go to file
Giuseppe Bilotta a17469e388 tag name sanitation
The use of typed links for tags and some of the consequent changes
introduced some unwanted functionality variations in the tag system. Two
problems in particular could be observed, when compared to the use of
tags in older versions of IkiWiki:

* tags in feeds (both rss and atom) would use the file path as their
  name (e.g. you would have <category term="tags/sometag" /> in an atom
  item for a page tagged sometag with a tagbase of tags), whereas they
  appeared pure before
* tags containing a slash character would appear without the slash
  character but be used with the slash character in other circumstances
  (effect visible by tagging a page with a name such as "with/slash")

Both of these issues are fixed by introducing a tagname() function that
takes a tag link and effectively reverses (as well as possible) the
effects of taglink().

A possible alternative route would have been the reintroduction of the
global %tags hash, but the new approach as the (arguable) benefit of
introducing a small layer of sanitation for tag names.
2011-01-04 15:58:42 -04:00
Bundle Use Digest::SHA built into perl rather than external Digest::SHA1 to simplify dependencies. Closes: #591040 2010-07-31 15:54:25 -04:00
IkiWiki tag name sanitation 2011-01-04 15:58:42 -04:00
cpan enhancesments for shared hosting 2008-05-05 14:51:26 -04:00
debian releasing version 3.20101231 2010-12-31 21:34:52 -04:00
doc markup 2011-01-04 15:51:26 -04:00
plugins format plugin categorization 2010-02-12 01:10:36 -05:00
po releasing version 3.20101231 2010-12-31 21:34:52 -04:00
t po test: add more cases, including (semi-)absolute URLs 2010-12-25 22:54:54 +00:00
templates improve html 2010-11-16 14:45:53 -04:00
themes tweak 2010-12-11 14:50:53 -04:00
underlays openid: Syntax tweak to the javascript code to make it work with MSIE 7 (and MSIE 8 in compat mode). Thanks to Iain McLaren for reporting the bug and providing access to debug it. 2010-08-17 16:05:17 -04:00
.gitattributes auto changelog merging 2010-06-25 13:43:02 -04:00
.gitignore extend the 'tag' test to cover auto-creation of tag pages 2010-12-25 22:54:54 +00:00
.perlcriticrc fix a common case typo 2008-08-12 15:48:44 -04:00
CHANGELOG
IkiWiki.pm Add a second parameter to the rcs_diff hook, and avoid bloating memory reading in enormous commits. 2010-12-29 19:58:49 -04:00
Makefile.PL prepend base.css to theme's style.css 2010-12-11 14:36:06 -04:00
NEWS
README parameterize FIND and SED 2010-09-27 16:10:13 -04:00
auto-blog.setup auto-blog.setup: Don't enable opendiscussion by default; require users be logged in to post comments. 2010-10-17 17:26:35 -04:00
auto.setup fix case 2009-10-21 13:55:44 -04:00
docwiki.setup disable openid when building doc dir 2010-05-15 23:24:57 -04:00
gitremotes gitremotes: don't fetch the new remote until we've turned off tags 2010-05-09 16:44:47 +01:00
ikiwiki-calendar.in rcs_commit and rcs_commit_staged api changes 2010-06-23 19:04:36 -04:00
ikiwiki-makerepo reorder vcs list 2009-09-10 16:22:58 -04:00
ikiwiki-mass-rebuild fix two build bugs 2008-06-13 13:05:44 -04:00
ikiwiki-transition.in Add preprocessed 'use lib' line to ikiwiki-transition and ikiwiki-calendar if necessary for unusual install. 2010-03-26 13:11:02 -04:00
ikiwiki-update-wikilist add new wiki to wikilist 2008-07-27 16:01:29 -04:00
ikiwiki-w3m.cgi
ikiwiki.in Remove PATH overriding code in ikiwiki script that was present to make perl taint checking happy, but taint checking is disabled. 2010-09-07 13:47:50 -04:00
ikiwiki.spec releasing version 3.20101231 2010-12-31 21:34:52 -04:00
mdwn2man sync mdwn2man changes from git-annex 2010-12-10 17:36:39 -04:00
pm_filter remove -T from ikiwiki.in, add back if NOTAINT=0 2009-05-22 13:46:07 -04:00
wikilist

README

Use ./Makefile.PL to generate a Makefile, "make" will build the
documentation wiki and a man page, and "make install" will install ikiwiki.

All other documentation is in the ikiwiki documentation wiki, which is also
available online at <http://ikiwiki.info/>


A few special variables you can set while using the Makefile.PL:

  PROFILE=1 turns on profiling for the build of the doc wiki.
  (Uses Devel::NYTProf)

  NOTAINT=0 turns on the taint flag in the ikiwiki program. (Not recommended
  unless your perl is less buggy than mine -- see
  http://bugs.debian.org/411786)

  MAKE, FIND, and SED can be used to specify where you have the GNU
  versions of those tools installed, if the normal make, find, and sed
  are not GNU.

  There are also other variables supported by MakeMaker, including PREFIX,
  INSTALL_BASE, and DESTDIR. See ExtUtils::MakeMaker(3).

  In particular, INSTALL_BASE is very useful if you want to install ikiwiki
  to some other location, as it configures it to see the perl libraries
  there. See `doc/tips/nearlyfreespeech.mdwn` for an example of using this to
  install ikiwiki and its dependencies in a home directory.