From 47d1b3eac57f1b38bb7528fdc039a91680bc33a4 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Fri, 25 Jun 2010 19:32:29 +0200 Subject: new bug report, patch provided --- doc/bugs/po_vs_templates.mdwn | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 doc/bugs/po_vs_templates.mdwn (limited to 'doc') diff --git a/doc/bugs/po_vs_templates.mdwn b/doc/bugs/po_vs_templates.mdwn new file mode 100644 index 000000000..a0ccc5f53 --- /dev/null +++ b/doc/bugs/po_vs_templates.mdwn @@ -0,0 +1,17 @@ +The po plugin's protection against processing loops (i.e. the +alreadyfiltered stuff) is playing against us: the template plugin +triggers a filter hooks run with the very same ($page, $destpage) +arguments pair that is used to identify an already filtered page. + +Processing an included template can then mark the whole translation +page as already filtered, which prevented `po_to_markup` to be called on +the PO content. + +Symptoms: the unprocessed gettext file goes unfiltered to the +generated HTML. + +This has been fixed in my po branch. + +-- [[intrigeri]] + +[[!tag patch]] -- cgit v1.2.3 From 8f266d4d436be5cbb765ac81424687e764397d05 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Fri, 25 Jun 2010 19:32:46 +0200 Subject: another bugreport with patch --- doc/todo/Fix_selflink_in_po_plugin.mdwn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/todo/Fix_selflink_in_po_plugin.mdwn b/doc/todo/Fix_selflink_in_po_plugin.mdwn index 87fa38911..b83d2814a 100644 --- a/doc/todo/Fix_selflink_in_po_plugin.mdwn +++ b/doc/todo/Fix_selflink_in_po_plugin.mdwn @@ -6,3 +6,5 @@ isn't. --[[intrigeri]] Fixed in my po branch. --[[intrigeri]] [[!tag patch]] + +> bump? -- cgit v1.2.3 From c27ed8737d823c2abb7c3a814a847311f059d656 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawlcaGfdn9Kye1Gc8aGb67PDVQW4mKbQD7E" Date: Sat, 26 Jun 2010 01:48:53 +0000 Subject: windauth plugin exists (iPhone edit) --- doc/users/schmonz.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/users/schmonz.mdwn b/doc/users/schmonz.mdwn index ed3332bf9..ec282c990 100644 --- a/doc/users/schmonz.mdwn +++ b/doc/users/schmonz.mdwn @@ -2,4 +2,4 @@ [[!map pages="!*/Discussion and ((link(users/schmonz) and plugins/*) or rcs/cvs)"]] -In progress: a plugin for [WIND authentication](http://www.columbia.edu/acis/rad/authmethods/wind/). +I've also written a plugin for [WIND authentication](http://www.columbia.edu/acis/rad/authmethods/wind/), which may or may not be of general utility. -- cgit v1.2.3 From 9b66a0cf0a5faf2da694b3cfb91eef6158167f4f Mon Sep 17 00:00:00 2001 From: intrigeri Date: Sat, 26 Jun 2010 00:57:58 +0200 Subject: done in my branch, please review. --- doc/plugins/po.mdwn | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') diff --git a/doc/plugins/po.mdwn b/doc/plugins/po.mdwn index 576d36ec1..9b492c781 100644 --- a/doc/plugins/po.mdwn +++ b/doc/plugins/po.mdwn @@ -263,6 +263,9 @@ order, as `po_slave_languages` is a hash. It would need to be converted to an array to support this. (If twere done, twere best done quickly.) --[[Joey]] +> Done in my po branch, preserving backward compatibility. Please +> review :) --[[intrigeri]] + Pagespecs --------- -- cgit v1.2.3 From e84287ec98f91e6622942f2bf0e7c5462c04b203 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Sat, 26 Jun 2010 01:02:08 +0200 Subject: need more info to reproduce --- doc/plugins/po.mdwn | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') diff --git a/doc/plugins/po.mdwn b/doc/plugins/po.mdwn index 9b492c781..ab83c91bc 100644 --- a/doc/plugins/po.mdwn +++ b/doc/plugins/po.mdwn @@ -293,6 +293,9 @@ Also, this may only happen if the page being linked to is coming from an underlay, and the underlays lack translation to a given language. --[[Joey]] +> Any simple testcase to reproduce it, please? I've never seen this +> happen yet. --[[intrigeri]] + Double commits of po files -------------------------- -- cgit v1.2.3 From 9b171de6dbe13a35383edce6ee7e5365f2d61175 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Sat, 26 Jun 2010 01:29:20 +0200 Subject: yet another bug on good way to be fixed --- doc/plugins/po.mdwn | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/plugins/po.mdwn b/doc/plugins/po.mdwn index ab83c91bc..892830ee5 100644 --- a/doc/plugins/po.mdwn +++ b/doc/plugins/po.mdwn @@ -310,6 +310,10 @@ and then committed again. The second commit makes this change: Same thing happens when a change to an existing page triggers a po file update. --[[Joey]] +> * The s/utf-8/UTF-8 part is fixed in my po branch. +> * The ENCODING\n part is due to an inconsistency in po4a, which +> I've just send a patch for. --[[intrigeri]] + Ugly messages with empty files ------------------------------ -- cgit v1.2.3 From 7e3672945f7f95d8ea68734c1fa2dfa1dfd2af7f Mon Sep 17 00:00:00 2001 From: intrigeri Date: Sat, 26 Jun 2010 01:43:00 +0200 Subject: another po4a patch has been sent. --- doc/plugins/po.mdwn | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') diff --git a/doc/plugins/po.mdwn b/doc/plugins/po.mdwn index 892830ee5..dd85edf3d 100644 --- a/doc/plugins/po.mdwn +++ b/doc/plugins/po.mdwn @@ -319,6 +319,9 @@ Ugly messages with empty files If there are empty .mdwn files, the po plugin displays some ugly messages. +> This is due to a bug in po4a (not checking definedness of a +> variable). One-liner patch sent. --[[intrigeri]] + Translation of directives ------------------------- -- cgit v1.2.3 From e6bba3b3b5c7a99a38f5ae489a8fb7353013debc Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawlcaGfdn9Kye1Gc8aGb67PDVQW4mKbQD7E" Date: Sat, 26 Jun 2010 18:13:08 +0000 Subject: s/the the/the/ --- doc/setup/byhand.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/setup/byhand.mdwn b/doc/setup/byhand.mdwn index afd1ac27f..86cff5af4 100644 --- a/doc/setup/byhand.mdwn +++ b/doc/setup/byhand.mdwn @@ -177,7 +177,7 @@ about using the git repositories. Once your wiki is checked in to the revision control system, you should configure ikiwiki to use revision control. Edit your ikiwiki.setup, set -`rcs` to the the revision control system you chose to use. Be careful, +`rcs` to the revision control system you chose to use. Be careful, you may need to use the 'fullname'. For example, 'hg' doesn't work, you should use mercurial. Be sure to set `svnrepo` to the directory for your repository, if using subversion. Uncomment the configuration for the wrapper -- cgit v1.2.3 From 430a2308133a2733f20c5e2f75b1eb974b8fdfa0 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawlcaGfdn9Kye1Gc8aGb67PDVQW4mKbQD7E" Date: Sat, 26 Jun 2010 20:14:50 +0000 Subject: another reason to use NetBSD's commit_prep and log_accum for CVS --- doc/rcs/cvs.mdwn | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/rcs/cvs.mdwn b/doc/rcs/cvs.mdwn index f0bd0f6f0..9beb08ece 100644 --- a/doc/rcs/cvs.mdwn +++ b/doc/rcs/cvs.mdwn @@ -20,8 +20,9 @@ Consider creating `$HOME/.cvsrc` if you don't have one already; the plugin doesn * creates a repository, * imports `$SRCDIR` into top-level module `ikiwiki` (vendor tag IKIWIKI, release tag PRE_CVS), * configures the post-commit hook in `CVSROOT/loginfo`. -* CVS multi-directory commits happen separately; the post-commit hook sees only the first directory's changes in time for [[recentchanges|plugins/recentchanges]]. The next run of `ikiwiki --setup` will correctly re-render such a recentchanges entry. It should be possible to solve this problem with NetBSD's `commit_prep` and `log_accum` scripts (see below). ### To do -* Instead of resource-intensively scraping changesets with `cvsps`, have `ikiwiki-makerepo` set up NetBSD-like `log_accum` and `commit_prep` scripts that coalesce and keep records of commits. `cvsps` can be used as a fallback for repositories without such records. +* Have `ikiwiki-makerepo` set up NetBSD-like `log_accum` and `commit_prep` scripts that coalesce commits into changesets. Reasons: + 7. Obviates the need to scrape the repo's complete history to determine the last N changesets. (Repositories without such records can fall back on the `cvsps` and `File::ReadBackwards` code.) + 7. Arranges for ikiwiki to be run once per changeset, rather than CVS's once per committed file (!), which is a waste at best and bug-inducing at worst. (Currently, on multi-directory commits, only the first directory's changes get mentioned in [[recentchanges|plugins/recentchanges]].) * Perhaps prevent web edits from attempting to create `.../CVS/foo.mdwn` (and `.../cvs/foo.mdwn` on case-insensitive filesystems); thanks to the CVS metadata directory, the attempt will fail anyway (and much more confusingly) if we don't. -- cgit v1.2.3 From a39c6b6eac7059e4ed13dbf8a3750a79a5c9a5c8 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawnbe6oB_ecFtNYII1JN3zSggwUPUdOb8jI" Date: Sat, 26 Jun 2010 22:12:24 +0000 Subject: Add Microdata suggestion --- doc/plugins/contrib/field/discussion.mdwn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/plugins/contrib/field/discussion.mdwn b/doc/plugins/contrib/field/discussion.mdwn index 103e061e5..5f4c9b942 100644 --- a/doc/plugins/contrib/field/discussion.mdwn +++ b/doc/plugins/contrib/field/discussion.mdwn @@ -324,3 +324,5 @@ smcv's discuission of field author vs meta author above. --[[Joey]] >>> the side-effects, but use `field` as an interface to get the values of those special fields. >>> --[[KathrynAndersen]] + +I was just looking at HTML5 and wondered if the field plugin should generate the new Microdata tags (as well as the internal structures)? -- [[Will]] -- cgit v1.2.3 From 2c1c6ea48835913d53740acc375d7f0c8106b429 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Sun, 27 Jun 2010 00:12:40 +0200 Subject: Feature request, patch provided. --- doc/todo/Add_HTML_support_to_po_plugin.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 doc/todo/Add_HTML_support_to_po_plugin.mdwn (limited to 'doc') diff --git a/doc/todo/Add_HTML_support_to_po_plugin.mdwn b/doc/todo/Add_HTML_support_to_po_plugin.mdwn new file mode 100644 index 000000000..ec29e4f61 --- /dev/null +++ b/doc/todo/Add_HTML_support_to_po_plugin.mdwn @@ -0,0 +1,7 @@ +The HTML page type should be fully supported by the PO plugin: po4a's +HTML support is able to extract translatable strings and to disregard +the rest. + +This is implemented in my po branch, please review. --[[intrigeri]] + +[[!tag patch]] -- cgit v1.2.3 From 52ad4a28769b711a8465283bd1471795e662b0d2 Mon Sep 17 00:00:00 2001 From: "https://mukund.startssl.com/" Date: Sat, 26 Jun 2010 22:13:33 +0000 Subject: Add my website --- doc/ikiwikiusers.mdwn | 1 + 1 file changed, 1 insertion(+) (limited to 'doc') diff --git a/doc/ikiwikiusers.mdwn b/doc/ikiwikiusers.mdwn index 8fb348c3d..e2465108a 100644 --- a/doc/ikiwikiusers.mdwn +++ b/doc/ikiwikiusers.mdwn @@ -147,6 +147,7 @@ Personal sites and blogs * [Ertug Karamatli](http://pages.karamatli.com) * [Jonatan Walck](http://jonatan.walck.i2p/) a weblog + wiki over [I2P](http://i2p2.de/). Also [mirrored](http://jonatan.walck.se/) to the Internet a few times per day. * [Daniel Wayne Armstrong](http://circuidipity.com/) +* [Mukund](https://www.mukund.org/) Please feel free to add your own ikiwiki site! -- cgit v1.2.3 From 72ee9c720f3d99828728202c206c042727eac1b4 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawk3fIimitIcXPaVA5AHUW67Z9GVc-2wQJU" Date: Sun, 27 Jun 2010 17:21:45 +0000 Subject: --- doc/sandbox.mdwn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/sandbox.mdwn b/doc/sandbox.mdwn index 8ecaf1cb9..b8bcc62c4 100644 --- a/doc/sandbox.mdwn +++ b/doc/sandbox.mdwn @@ -1,5 +1,7 @@ This is the [[SandBox]], a page anyone can edit to try out ikiwiki (version [[!version ]]). +Test conflict. + # Header ## Subheader2 -- cgit v1.2.3 From 6e68a48b63a532369d97709dd189d233c5fd0298 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawk3fIimitIcXPaVA5AHUW67Z9GVc-2wQJU" Date: Sun, 27 Jun 2010 17:22:41 +0000 Subject: --- doc/sandbox.mdwn | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/sandbox.mdwn b/doc/sandbox.mdwn index b8bcc62c4..4c8621f1c 100644 --- a/doc/sandbox.mdwn +++ b/doc/sandbox.mdwn @@ -1,6 +1,10 @@ This is the [[SandBox]], a page anyone can edit to try out ikiwiki (version [[!version ]]). +<<<<<<< HEAD Test conflict. +======= +Testing 123. +>>>>>>> 8cc8bb52f7913e429be7e14203177ef374645718 # Header -- cgit v1.2.3