Go to file
intrigeri 523718b181 po(change): re-render all rendered files in one corner case
All meta titles are first extracted at scan time, i.e. before we turn
PO files back into translated markdown; escaping of double-quotes in
PO files breaks the meta plugin's parsing enough to save ugly titles
to %pagestate at this time.

Then, at render time, every page's passes on row through the Great
Rendering Chain (filter->preprocess->linkify->htmlize), and the meta
plugin's preprocess hook is this time in a position to correctly
extract the titles from slave pages.

This is, unfortunately, too late: if the page A, linking to the page B,
is rendered before B, it will display the wrongly-extracted meta title
as the link text to B.

On the one hand, such a corner case only happens on rebuild: on
refresh, every rendered page is fixed to contain correct meta titles.
On the other hand, it can take some time to get every page fixed.
We therefore re-render every rendered page after a rebuild to fix them
at once. As this more or less doubles the time needed to rebuild the
wiki, we do so only when really needed.

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-16 01:33:07 +01:00
Bundle
IkiWiki po(change): re-render all rendered files in one corner case 2009-01-16 01:33:07 +01:00
cpan
debian Merge commit 'upstream/master' into prv/po 2009-01-15 20:04:31 +01:00
doc po(todo): more test results 2009-01-15 23:06:11 +01:00
plugins function injection overhaul 2008-10-21 17:57:19 -04:00
po table: Find links in external files in scan pass. 2009-01-06 15:36:32 -05:00
t po.t: fix test suite 2009-01-15 23:32:55 +01:00
templates Merge commit 'upstream/master' into prv/po 2009-01-13 12:26:43 +01:00
underlays Merge commit 'upstream/master' into prv/po 2009-01-01 13:34:00 +01:00
.gitignore
.perlcriticrc
CHANGELOG
IkiWiki.pm export installdir 2009-01-12 18:55:56 -05:00
Makefile.PL Add auto-blog.setup 2009-01-12 19:04:24 -05:00
NEWS
README reformat 2008-09-09 20:24:59 -04:00
auto-blog.setup remove hardlink settings from auto.setup files 2009-01-12 20:04:01 -05:00
auto.setup remove hardlink settings from auto.setup files 2009-01-12 20:04:01 -05:00
docwiki.setup table: Find links in external files in scan pass. 2009-01-06 15:36:32 -05:00
gitremotes markdown fixes 2008-12-11 13:31:25 -05:00
ikiwiki-makerepo ikiwiki-makerepo: Fix injecting of empty mercurial and bzr repositories. Closes: #510518 2009-01-02 14:15:47 -05:00
ikiwiki-mass-rebuild
ikiwiki-transition fix moveprefs transition 2008-12-31 14:54:22 -05:00
ikiwiki-update-wikilist
ikiwiki-w3m.cgi
ikiwiki.in Coding style change: Remove explcit vim folding markers. 2008-12-17 15:22:16 -05:00
mdwn2man
pm_filter export installdir 2009-01-12 18:55:56 -05: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:

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

  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.