Commit Graph

9149 Commits (df82b5e62a1066752d9260728485772dbafae8c5)

Author SHA1 Message Date
intrigeri df82b5e62a po: when possible, disable use of Text::WrapI18N in po4a; else warn about too old po4a
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-16 15:07:05 +01:00
intrigeri 1c53179e97 add a warning (exported) function to the core
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-16 15:06:42 +01:00
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
intrigeri 92b2efd393 po.t: fix test suite
(translatable files now have to exist in srcdir)
)
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-15 23:32:55 +01:00
intrigeri 7919e70282 po(todo): more test results
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-15 23:06:11 +01:00
intrigeri 3ba976d1d3 po: pages in underlay dirs are not translatable
Fixes build break due to read-only underlay dirs, e.g. basewiki.

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-15 23:04:57 +01:00
intrigeri 9abda92324 po(_istranslation): fix unitialized value
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-15 22:45:45 +01:00
intrigeri 5c59ad63df po: fix broken links from slave pages
... by overriding cgiurl.

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-15 21:49:32 +01:00
intrigeri 7ca396d6ee po/todo: some testing results
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-15 21:32:22 +01:00
intrigeri e6992480e2 Merge commit 'upstream/master' into prv/po
Conflicts:

	debian/control
2009-01-15 20:04:31 +01:00
intrigeri 48de7f9c7b po: more security-related reports
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-15 20:01:54 +01:00
http://deliank.myopenid.com/ 63fe022602 2009-01-14 18:31:51 -05:00
Jon Dowland e9eb93186d pingback support todo item 2009-01-14 13:49:30 +00:00
intrigeri 196f03a987 po: do not add translation status to parentlinks
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-13 13:03:30 +01:00
intrigeri 82197bd0ea Merge commit 'upstream/master' into prv/po 2009-01-13 12:26:43 +01:00
Joey Hess eaed3c70ce remove hardlink settings from auto.setup files
This can cause complications when moving directories around, and is
just an optimisation. There's no good reason to force it on here.
2009-01-12 20:04:01 -05:00
Joey Hess 756197f30f combine two pages 2009-01-12 20:01:03 -05:00
Joey Hess 1c4357b13e formatting, again 2009-01-12 19:28:33 -05:00
Joey Hess d612de0940 formatting try again 2009-01-12 19:26:10 -05:00
Joey Hess f90d1f335d formatting 2009-01-12 19:24:48 -05:00
Joey Hess 68b8fd508f update 2009-01-12 19:17:05 -05:00
Joey Hess 7491b7de11 update 2009-01-12 19:16:12 -05:00
Joey Hess 7e6abdfd1c Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-01-12 19:10:47 -05:00
Joey Hess b70c64d3f8 add byhand document, containing the old setup document 2009-01-12 19:09:29 -05:00
Joey Hess 6d785d6401 Add auto-blog.setup
It will set up an ikiwiki instance tuned for use in blogging.

As part of this change, move the example sites into /usr/share/ikiwiki so
they are available even if docs are not installed.
2009-01-12 19:04:24 -05:00
Joey Hess 5b1f7f293d update, formatting 2009-01-12 19:03:41 -05:00
Joey Hess 3eaa5c91d7 export installdir
For use by Setup/Automator
2009-01-12 18:55:56 -05:00
Joey Hess 82649be475 update 2009-01-12 18:42:05 -05:00
Joey Hess dc2df6eb8a remove meta title
When at toplevel, the default is ok.
2009-01-12 18:41:38 -05:00
Joey Hess 68dbf23135 update path 2009-01-12 18:41:21 -05:00
Joey Hess a86cbb8b9f rewrote
This rewritten setup page starts with auto.setup and explains
basic customisation and use after that has set up a wiki. It's much easier
to follow than the old method, with less things to learn. (Downside: Less
it learned.)
2009-01-12 17:16:01 -05:00
Joey Hess 1c0f3d40f2 Recommend libterm-readline-gnu-perl
since that makes auto.setup behave better.
2009-01-12 16:52:34 -05:00
tobias_verbeke 7b1026b1a8 2009-01-11 16:04:32 -05:00
Joey Hess 69fa793e11 update with a bit more info 2009-01-11 14:31:06 -05:00
Joey Hess 5a847e638c Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-01-11 14:28:25 -05:00
Joey Hess 85dcc2958a pinger: Get whole url, don't just head.
Asking for only the head worked in my tests, but I've found a site where it
didn't -- apparently ikiwiki didn't get a chance to do or finish the
refresh when HEADed. Getting the whole url, waiting for ikiwiki to finish,
avoided the update problem.
2009-01-11 14:27:27 -05:00
http://evacuee.myid.net/ 52c30dd9f3 2009-01-11 04:37:32 -05:00
Joey Hess 7a8ea68fc0 Consistently allow use of relative paths in all PageSpecs that take a page name parameter. Previously, match_created_before(), match_created_after(), match_sourcepage(), and match_destpage() did not support that, and the docs were not clear. 2009-01-10 14:36:03 -05:00
Joey Hess 8fd086cb8a refactor pagespec derelevitisation code 2009-01-10 14:24:21 -05:00
Joey Hess af9566a695 comments: Add support for removing comments via web interface. (smcv) 2009-01-10 14:17:27 -05:00
Joey Hess 3572f5ea1a Merge commit 'smcv/comments' 2009-01-10 14:15:47 -05:00
Simon McVittie 81b87d41fb Request review for my comments branch
Partially addresses [[todo/comments]]
2009-01-10 11:41:41 +00:00
Simon McVittie 79676ca445 comments: if the remove plugin is enabled, append a "Remove comment" link 2009-01-10 11:31:24 +00:00
Simon McVittie d70b05971f comments: only try to insert commentuser etc. into templates if the page contained [[!_comment]] 2009-01-10 11:29:56 +00:00
Joey Hess 8b084a1327 remove questions
ikiwiki has some pretty distinct fingerprints even when it's used
in unusual ways on sites that don't make it obvious it's being used:

* tova: a) rss and atom feed buttons
   b) use of toc plugin on some pages
   c) usual page.tmpl droppings
   d) (I know the tova guys :)
* awesome: a) usual page.tmpl droppings
  b) ikiwiki/ page and rest of basewiki pages exist
* UK software patents: used to use ikiwiki based on similar
  fingerprints, but not now. Removed
2009-01-09 19:28:43 -05:00
Joey Hess 1b717b95c7 remove clutter 2009-01-09 19:26:26 -05:00
testaroo 66ec8c407b 2009-01-09 11:47:39 -05:00
testaroo 391bc6a0b4 2009-01-09 11:47:25 -05:00
https://launchpad.net/~gnprice 45411e43c1 2009-01-08 22:15:47 -05:00
https://launchpad.net/~gnprice 7b3a21b5c1 2009-01-08 21:19:31 -05:00