Go to file
Joey Hess 192ce7a238 remove unnecessary and troublesome filter calls
This better defines what the filter hook is passed, to only be the raw,
complete text of a page. Not some snippet, or data read in from an
unrelated template.

Several plugins that filtered text that originates from an (already
filtered) page were modified not to do that. Note that this was not
done very consistently before; other plugins that receive text from a
page called preprocess on it w/o first calling filter.

The template plugin gets text from elsewhere, and was also changed not to
filter it. That leads to one known regression -- the embed plugin cannot
be used to embed stuff in templates now. But that plugin is deprecated
anyway.

Later we may want to increase the coverage of what is filtered. Perhaps
a good goal would be to allow writing a filter plugin that filters
out unwanted words, from any input. We're not there yet; not only
does the template plugin load unfiltered text from its templates now,
but so can the table plugin, and other plugins that use templates (like
inline!). I think we can cross that bridge when we come to it. If I wanted
such a censoring plugin, I'd probably make it use a sanitize hook instead,
for the better coverage.

For now I am concentrating on the needs of the two non-deprecated users
of filter. This should fix bugs/po_vs_templates, and it probably fixes
an obscure bug around txt's use of filter for robots.txt.
2010-07-04 15:06:48 -04:00
Bundle Version dependency on liburi-perl to >= 1.36; previous versions did not support building urls from utf-8 strings. Closes: #579713 2010-04-30 13:06:52 -04:00
IkiWiki remove unnecessary and troublesome filter calls 2010-07-04 15:06:48 -04:00
cpan enhancesments for shared hosting 2008-05-05 14:51:26 -04:00
debian review of needstranslation() pagespec 2010-07-04 14:22:19 -04:00
doc remove unnecessary and troublesome filter calls 2010-07-04 15:06:48 -04:00
plugins format plugin categorization 2010-02-12 01:10:36 -05:00
po rcs_commit and rcs_commit_staged api changes 2010-06-23 19:04:36 -04:00
t clean up messages about unavailable vcs programs 2010-06-25 00:30:12 -04:00
templates comment.tmpl: Fix up display when inline uses it to display a non-comment page. (Such as a discussion page.) 2010-06-30 21:07:31 -04:00
themes less tight positioning 2010-06-18 18:19:12 -04:00
underlays add theme plugin 2010-06-16 15:43:42 -04:00
.gitattributes auto changelog merging 2010-06-25 13:43:02 -04:00
.gitignore Add preprocessed 'use lib' line to ikiwiki-transition and ikiwiki-calendar if necessary for unusual install. 2010-03-26 13:11:02 -04:00
.perlcriticrc fix a common case typo 2008-08-12 15:48:44 -04:00
CHANGELOG * Work on firming up the plugin interface: 2006-09-09 22:50:27 +00:00
IkiWiki.pm git: Added git_wrapper_background_command option. Can be used to eg, make the git wrapper push to github in the background after ikiwiki runs. 2010-07-01 16:57:20 -04:00
Makefile.PL preserve timestamps for directive and theme underlays 2010-06-16 15:48:50 -04:00
NEWS * Work on firming up the plugin interface: 2006-09-09 22:50:27 +00:00
README response 2010-03-28 18:49:15 -04:00
auto-blog.setup calendar: Tune archive_pagespec to only match pages, not other files. 2010-06-15 13:38:19 -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 * Support a w3mmode, which lets w3m run ikiwiki using its local CGI 2006-07-07 21:00:48 +00:00
ikiwiki.in version IkIWiki use, to help prevent wacky mismatch errors 2010-05-04 16:37:20 -04:00
ikiwiki.spec rcs_commit and rcs_commit_staged api changes 2010-06-23 19:04:36 -04:00
mdwn2man fix escaping of indented dot 2010-03-12 15:09:33 -05:00
pm_filter remove -T from ikiwiki.in, add back if NOTAINT=0 2009-05-22 13:46:07 -04:00
wikilist Fix typo. 2007-04-09 23:54:32 +00:00

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)

  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.