Go to file
Simon McVittie 824cf7db1b po: Always filter .po files
The input to filter hooks is meant to be the content of a source file
on disk. If we only filter once per (page, destpage) pair, and a page
is inlined into the same destpage more than once, then the second
occurrence will render as the result of htmlizing .po source as if
it was Markdown (or whatever the type of the corresponding master page
is), which is never going to end well.

The alreadyfiltered mechanism was added in commit 1e874b3f to avoid
preprocessing loops, but I'm not sure where it could lead to a loop:
filter hooks are only called from IkiWiki::filter, which is only called
on page content from disk or on proposed content being previewed.
According to <https://bugs.debian.org/911356#41>, deleting the
alreadyfiltered mechanism resolves the problem, as well as simplifying
the code.

Closes: #911356
Tested-by: intrigeri
2019-02-24 17:23:34 +00:00
Bundle add XML::Writer suggestion for osm plugin 2012-03-03 12:28:24 -04:00
IkiWiki po: Always filter .po files 2019-02-24 17:23:34 +00:00
cpan
debian Allow Breezy as alternative to Bazaar. 2019-02-03 16:21:38 +00:00
doc po: Always filter .po files 2019-02-24 17:23:34 +00:00
icons Remove openid provider icons from login selector 2018-01-05 12:27:46 -04:00
plugins rst: Use Python 3 instead of Python 2 2018-02-28 10:40:41 +00:00
po Prepare new release 2019-02-07 11:08:41 +00:00
t po: Always filter .po files 2019-02-24 17:23:34 +00:00
templates Use rel=nofollow microformat for comment authors 2017-01-09 13:07:24 +00:00
themes Restrict CSS matches on .header to not affect <tr> 2016-12-19 18:21:07 +00:00
underlays Remove openid provider icons from login selector 2018-01-05 12:27:46 -04:00
.gitattributes
.gitignore t: Consistently remove temp directory before testing, not after 2019-02-03 12:34:46 +00:00
.perlcriticrc
CHANGELOG po: Always filter .po files 2019-02-24 17:23:34 +00:00
IkiWiki.pm preprocess: Don't encode digit zero as an entity in errors 2018-03-21 09:33:04 +00:00
Makefile.PL t: Consistently remove temp directory before testing, not after 2019-02-03 12:34:46 +00:00
NEWS
README
auto-blog.setup Standardize on --long-option instead of -long-option 2015-03-01 16:15:01 +00:00
auto.setup allow adminuser to be an email address 2015-05-13 23:07:29 -04:00
docwiki.setup docwiki.setup: exclude TourBusStop from offline documentation 2017-01-10 11:30:56 +00:00
gitremotes
ikiwiki-calendar.in Exclude working directory from library path (CVE-2016-1238) 2016-07-28 09:50:21 +01:00
ikiwiki-comment.in Exclude working directory from library path (CVE-2016-1238) 2016-07-28 09:50:21 +01:00
ikiwiki-makerepo git: if no committer identity is known, set it to "IkiWiki <ikiwiki.info>" in .git/config 2015-11-30 19:34:04 +00:00
ikiwiki-mass-rebuild Exclude working directory from library path (CVE-2016-1238) 2016-07-28 09:50:21 +01:00
ikiwiki-transition.in Exclude working directory from library path (CVE-2016-1238) 2016-07-28 09:50:21 +01:00
ikiwiki-update-wikilist Exclude working directory from library path (CVE-2016-1238) 2016-07-28 09:50:21 +01:00
ikiwiki-w3m.cgi
ikiwiki.in Exclude working directory from library path (CVE-2016-1238) 2016-07-28 09:50:21 +01:00
ikiwiki.spec Prepare new release 2019-02-07 11:08:41 +00:00
mdwn2man
pm_filter pm_filter: use \Q...\E to escape all possible strings pedantically 2016-09-03 23:47:52 +01:00
wikilist Standardize on --long-option instead of -long-option 2015-03-01 16:15:01 +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)

  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.