From 01e4cb1464d07afb22d22bf98116a3ed9126612b Mon Sep 17 00:00:00 2001 From: Will Uther Date: Sun, 26 Jul 2009 16:22:56 +0100 Subject: Add getsource plugin --- IkiWiki/Plugin/getsource.pm | 79 +++++++++++++++++++++++++++++++++++++++++++++ templates/page.tmpl | 3 ++ 2 files changed, 82 insertions(+) create mode 100644 IkiWiki/Plugin/getsource.pm diff --git a/IkiWiki/Plugin/getsource.pm b/IkiWiki/Plugin/getsource.pm new file mode 100644 index 000000000..4e74eaea0 --- /dev/null +++ b/IkiWiki/Plugin/getsource.pm @@ -0,0 +1,79 @@ +#!/usr/bin/perl +package IkiWiki::Plugin::getsource; + +use warnings; +use strict; +use IkiWiki; +use open qw{:utf8 :std}; + +sub import { + hook(type => "getsetup", id => "getsource", call => \&getsetup); + hook(type => "pagetemplate", id => "getsource", call => \&pagetemplate); + hook(type => "sessioncgi", id => "getsource", call => \&cgi_getsource); +} + +sub getsetup () { + return + plugin => { + safe => 1, + rebuild => 1, + }, + getsource_mimetype => { + type => "string", + example => "application/octet-stream", + description => "Mime type for returned source.", + safe => 1, + rebuild => 0, + }, +} + +sub pagetemplate (@) { + my %params=@_; + + my $page=$params{page}; + my $template=$params{template}; + + if (length $config{cgiurl}) { + $template->param(getsourceurl => IkiWiki::cgiurl(do => "getsource", page => $page)); + $template->param(have_actions => 1); + } +} + +sub cgi_getsource ($$) { + my $cgi=shift; + my $session=shift; + + # Note: we use sessioncgi rather than just cgi + # because we need $IkiWiki::pagesources{} to be + # populated. + + return unless (defined $cgi->param('do') && + $cgi->param("do") eq "getsource"); + + IkiWiki::decode_cgi_utf8($cgi); + + my $page=$cgi->param('page'); + + if ($IkiWiki::pagesources{$page}) { + + my $data = IkiWiki::readfile(IkiWiki::srcfile($IkiWiki::pagesources{$page})); + + if (! $config{getsource_mimetype}) { + $config{getsource_mimetype} = "text/plain"; + } + + print "Content-Type: $config{getsource_mimetype}\r\n"; + + print ("\r\n"); + + print $data; + + exit 0; + } + + error("Unable to find page source for page: $page"); + + exit 0; +} + +1 diff --git a/templates/page.tmpl b/templates/page.tmpl index 8622d1a01..599758cc7 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -50,6 +50,9 @@
  • History
  • + +
  • Get Source
  • +
  • Preferences
  • -- cgit v1.2.3 From eaf59e5ba940b883814c19ae64e68dea4530d992 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sun, 26 Jul 2009 16:33:12 +0100 Subject: getsource: run as plain CGI, rather than sessioncgi As I suggested when reviewing Will's code, calling loadindex() should be sufficient. --- IkiWiki/Plugin/getsource.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/IkiWiki/Plugin/getsource.pm b/IkiWiki/Plugin/getsource.pm index 4e74eaea0..2e65df950 100644 --- a/IkiWiki/Plugin/getsource.pm +++ b/IkiWiki/Plugin/getsource.pm @@ -9,7 +9,7 @@ use open qw{:utf8 :std}; sub import { hook(type => "getsetup", id => "getsource", call => \&getsetup); hook(type => "pagetemplate", id => "getsource", call => \&pagetemplate); - hook(type => "sessioncgi", id => "getsource", call => \&cgi_getsource); + hook(type => "cgi", id => "getsource", call => \&cgi_getsource); } sub getsetup () { @@ -39,9 +39,8 @@ sub pagetemplate (@) { } } -sub cgi_getsource ($$) { +sub cgi_getsource ($) { my $cgi=shift; - my $session=shift; # Note: we use sessioncgi rather than just cgi # because we need $IkiWiki::pagesources{} to be @@ -54,6 +53,8 @@ sub cgi_getsource ($$) { my $page=$cgi->param('page'); + IkiWiki::loadindex(); + if ($IkiWiki::pagesources{$page}) { my $data = IkiWiki::readfile(IkiWiki::srcfile($IkiWiki::pagesources{$page})); -- cgit v1.2.3 From 3f520da78aeda38e47b43b28023b52f321f71291 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sun, 26 Jul 2009 16:36:17 +0100 Subject: getsource: default to saying page source is in UTF-8, and make the example match the default IkiWiki mostly assumes that pages are in UTF-8; anyone this doesn't work for can override it in the setup file. --- IkiWiki/Plugin/getsource.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IkiWiki/Plugin/getsource.pm b/IkiWiki/Plugin/getsource.pm index 2e65df950..08d9d110c 100644 --- a/IkiWiki/Plugin/getsource.pm +++ b/IkiWiki/Plugin/getsource.pm @@ -20,7 +20,7 @@ sub getsetup () { }, getsource_mimetype => { type => "string", - example => "application/octet-stream", + example => "text/plain; charset=utf-8", description => "Mime type for returned source.", safe => 1, rebuild => 0, @@ -60,7 +60,7 @@ sub cgi_getsource ($) { my $data = IkiWiki::readfile(IkiWiki::srcfile($IkiWiki::pagesources{$page})); if (! $config{getsource_mimetype}) { - $config{getsource_mimetype} = "text/plain"; + $config{getsource_mimetype} = "text/plain; charset=utf-8"; } print "Content-Type: $config{getsource_mimetype}\r\n"; -- cgit v1.2.3 From 0afcec734622811b8910d3df5d102df58d429a51 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sun, 26 Jul 2009 16:45:01 +0100 Subject: getsource: turn missing pages into a 404 Also restructure so we return early on missing pages. --- IkiWiki/Plugin/getsource.pm | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/IkiWiki/Plugin/getsource.pm b/IkiWiki/Plugin/getsource.pm index 08d9d110c..6a208f1e7 100644 --- a/IkiWiki/Plugin/getsource.pm +++ b/IkiWiki/Plugin/getsource.pm @@ -55,25 +55,29 @@ sub cgi_getsource ($) { IkiWiki::loadindex(); - if ($IkiWiki::pagesources{$page}) { - - my $data = IkiWiki::readfile(IkiWiki::srcfile($IkiWiki::pagesources{$page})); - - if (! $config{getsource_mimetype}) { - $config{getsource_mimetype} = "text/plain; charset=utf-8"; - } - - print "Content-Type: $config{getsource_mimetype}\r\n"; - - print ("\r\n"); - - print $data; - - exit 0; + if (! exists $IkiWiki::pagesources{$page}) { + IkiWiki::cgi_custom_failure( + $cgi->header(-status => "404 Not Found"), + IkiWiki::misctemplate(gettext("missing page"), + "

    ". + sprintf(gettext("The page %s does not exist."), + htmllink("", "", $page)). + "

    ")); + exit; + } + + my $data = IkiWiki::readfile(IkiWiki::srcfile($IkiWiki::pagesources{$page})); + + if (! $config{getsource_mimetype}) { + $config{getsource_mimetype} = "text/plain; charset=utf-8"; } - - error("Unable to find page source for page: $page"); + print "Content-Type: $config{getsource_mimetype}\r\n"; + + print ("\r\n"); + + print $data; + exit 0; } -- cgit v1.2.3 From ea244ab7b53afbd710dab267ca9a8fb9f17cfb00 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sun, 26 Jul 2009 16:48:25 +0100 Subject: getsource: don't allow getting the source of an attachment Serving up images etc. as text/plain; charset=utf-8 is unlikely to work very well, and there's no point in having this CGI action for attachments (since they're copied into the output as-is anyway). --- IkiWiki/Plugin/getsource.pm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/IkiWiki/Plugin/getsource.pm b/IkiWiki/Plugin/getsource.pm index 6a208f1e7..1b7eb56c6 100644 --- a/IkiWiki/Plugin/getsource.pm +++ b/IkiWiki/Plugin/getsource.pm @@ -66,6 +66,17 @@ sub cgi_getsource ($) { exit; } + if (! defined pagetype($IkiWiki::pagesources{$page})) { + IkiWiki::cgi_custom_failure( + $cgi->header(-status => "403 Forbidden"), + IkiWiki::misctemplate(gettext("not a page"), + "

    ". + sprintf(gettext("%s is an attachment, not a page."), + htmllink("", "", $page)). + "

    ")); + exit; + } + my $data = IkiWiki::readfile(IkiWiki::srcfile($IkiWiki::pagesources{$page})); if (! $config{getsource_mimetype}) { -- cgit v1.2.3 From b1f31ab7cbc87a572886673e7809d5e2fc5ee491 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sun, 26 Jul 2009 16:49:48 +0100 Subject: getsource: in the default template, just say "Source" All the other actions are single words (apart from RecentChanges), and are nouns (apart from Edit); saying "Source" is consistent with "History", for instance. --- templates/page.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/page.tmpl b/templates/page.tmpl index 599758cc7..653179e5d 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -51,7 +51,7 @@
  • History
  • -
  • Get Source
  • +
  • Source
  • Preferences
  • -- cgit v1.2.3 From 2ef53b128d9f40fa998215b2809e676207050902 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sun, 26 Jul 2009 16:59:26 +0100 Subject: getsource: remove unnecessary IkiWiki:: prefixes Many variables and functions are exported. --- IkiWiki/Plugin/getsource.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/IkiWiki/Plugin/getsource.pm b/IkiWiki/Plugin/getsource.pm index 1b7eb56c6..db5614ec1 100644 --- a/IkiWiki/Plugin/getsource.pm +++ b/IkiWiki/Plugin/getsource.pm @@ -43,7 +43,7 @@ sub cgi_getsource ($) { my $cgi=shift; # Note: we use sessioncgi rather than just cgi - # because we need $IkiWiki::pagesources{} to be + # because we need %pagesources to be # populated. return unless (defined $cgi->param('do') && @@ -55,7 +55,7 @@ sub cgi_getsource ($) { IkiWiki::loadindex(); - if (! exists $IkiWiki::pagesources{$page}) { + if (! exists $pagesources{$page}) { IkiWiki::cgi_custom_failure( $cgi->header(-status => "404 Not Found"), IkiWiki::misctemplate(gettext("missing page"), @@ -66,7 +66,7 @@ sub cgi_getsource ($) { exit; } - if (! defined pagetype($IkiWiki::pagesources{$page})) { + if (! defined pagetype($pagesources{$page})) { IkiWiki::cgi_custom_failure( $cgi->header(-status => "403 Forbidden"), IkiWiki::misctemplate(gettext("not a page"), @@ -77,7 +77,7 @@ sub cgi_getsource ($) { exit; } - my $data = IkiWiki::readfile(IkiWiki::srcfile($IkiWiki::pagesources{$page})); + my $data = readfile(srcfile($pagesources{$page})); if (! $config{getsource_mimetype}) { $config{getsource_mimetype} = "text/plain; charset=utf-8"; -- cgit v1.2.3 From 70b1c2aabd0d591cbdb30765c5a7e000e993f343 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 27 Jul 2009 11:58:36 +0100 Subject: getsource: remove temporary variable --- IkiWiki/Plugin/getsource.pm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/IkiWiki/Plugin/getsource.pm b/IkiWiki/Plugin/getsource.pm index db5614ec1..e8aea2c39 100644 --- a/IkiWiki/Plugin/getsource.pm +++ b/IkiWiki/Plugin/getsource.pm @@ -77,18 +77,14 @@ sub cgi_getsource ($) { exit; } - my $data = readfile(srcfile($pagesources{$page})); - if (! $config{getsource_mimetype}) { $config{getsource_mimetype} = "text/plain; charset=utf-8"; } print "Content-Type: $config{getsource_mimetype}\r\n"; - print ("\r\n"); + print readfile(srcfile($pagesources{$page})); - print $data; - exit 0; } -- cgit v1.2.3 From 3f39e69b13851d3bed8e1cae0525d6ad8ac768cf Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sat, 1 Aug 2009 12:31:34 +0100 Subject: Document the getsource plugin --- doc/plugins/getsource.mdwn | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/plugins/getsource.mdwn diff --git a/doc/plugins/getsource.mdwn b/doc/plugins/getsource.mdwn new file mode 100644 index 000000000..4fbf4be98 --- /dev/null +++ b/doc/plugins/getsource.mdwn @@ -0,0 +1,13 @@ +[[!template id=plugin name=getsource author="[[Will_Uther|Will]]"]] + +This plugin adds a `getsource` action to the IkiWiki CGI, and a "Source" link +that uses it to display pages' source. + +Configuration for this plugin in the setup file: + +* `getsource_mimetype => "text/plain; charset=utf-8"` + + Sets the MIME type used when page source is requested. The default is + usually appropriate, but you could set this to `application/octet-stream` + to encourage browsers to download the source to a file rather than showing + it in the browser. -- cgit v1.2.3 From f5322fa912250cb2859bb63aeae419a405f74544 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sat, 1 Aug 2009 12:31:53 +0100 Subject: Mark todo/source_link as done --- debian/changelog | 1 + doc/todo/source_link.mdwn | 2 ++ 2 files changed, 3 insertions(+) diff --git a/debian/changelog b/debian/changelog index 565f19c7c..90ec2ddac 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,7 @@ ikiwiki (3.15) UNRELEASED; urgency=low * Add further build machinery to generate translated underlays from the po file, for use by wikis whose primary language is not English. * Add Danish basewiki translation by Jonas Smedegaard. + * Add getsource plugin (Will, smcv) -- Joey Hess Tue, 02 Jun 2009 17:03:41 -0400 diff --git a/doc/todo/source_link.mdwn b/doc/todo/source_link.mdwn index 9d9ec9697..a7203d06c 100644 --- a/doc/todo/source_link.mdwn +++ b/doc/todo/source_link.mdwn @@ -107,3 +107,5 @@ I just implemented this. There is one [[patch]] to the default page template, a } 1 + +[[done]] --[[smcv]] -- cgit v1.2.3 From 81ad4377e90961a46d97248844f5fa7f26be3f24 Mon Sep 17 00:00:00 2001 From: "http://schmonz.livejournal.com/" Date: Sun, 2 Aug 2009 10:22:39 -0400 Subject: response --- doc/forum/ikiwiki_over_database__63__.wiki | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/doc/forum/ikiwiki_over_database__63__.wiki b/doc/forum/ikiwiki_over_database__63__.wiki index ff123e98d..fb4d41763 100644 --- a/doc/forum/ikiwiki_over_database__63__.wiki +++ b/doc/forum/ikiwiki_over_database__63__.wiki @@ -1 +1,21 @@ Is there here any possibility to modifying ikiwiki (via plugin) for store pages in database. I'm thinking about storing pages in sqlite or mysql for serving it much faster. The idea is from sputnik.org [http://sputnik.freewisdom.org/] but with perl ;-). Could we integrate the sputnik code in ikiwiki as a solution? + +> ikiwiki generates static pages in a filesystem. It's responsible +> for editing and regenerating them, but they're served by any old +> web server. If you go to the trouble of stuffing the generated pages +> into a database, you'll need to go to further trouble to serve them +> back out somehow: write your own web server, perhaps, or a module +> for a particular web server. Either way you'll have sacrificed +> ikiwiki's interoperability, and it's not at all clear (since you're +> adding, in the best case, one layer of indirection reading the +> generated files) you'll have gained any improved page-serving +> performance. If it's source pages you want to store in a database, +> then you lose the ability to do random Unixy things to source pages, +> including managing them in a revision control system. +> +> Static HTML pages in a filesystem and the ability to do random +> Unixy things are two of the uniquely awesome features of ikiwiki. +> It's probably possible to do what you want, but it's unlikely that +> you really want it. I'd suggest you either get to know ikiwiki better, +> or choose one of the many wiki implementations that already works +> as you describe. --[[Schmonz]] -- cgit v1.2.3 From 4c21c5d1fa16972cf08583d96a05af87758e0936 Mon Sep 17 00:00:00 2001 From: "http://schmonz.livejournal.com/" Date: Sun, 2 Aug 2009 10:29:15 -0400 Subject: ugh, this is not a Markdown page --- doc/forum/ikiwiki_over_database__63__.wiki | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/doc/forum/ikiwiki_over_database__63__.wiki b/doc/forum/ikiwiki_over_database__63__.wiki index fb4d41763..b6e7266e3 100644 --- a/doc/forum/ikiwiki_over_database__63__.wiki +++ b/doc/forum/ikiwiki_over_database__63__.wiki @@ -1,21 +1,7 @@ Is there here any possibility to modifying ikiwiki (via plugin) for store pages in database. I'm thinking about storing pages in sqlite or mysql for serving it much faster. The idea is from sputnik.org [http://sputnik.freewisdom.org/] but with perl ;-). Could we integrate the sputnik code in ikiwiki as a solution? -> ikiwiki generates static pages in a filesystem. It's responsible -> for editing and regenerating them, but they're served by any old -> web server. If you go to the trouble of stuffing the generated pages -> into a database, you'll need to go to further trouble to serve them -> back out somehow: write your own web server, perhaps, or a module -> for a particular web server. Either way you'll have sacrificed -> ikiwiki's interoperability, and it's not at all clear (since you're -> adding, in the best case, one layer of indirection reading the -> generated files) you'll have gained any improved page-serving -> performance. If it's source pages you want to store in a database, -> then you lose the ability to do random Unixy things to source pages, -> including managing them in a revision control system. -> -> Static HTML pages in a filesystem and the ability to do random -> Unixy things are two of the uniquely awesome features of ikiwiki. -> It's probably possible to do what you want, but it's unlikely that -> you really want it. I'd suggest you either get to know ikiwiki better, -> or choose one of the many wiki implementations that already works -> as you describe. --[[Schmonz]] +----- + +ikiwiki generates static pages in a filesystem. It's responsible for editing and regenerating them, but they're served by any old web server. If you go to the trouble of stuffing the generated pages into a database, you'll need to go to further trouble to serve them back out somehow: write your own web server, perhaps, or a module for a particular web server. Either way you'll have sacrificed ikiwiki's interoperability, and it's not at all clear (since you're adding, in the best case, one layer of indirection reading the generated files) you'll have gained any improved page-serving performance. If it's source pages you want to store in a database, then you lose the ability to do random Unixy things to source pages, including managing them in a revision control system. + +Static HTML pages in a filesystem and the ability to do random Unixy things are two of the uniquely awesome features of ikiwiki. It's probably possible to do what you want, but it's unlikely that you really want it. I'd suggest you either get to know ikiwiki better, or choose one of the many wiki implementations that already works as you describe. --[[Schmonz]] -- cgit v1.2.3 From acc3a2b53f346ea22ec4ba097bcf718f8df2460f Mon Sep 17 00:00:00 2001 From: "http://schmonz.livejournal.com/" Date: Sun, 2 Aug 2009 10:44:17 -0400 Subject: sure maybe, but not with ikiwiki itself --- doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn b/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn index e50eb4e1c..51b91d30d 100644 --- a/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn +++ b/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn @@ -3,3 +3,12 @@ Hi, Can you give me a hint for showing if one user is logged or not. If user is logged, then I want to display the user name, as wikipedia or dokuwiki for example. Regards, Xan. + +> ikiwiki doesn't serve pages, so this can't be done inside ikiwiki. +> For certain kinds of authentication it might be possible anyway. +> For instance, if you're using [[plugins/httpauth]] exclusively and +> your server has PHP, you could put ` ?>` in all the relevant ikiwiki [[templates]] and arrange for the +> generated HTML pages to get run through the PHP interpreter. The trick +> would work differently with other [[plugins/type/auth]] plugins, +> if at all. -- cgit v1.2.3 From e34f3dc8e61ef53adb83879608a3a552887666a3 Mon Sep 17 00:00:00 2001 From: "http://schmonz.livejournal.com/" Date: Sun, 2 Aug 2009 10:46:27 -0400 Subject: love, me --- doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn b/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn index 51b91d30d..5ebde2cce 100644 --- a/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn +++ b/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn @@ -11,4 +11,4 @@ Xan. > ?>` in all the relevant ikiwiki [[templates]] and arrange for the > generated HTML pages to get run through the PHP interpreter. The trick > would work differently with other [[plugins/type/auth]] plugins, -> if at all. +> if at all. --[[Schmonz]] -- cgit v1.2.3 From efd0a66a70ca09241d11360855b0aab904bfb524 Mon Sep 17 00:00:00 2001 From: xan Date: Sun, 2 Aug 2009 10:50:16 -0400 Subject: --- doc/forum/ikiwiki_over_database__63__.wiki | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/forum/ikiwiki_over_database__63__.wiki b/doc/forum/ikiwiki_over_database__63__.wiki index b6e7266e3..a70f9c989 100644 --- a/doc/forum/ikiwiki_over_database__63__.wiki +++ b/doc/forum/ikiwiki_over_database__63__.wiki @@ -5,3 +5,7 @@ Is there here any possibility to modifying ikiwiki (via plugin) for store pages ikiwiki generates static pages in a filesystem. It's responsible for editing and regenerating them, but they're served by any old web server. If you go to the trouble of stuffing the generated pages into a database, you'll need to go to further trouble to serve them back out somehow: write your own web server, perhaps, or a module for a particular web server. Either way you'll have sacrificed ikiwiki's interoperability, and it's not at all clear (since you're adding, in the best case, one layer of indirection reading the generated files) you'll have gained any improved page-serving performance. If it's source pages you want to store in a database, then you lose the ability to do random Unixy things to source pages, including managing them in a revision control system. Static HTML pages in a filesystem and the ability to do random Unixy things are two of the uniquely awesome features of ikiwiki. It's probably possible to do what you want, but it's unlikely that you really want it. I'd suggest you either get to know ikiwiki better, or choose one of the many wiki implementations that already works as you describe. --[[Schmonz]] + +--- + +Thanks, [[Schmonz]]. You clarify me much things,.... Xan. -- cgit v1.2.3 From d819fd6b04615adb1ccf40a5d49eb75178245c3a Mon Sep 17 00:00:00 2001 From: xan Date: Sun, 2 Aug 2009 10:51:31 -0400 Subject: --- doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn b/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn index 5ebde2cce..04f6cc9b8 100644 --- a/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn +++ b/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn @@ -12,3 +12,5 @@ Xan. > generated HTML pages to get run through the PHP interpreter. The trick > would work differently with other [[plugins/type/auth]] plugins, > if at all. --[[Schmonz]] + +>> Thanks a lot, Xan. -- cgit v1.2.3 From baee2aa36b987ec6f75738570fa3f46030484f76 Mon Sep 17 00:00:00 2001 From: dave Date: Sun, 2 Aug 2009 13:35:04 -0400 Subject: --- doc/tips/mathopd.mdwn | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/tips/mathopd.mdwn diff --git a/doc/tips/mathopd.mdwn b/doc/tips/mathopd.mdwn new file mode 100644 index 000000000..ebcff995e --- /dev/null +++ b/doc/tips/mathopd.mdwn @@ -0,0 +1,10 @@ +When using [mathopd](http://www.mathopd.org) to serve ikiwiki, be careful of your Umask settings in the mathopd.conf. + +With `Umask 026` in mathopd.conf, editing pages would result in the following errors and a 404 page when the wiki tried to take me to the updated page. + + append_indexes: cannot open .../[destdir]/[outputfile].html + open: Permission denied + +With `Umask 022` in mathopd.conf, editing pages works. + +Hopefully this prevents someone else from spending ~2 hours figuring out why this wouldn't work. ;) -- cgit v1.2.3 From 6810e5feaa072755bc2beebc80b923f2420004cf Mon Sep 17 00:00:00 2001 From: dave Date: Sun, 2 Aug 2009 13:37:17 -0400 Subject: rename tips/mathopd.mdwn to tips/mathopd_permissions.mdwn --- doc/tips/mathopd.mdwn | 10 ---------- doc/tips/mathopd_permissions.mdwn | 10 ++++++++++ 2 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 doc/tips/mathopd.mdwn create mode 100644 doc/tips/mathopd_permissions.mdwn diff --git a/doc/tips/mathopd.mdwn b/doc/tips/mathopd.mdwn deleted file mode 100644 index ebcff995e..000000000 --- a/doc/tips/mathopd.mdwn +++ /dev/null @@ -1,10 +0,0 @@ -When using [mathopd](http://www.mathopd.org) to serve ikiwiki, be careful of your Umask settings in the mathopd.conf. - -With `Umask 026` in mathopd.conf, editing pages would result in the following errors and a 404 page when the wiki tried to take me to the updated page. - - append_indexes: cannot open .../[destdir]/[outputfile].html - open: Permission denied - -With `Umask 022` in mathopd.conf, editing pages works. - -Hopefully this prevents someone else from spending ~2 hours figuring out why this wouldn't work. ;) diff --git a/doc/tips/mathopd_permissions.mdwn b/doc/tips/mathopd_permissions.mdwn new file mode 100644 index 000000000..ebcff995e --- /dev/null +++ b/doc/tips/mathopd_permissions.mdwn @@ -0,0 +1,10 @@ +When using [mathopd](http://www.mathopd.org) to serve ikiwiki, be careful of your Umask settings in the mathopd.conf. + +With `Umask 026` in mathopd.conf, editing pages would result in the following errors and a 404 page when the wiki tried to take me to the updated page. + + append_indexes: cannot open .../[destdir]/[outputfile].html + open: Permission denied + +With `Umask 022` in mathopd.conf, editing pages works. + +Hopefully this prevents someone else from spending ~2 hours figuring out why this wouldn't work. ;) -- cgit v1.2.3 From 595c1d2a742a141db797a80b9643aa364e66ee8a Mon Sep 17 00:00:00 2001 From: dave Date: Sun, 2 Aug 2009 13:40:06 -0400 Subject: --- doc/tips/mathopd_permissions.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tips/mathopd_permissions.mdwn b/doc/tips/mathopd_permissions.mdwn index ebcff995e..52a8767cc 100644 --- a/doc/tips/mathopd_permissions.mdwn +++ b/doc/tips/mathopd_permissions.mdwn @@ -1,6 +1,6 @@ When using [mathopd](http://www.mathopd.org) to serve ikiwiki, be careful of your Umask settings in the mathopd.conf. -With `Umask 026` in mathopd.conf, editing pages would result in the following errors and a 404 page when the wiki tried to take me to the updated page. +With `Umask 026` in mathopd.conf, editing pages resulted in the following errors and a 404 page when the wiki tried to take me to the updated page. append_indexes: cannot open .../[destdir]/[outputfile].html open: Permission denied -- cgit v1.2.3 From 91ec7b17208d7aa58408ad765231e2b62337f232 Mon Sep 17 00:00:00 2001 From: "http://schmonz.livejournal.com/" Date: Sun, 2 Aug 2009 14:36:56 -0400 Subject: new CVS locking weirdness and workaround --- doc/post-commit/discussion.mdwn | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/post-commit/discussion.mdwn b/doc/post-commit/discussion.mdwn index 6ae0d9bcb..c78709e94 100644 --- a/doc/post-commit/discussion.mdwn +++ b/doc/post-commit/discussion.mdwn @@ -116,3 +116,8 @@ Can you offer an educated guess what's going wrong here? --[[Schmonz]] >> process, so you could just use a temporary list of things to add. >> --[[Joey]] +>>> Thanks for the comments. Attempting to set up a wiki on a different system with a different version of `cvs`, I've encountered a new locking problem within CVS: `cvs commit` takes a write lock, post-commit ikiwiki calls `rcs_update()`, `cvs update` wants a read lock and blocks. The easiest fix I can think of is to make `cvs commit` return and relinquish its lock -- so instead of my wrapper script `exec`ing ikiwiki's post-commit hook, I amp it off and exit 0. Seems to do the trick and, if I grok ikiwiki's behavior here, is not dangerous. (Beats me why my development `cvs` doesn't behave the same WRT locking.) + +>>> I was all set to take your third suggestion, but now that there's more than one CVS oddity fixed trivially in a wrapper script, I think I prefer doing it that way. + +>>> I'd be glad for the CVS plugin to be included in ikiwiki, if and when you deem it ready. Please let me know what needs to be done for that to happen. --[[Schmonz]] -- cgit v1.2.3 From cf3ab205e8104035bdea74d380bd6c5670fb0036 Mon Sep 17 00:00:00 2001 From: "http://schmonz.livejournal.com/" Date: Mon, 3 Aug 2009 02:56:42 -0400 Subject: note Perl module dependencies --- doc/plugins/contrib/cvs.mdwn | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/plugins/contrib/cvs.mdwn b/doc/plugins/contrib/cvs.mdwn index 1ff71d274..727c3524a 100644 --- a/doc/plugins/contrib/cvs.mdwn +++ b/doc/plugins/contrib/cvs.mdwn @@ -10,6 +10,7 @@ This plugin allows ikiwiki to use [[!wikipedia desc="CVS" Concurrent Versions Sy * creates a small post-commit wrapper to prevent `cvs add ` from being seen by ikiwiki's [[post-commit]] hook, * configures the wrapper itself as a post-commit hook in `CVSROOT/loginfo`. * [`cvsps`](http://www.cobite.com/cvsps/) is required (`rcs_recentchanges()` and `rcs_diff()` need it to work). +* [[!cpan IPC::Cmd]] and [[!cpan String::ShellQuote]] are required (to safely keep `cvs` quiet and to safely escape commit messages, respectively). * 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 might be possible to solve this problem with scripts like `commit_prep` and `log_accum` from CVS contrib. * Due to the name of CVS's metadata directories, it's impossible to create `.../CVS/foo.mdwn`. On case-insensitive filesystems it's also impossible to create `.../cvs/foo.mdwn`. * No testing or special-casing has been done with [[attachments|plugins/attachment]], but they'll probably need `cvs add -kb`. -- cgit v1.2.3 From 9468c553e1ee8d484e896bef4c5abbeda775cabf Mon Sep 17 00:00:00 2001 From: "http://schmonz.livejournal.com/" Date: Mon, 3 Aug 2009 03:23:42 -0400 Subject: maybe prevent trying to create .../CVS/whatever.mdwn --- doc/plugins/contrib/cvs.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/plugins/contrib/cvs.mdwn b/doc/plugins/contrib/cvs.mdwn index 727c3524a..fc5afebfd 100644 --- a/doc/plugins/contrib/cvs.mdwn +++ b/doc/plugins/contrib/cvs.mdwn @@ -12,7 +12,7 @@ This plugin allows ikiwiki to use [[!wikipedia desc="CVS" Concurrent Versions Sy * [`cvsps`](http://www.cobite.com/cvsps/) is required (`rcs_recentchanges()` and `rcs_diff()` need it to work). * [[!cpan IPC::Cmd]] and [[!cpan String::ShellQuote]] are required (to safely keep `cvs` quiet and to safely escape commit messages, respectively). * 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 might be possible to solve this problem with scripts like `commit_prep` and `log_accum` from CVS contrib. -* Due to the name of CVS's metadata directories, it's impossible to create `.../CVS/foo.mdwn`. On case-insensitive filesystems it's also impossible to create `.../cvs/foo.mdwn`. +* Due to the name of CVS's metadata directories, it's impossible to create `.../CVS/foo.mdwn`. On case-insensitive filesystems it's also impossible to create `.../cvs/foo.mdwn`. Since the failure can have confusing effects on one's CVS checkout, perhaps the web interface should prevent the attempt. * No testing or special-casing has been done with [[attachments|plugins/attachment]], but they'll probably need `cvs add -kb`. Having a `$HOME/.cvsrc` isn't necessary. Sure does make using CVS more livable, though. Here's a good general-purpose one: -- cgit v1.2.3 From b188a25e152dec8e0515b1f69bcafe67f540ca0a Mon Sep 17 00:00:00 2001 From: "http://smcv.pseudorandom.co.uk/" Date: Mon, 3 Aug 2009 06:01:50 -0400 Subject: can be done with Javascript? --- doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn b/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn index 04f6cc9b8..ec3ca4138 100644 --- a/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn +++ b/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn @@ -14,3 +14,11 @@ Xan. > if at all. --[[Schmonz]] >> Thanks a lot, Xan. + +>>> Another possible trick would be to use some Javascript to make a +>>> "who am I?" AJAX request to the CGI (the CGI would receive the +>>> session cookie, if any, and be able to answer). Obviously, this +>>> wouldn't work for users who've disabled Javascript, but since it's +>>> non-essential, that's not so bad. You'd need to +>>> [[write_a_plugin|plugins/write]] to add a suitable CGI action, +>>> perhaps ?do=whoami, and insert the Javascript. --[[smcv]] -- cgit v1.2.3 From d55fbc812bbf4a167dcb92b10895fa38033af958 Mon Sep 17 00:00:00 2001 From: "http://schmonz.livejournal.com/" Date: Mon, 3 Aug 2009 12:54:13 -0400 Subject: response --- doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn b/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn index ec3ca4138..239f78f5d 100644 --- a/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn +++ b/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn @@ -22,3 +22,8 @@ Xan. >>> non-essential, that's not so bad. You'd need to >>> [[write_a_plugin|plugins/write]] to add a suitable CGI action, >>> perhaps ?do=whoami, and insert the Javascript. --[[smcv]] + +>>>> Cool idea. A similar trick (I first saw it +>>>> [here](http://www.peej.co.uk/articles/http-auth-with-html-forms.html)) +>>>> could be used to provide a [[plugins/passwordauth]]-like login form +>>>> for [[plugins/httpauth]]. -- cgit v1.2.3 From 71f403a438b9b1e9e57bca55a02fe0fe5f4692e4 Mon Sep 17 00:00:00 2001 From: "http://schmonz.livejournal.com/" Date: Mon, 3 Aug 2009 13:27:11 -0400 Subject: whoops, resolve --- doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn b/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn index 239f78f5d..83061cdab 100644 --- a/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn +++ b/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn @@ -26,4 +26,4 @@ Xan. >>>> Cool idea. A similar trick (I first saw it >>>> [here](http://www.peej.co.uk/articles/http-auth-with-html-forms.html)) >>>> could be used to provide a [[plugins/passwordauth]]-like login form ->>>> for [[plugins/httpauth]]. +>>>> for [[plugins/httpauth]]. --[[Schmonz]] -- cgit v1.2.3 From bc0eec4633828e69f0c03a5c3befbf34898deba3 Mon Sep 17 00:00:00 2001 From: j-ali Date: Tue, 4 Aug 2009 05:28:45 -0400 Subject: --- doc/bugs/post-commit_hangs.mdwn | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/bugs/post-commit_hangs.mdwn diff --git a/doc/bugs/post-commit_hangs.mdwn b/doc/bugs/post-commit_hangs.mdwn new file mode 100644 index 000000000..d6ea841ff --- /dev/null +++ b/doc/bugs/post-commit_hangs.mdwn @@ -0,0 +1 @@ +I installed ikiwiki v3.14159 in /usr/local from tarball (/usr contains an older version). Having done so, and used ikiwiki-transition to update setup file, the post commit hook is now blocking in flock (as seen by ps). I should also mention that I added the goodstuff, attachment and remove plugins (which was the purpose of upgrading to v3). Any clues as how to debug/fix gratefully received. The wiki is publically viewable at wiki.sgcm.org.uk if that helps. -- cgit v1.2.3 From c3a66316e0e44921439d98258f945a2fd2d679ca Mon Sep 17 00:00:00 2001 From: j-ali Date: Tue, 4 Aug 2009 05:41:07 -0400 Subject: --- doc/bugs/post-commit_hangs.mdwn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/bugs/post-commit_hangs.mdwn b/doc/bugs/post-commit_hangs.mdwn index d6ea841ff..b6245bcd8 100644 --- a/doc/bugs/post-commit_hangs.mdwn +++ b/doc/bugs/post-commit_hangs.mdwn @@ -1 +1,3 @@ +# post-commit hangs + I installed ikiwiki v3.14159 in /usr/local from tarball (/usr contains an older version). Having done so, and used ikiwiki-transition to update setup file, the post commit hook is now blocking in flock (as seen by ps). I should also mention that I added the goodstuff, attachment and remove plugins (which was the purpose of upgrading to v3). Any clues as how to debug/fix gratefully received. The wiki is publically viewable at wiki.sgcm.org.uk if that helps. -- cgit v1.2.3 From cae559f677c915519770e20888186cd6ad186931 Mon Sep 17 00:00:00 2001 From: "http://velmont.no/" Date: Tue, 4 Aug 2009 08:18:06 -0400 Subject: --- doc/index.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/index.mdwn b/doc/index.mdwn index 93526c42c..d8d90e508 100644 --- a/doc/index.mdwn +++ b/doc/index.mdwn @@ -1,4 +1,4 @@ -Ikiwiki is a **wiki compiler**. It converts wiki pages into HTML pages +Ikiwiki is a **wiki compiler** written in Perl. It converts wiki pages into HTML pages suitable for publishing on a website. Ikiwiki stores pages and history in a [[revision_control_system|rcs]] such as [[Subversion|rcs/svn]] or [[rcs/Git]]. There are many other [[features]], including support for -- cgit v1.2.3 From e3c944ae00f7250bdff9e8d2bf07a55b1d72a0e8 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 4 Aug 2009 13:33:27 -0400 Subject: Revert "written in perl" This reverts commit cae559f677c915519770e20888186cd6ad186931. Ikiwiki's implementation language is not so important as to appear in the first, key sentence of its website. The language is already documented elsewhere, as in the install page. --- doc/index.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/index.mdwn b/doc/index.mdwn index d8d90e508..93526c42c 100644 --- a/doc/index.mdwn +++ b/doc/index.mdwn @@ -1,4 +1,4 @@ -Ikiwiki is a **wiki compiler** written in Perl. It converts wiki pages into HTML pages +Ikiwiki is a **wiki compiler**. It converts wiki pages into HTML pages suitable for publishing on a website. Ikiwiki stores pages and history in a [[revision_control_system|rcs]] such as [[Subversion|rcs/svn]] or [[rcs/Git]]. There are many other [[features]], including support for -- cgit v1.2.3 From a3959743b6b4e1b143d227aef8508f1606a59cff Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 4 Aug 2009 13:37:14 -0400 Subject: more info needed --- doc/bugs/post-commit_hangs.mdwn | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/bugs/post-commit_hangs.mdwn b/doc/bugs/post-commit_hangs.mdwn index b6245bcd8..a091446de 100644 --- a/doc/bugs/post-commit_hangs.mdwn +++ b/doc/bugs/post-commit_hangs.mdwn @@ -1,3 +1,7 @@ # post-commit hangs I installed ikiwiki v3.14159 in /usr/local from tarball (/usr contains an older version). Having done so, and used ikiwiki-transition to update setup file, the post commit hook is now blocking in flock (as seen by ps). I should also mention that I added the goodstuff, attachment and remove plugins (which was the purpose of upgrading to v3). Any clues as how to debug/fix gratefully received. The wiki is publically viewable at wiki.sgcm.org.uk if that helps. + +> It's blocking when you do what? Save a page from the web? Make a commit +> to the underlaying VCS? Which VCS? These are all different code paths.. +> --[[Joey]] -- cgit v1.2.3 From 733d1773adfd5146cdf8ddf90338979a41665f24 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 4 Aug 2009 13:40:22 -0400 Subject: responses --- doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn b/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn index 83061cdab..be9854a08 100644 --- a/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn +++ b/doc/forum/appear_if_you_are_login_or_not_in_a_page.mdwn @@ -23,7 +23,14 @@ Xan. >>> [[write_a_plugin|plugins/write]] to add a suitable CGI action, >>> perhaps ?do=whoami, and insert the Javascript. --[[smcv]] +>>>> It's an idea, but you're trading off a serious speed hit for a very +>>>> minor thing. --[[Joey]] + >>>> Cool idea. A similar trick (I first saw it >>>> [here](http://www.peej.co.uk/articles/http-auth-with-html-forms.html)) >>>> could be used to provide a [[plugins/passwordauth]]-like login form >>>> for [[plugins/httpauth]]. --[[Schmonz]] + +>>>>> I always assumed the entire reason someone might want to use the +>>>>> httpauth plugin is to avoid nasty site-specific login forms.. +>>>>> --[[Joey]] -- cgit v1.2.3 From e98e85ad751df94ff821c40f0dbd6d52e8fa64ae Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 4 Aug 2009 13:46:02 -0400 Subject: update with a few of out newer features --- doc/features.mdwn | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/features.mdwn b/doc/features.mdwn index ff341d2cc..3925d78ef 100644 --- a/doc/features.mdwn +++ b/doc/features.mdwn @@ -16,6 +16,10 @@ changes via [[Subversion|rcs/svn]], [[rcs/git]], or any of a number of other ikiwiki can be run from a [[post-commit]] hook to update your wiki immediately whenever you commit a change using the RCS. +It's even possible to securely let +[[anonymous_users_git_push_changes|tips/untrusted_git_push]] +to the wiki. + Note that ikiwiki does not require a RCS to function. If you want to run a simple wiki without page history, it can do that too. @@ -142,7 +146,8 @@ authentication, or other methods implemented via plugins. Thanks to subpages, every page can easily and automatically have a /Discussion subpage. By default, these links are included in the -[[templates]] for each page. +[[templates]] for each page. If you prefer blog-syle +[[plugins/comments]], that is available too. ### Edit controls @@ -161,6 +166,11 @@ Well, sorta. Rather than implementing YA history browser, it can link to ikiwiki can use the xapian search engine to add powerful full text [[plugins/search]] capabilities to your wiki. +### Translation via po files + +The [[plugins/po]] plugin allows translating individual wiki pages using +standard `po` files. + ### [[w3mmode]] Can be set up so that w3m can be used to browse a wiki and edit pages -- cgit v1.2.3 From a7dae30074f2918893e23af103658a8594621158 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 4 Aug 2009 13:48:38 -0400 Subject: thought 2 --- doc/bugs/post-commit_hangs.mdwn | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/bugs/post-commit_hangs.mdwn b/doc/bugs/post-commit_hangs.mdwn index a091446de..af40a3cee 100644 --- a/doc/bugs/post-commit_hangs.mdwn +++ b/doc/bugs/post-commit_hangs.mdwn @@ -5,3 +5,6 @@ I installed ikiwiki v3.14159 in /usr/local from tarball (/usr contains an older > It's blocking when you do what? Save a page from the web? Make a commit > to the underlaying VCS? Which VCS? These are all different code paths.. > --[[Joey]] + +> Also, how have you arranged to keep it from seeing the installation in /usr? Perl could well be loading +> modules from the old installation, and if it's one with a different locking strategy that would explain your problem. --[[Joey]] -- cgit v1.2.3 From ba64c720fe57b4c49e3a0757facd1ca2c85eb2e2 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 4 Aug 2009 13:50:52 -0400 Subject: mention ikiwiki's own umask setting --- doc/tips/mathopd_permissions.mdwn | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/tips/mathopd_permissions.mdwn b/doc/tips/mathopd_permissions.mdwn index 52a8767cc..c0425b9ca 100644 --- a/doc/tips/mathopd_permissions.mdwn +++ b/doc/tips/mathopd_permissions.mdwn @@ -8,3 +8,8 @@ With `Umask 026` in mathopd.conf, editing pages resulted in the following errors With `Umask 022` in mathopd.conf, editing pages works. Hopefully this prevents someone else from spending ~2 hours figuring out why this wouldn't work. ;) + +> More generally, if your web server uses a nonstandard umask +> or you're getting permissions related problems in the cgi log +> when using ikiwiki, you can force ikiwiki to use a sane umask +> via the `umask` setting in ikiwiki's own setup file. --[[Joey]] -- cgit v1.2.3 From 264e82fc677a58a288fa9ab004bcdfe9e5bfc1d5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 4 Aug 2009 13:53:50 -0400 Subject: ikiwiki is so sexy it doesn't have to say that it is --- doc/ikiwiki_is_so_sexy__33__.mdwn | 1 - 1 file changed, 1 deletion(-) delete mode 100644 doc/ikiwiki_is_so_sexy__33__.mdwn diff --git a/doc/ikiwiki_is_so_sexy__33__.mdwn b/doc/ikiwiki_is_so_sexy__33__.mdwn deleted file mode 100644 index f59b664c2..000000000 --- a/doc/ikiwiki_is_so_sexy__33__.mdwn +++ /dev/null @@ -1 +0,0 @@ -Yes it is! -- cgit v1.2.3 From 3f33d3979c89610e1c8514c71c887acfa1c3ccac Mon Sep 17 00:00:00 2001 From: j-ali Date: Tue, 4 Aug 2009 16:18:49 -0400 Subject: --- doc/bugs/post-commit_hangs.mdwn | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/bugs/post-commit_hangs.mdwn b/doc/bugs/post-commit_hangs.mdwn index af40a3cee..c28a34040 100644 --- a/doc/bugs/post-commit_hangs.mdwn +++ b/doc/bugs/post-commit_hangs.mdwn @@ -6,5 +6,11 @@ I installed ikiwiki v3.14159 in /usr/local from tarball (/usr contains an older > to the underlaying VCS? Which VCS? These are all different code paths.. > --[[Joey]] +>> It's blocking when I run "ikiwiki --setup ikiwiki.setup" (which calls hg update, which calls ikiwiki --post-commit). +>> Hmm, maybe it's the recursive call to ikiwiki which is the problem. +>> The underlying VCS is mercurial. --Ali + > Also, how have you arranged to keep it from seeing the installation in /usr? Perl could well be loading > modules from the old installation, and if it's one with a different locking strategy that would explain your problem. --[[Joey]] + +>> Good point. Not knowing perl, I just assumed /usr/local would take precedence. I've now used "dpkg -r ikiwiki" to remove the problem. --Ali -- cgit v1.2.3 From a41d8177d4769daf20ea88baddedcc3cbcd56c21 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 4 Aug 2009 16:27:28 -0400 Subject: response --- doc/bugs/post-commit_hangs.mdwn | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/bugs/post-commit_hangs.mdwn b/doc/bugs/post-commit_hangs.mdwn index c28a34040..a19441b92 100644 --- a/doc/bugs/post-commit_hangs.mdwn +++ b/doc/bugs/post-commit_hangs.mdwn @@ -10,6 +10,16 @@ I installed ikiwiki v3.14159 in /usr/local from tarball (/usr contains an older >> Hmm, maybe it's the recursive call to ikiwiki which is the problem. >> The underlying VCS is mercurial. --Ali +>>> You're not supposed to run ikiwiki -setup manually in your post commit hook. +>>> Doing so will certianly lead to a locking problem; it also forces ikiwiki to rebuild +>>> the entire wiki anytime a single page changes, which is very inefficient! +>>> +>>> Instead, you should use the `mercurial_wrapper` setting +>>> in the setup file, which will make ikiwiki generate a small +>>> executable expressly designed to be run at post commit time. +>>> Or, you can use the `--post-commit` option, as documented +>>> in [[rcs/mecurial]] --[[Joey]] + > Also, how have you arranged to keep it from seeing the installation in /usr? Perl could well be loading > modules from the old installation, and if it's one with a different locking strategy that would explain your problem. --[[Joey]] -- cgit v1.2.3 From 7096ffaa529a0c26490770c5a882b0f96af8ecd2 Mon Sep 17 00:00:00 2001 From: j-ali Date: Tue, 4 Aug 2009 16:34:52 -0400 Subject: --- doc/bugs/post-commit_hangs.mdwn | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/bugs/post-commit_hangs.mdwn b/doc/bugs/post-commit_hangs.mdwn index a19441b92..1e16bc097 100644 --- a/doc/bugs/post-commit_hangs.mdwn +++ b/doc/bugs/post-commit_hangs.mdwn @@ -20,6 +20,10 @@ I installed ikiwiki v3.14159 in /usr/local from tarball (/usr contains an older >>> Or, you can use the `--post-commit` option, as documented >>> in [[rcs/mecurial]] --[[Joey]] +>>>> I don't run ikiwiki --setup in the commit hook; I run ikiwiki --post-commit (as mentioned above). +>>>> I'm trying to run ikiwiki --setup from the command line after modifying the setup file. +>>>> ikiwiki --setup is calling hg update, which is calling ikiwiki --post-commit. Am I not supposed to do that? --Ali + > Also, how have you arranged to keep it from seeing the installation in /usr? Perl could well be loading > modules from the old installation, and if it's one with a different locking strategy that would explain your problem. --[[Joey]] -- cgit v1.2.3 From e46ea2a687b97e96c54e21169f41f14f9b21728c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 4 Aug 2009 16:38:22 -0400 Subject: response --- doc/bugs/post-commit_hangs.mdwn | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/bugs/post-commit_hangs.mdwn b/doc/bugs/post-commit_hangs.mdwn index 1e16bc097..ee7f881d5 100644 --- a/doc/bugs/post-commit_hangs.mdwn +++ b/doc/bugs/post-commit_hangs.mdwn @@ -24,6 +24,9 @@ I installed ikiwiki v3.14159 in /usr/local from tarball (/usr contains an older >>>> I'm trying to run ikiwiki --setup from the command line after modifying the setup file. >>>> ikiwiki --setup is calling hg update, which is calling ikiwiki --post-commit. Am I not supposed to do that? --Ali +>>>>> No, I don't think that hg update should call ikiwiki anything. The +>>>>> [[hgrc_example|rcs/mercurial]] doesn't seem to configure it to do that? --[[Joey]] + > Also, how have you arranged to keep it from seeing the installation in /usr? Perl could well be loading > modules from the old installation, and if it's one with a different locking strategy that would explain your problem. --[[Joey]] -- cgit v1.2.3 From 2b98b1a0c1075a28ae43259b6591df25a4b2029c Mon Sep 17 00:00:00 2001 From: j-ali Date: Tue, 4 Aug 2009 16:45:30 -0400 Subject: --- doc/bugs/post-commit_hangs.mdwn | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/bugs/post-commit_hangs.mdwn b/doc/bugs/post-commit_hangs.mdwn index ee7f881d5..a013f7919 100644 --- a/doc/bugs/post-commit_hangs.mdwn +++ b/doc/bugs/post-commit_hangs.mdwn @@ -27,6 +27,18 @@ I installed ikiwiki v3.14159 in /usr/local from tarball (/usr contains an older >>>>> No, I don't think that hg update should call ikiwiki anything. The >>>>> [[hgrc_example|rcs/mercurial]] doesn't seem to configure it to do that? --[[Joey]] +>>>>>> Ok, I'm not sure I understand what's going on, but my problem is solved. +>>>>>> +>>>>>> My hgrc used to say: +>>>>>> +>>>>>> [hooks] +>>>>>> +>>>>>> incoming.update = hg up +>>>>>> +>>>>>> update.ikiwiki = ikiwiki --setup /home/ikiwiki/ikiwiki.setup --post-commit +>>>>>> +>>>>>> I've now changed it to match the example page and it works. Thanks --Ali. + > Also, how have you arranged to keep it from seeing the installation in /usr? Perl could well be loading > modules from the old installation, and if it's one with a different locking strategy that would explain your problem. --[[Joey]] -- cgit v1.2.3 From 4a2a37e02e2a07de0d3c22265392776f4fdb7676 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 4 Aug 2009 16:52:12 -0400 Subject: close --- doc/bugs/post-commit_hangs.mdwn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/bugs/post-commit_hangs.mdwn b/doc/bugs/post-commit_hangs.mdwn index a013f7919..32820d886 100644 --- a/doc/bugs/post-commit_hangs.mdwn +++ b/doc/bugs/post-commit_hangs.mdwn @@ -39,6 +39,8 @@ I installed ikiwiki v3.14159 in /usr/local from tarball (/usr contains an older >>>>>> >>>>>> I've now changed it to match the example page and it works. Thanks --Ali. +>>>>>>> [[done]] + > Also, how have you arranged to keep it from seeing the installation in /usr? Perl could well be loading > modules from the old installation, and if it's one with a different locking strategy that would explain your problem. --[[Joey]] -- cgit v1.2.3 From 08d8c36a0bc6aa55df2df9341ddca42fc25f09a3 Mon Sep 17 00:00:00 2001 From: "http://adam.shand.net/" Date: Wed, 5 Aug 2009 06:02:00 -0400 Subject: --- .../HTML_for_parentlinks_makes_theming_hard.mdwn | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 doc/bugs/HTML_for_parentlinks_makes_theming_hard.mdwn diff --git a/doc/bugs/HTML_for_parentlinks_makes_theming_hard.mdwn b/doc/bugs/HTML_for_parentlinks_makes_theming_hard.mdwn new file mode 100644 index 000000000..523042842 --- /dev/null +++ b/doc/bugs/HTML_for_parentlinks_makes_theming_hard.mdwn @@ -0,0 +1,42 @@ +I'm trying to make a pretty theme for ikiwiki and I'm making progress (or at least I think I am :-). However I've noticed an issue when it comes to theming. On the front page the wiki name is put inside the "title" span and on all the other pages, it's put in the "parentlinks" span. See here: + +From [my dev home page](http://adam.shand.net/iki-dev/): + + +<div class="header"> +<span> +<span class="parentlinks"> + +</span> +<span class="title"> +adam.shand.net/iki-dev +</span> +</span><!--.header--> + +</div> + + +From a sub-page of [my dev home page](http://adam.shand.net/iki-dev/recipes/navajo_fry_bread/): + + +<div class="header"> +<span> +<span class="parentlinks"> + +<a href="../">adam.shand.net/iki-dev/ + +</span> +<span class="title"> +recipes +</span> +</span><!--.header--> + +</div> + + +I understand the logic behind doing this (on the front page it is the title as well as the name of the wiki) however if you want to do something different with the title of a page vs. the name of the wiki it makes things pretty tricky. + +I'll just modify the templates for my own site but I thought I'd report it as a bug in the hopes that it will be useful to others. + +Cheers, +Adam. -- cgit v1.2.3 From 389367854bce16f3f63d47262c594ed4d31373a3 Mon Sep 17 00:00:00 2001 From: "http://adam.shand.net/" Date: Wed, 5 Aug 2009 06:06:18 -0400 Subject: --- doc/bugs/HTML_for_parentlinks_makes_theming_hard.mdwn | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/bugs/HTML_for_parentlinks_makes_theming_hard.mdwn b/doc/bugs/HTML_for_parentlinks_makes_theming_hard.mdwn index 523042842..0cbef403d 100644 --- a/doc/bugs/HTML_for_parentlinks_makes_theming_hard.mdwn +++ b/doc/bugs/HTML_for_parentlinks_makes_theming_hard.mdwn @@ -40,3 +40,6 @@ I'll just modify the templates for my own site but I thought I'd report it as a Cheers, Adam. + +---- +> I just noticed that it's also different on the comments, preferences and edit pages. I'll come up with a diff and see what you guys think. -- Adam. -- cgit v1.2.3 From 34e5f5eba3411855c9d3c733b6f11aa935f3d435 Mon Sep 17 00:00:00 2001 From: Jogo Date: Thu, 6 Aug 2009 08:43:45 -0400 Subject: --- doc/plugins/contrib/linguas.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/plugins/contrib/linguas.mdwn b/doc/plugins/contrib/linguas.mdwn index bf502606e..84ece042e 100644 --- a/doc/plugins/contrib/linguas.mdwn +++ b/doc/plugins/contrib/linguas.mdwn @@ -10,7 +10,7 @@ Download: [linguas.pm](http://ettin.org/pub/ikiwiki/linguas.pm) (2006-08-21). Note that even though it is still available for download, this plugin is no longer actively maintained. If you are interested in multilingual wiki pages, you -can also take a look at other approaches such as [[todo/l10n]], [[plugins/contrib/po]], +can also take a look at other approaches such as [[todo/l10n]], [[plugins/po]], or Lars Wirzenius's [Static website, with translations, using IkiWiki](http://liw.iki.fi/liw/log/2007-05.html#20070528b). -- cgit v1.2.3 From 0b2100727b3e9288ff9c6587924ff5390c61f19a Mon Sep 17 00:00:00 2001 From: Jogo Date: Thu, 6 Aug 2009 09:42:56 -0400 Subject: --- doc/plugins/contrib/navbar/discussion.mdwn | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 doc/plugins/contrib/navbar/discussion.mdwn diff --git a/doc/plugins/contrib/navbar/discussion.mdwn b/doc/plugins/contrib/navbar/discussion.mdwn new file mode 100644 index 000000000..0bbec743c --- /dev/null +++ b/doc/plugins/contrib/navbar/discussion.mdwn @@ -0,0 +1,2 @@ +Where can I download this plugin ? +-- [[jogo]] -- cgit v1.2.3 From 4a331d8afc75f9c9fbfb1ef8d592fa1bfb4e2874 Mon Sep 17 00:00:00 2001 From: Jogo Date: Thu, 6 Aug 2009 13:07:22 -0400 Subject: --- doc/plugins/contrib/unixrelpagespec.mdwn | 42 ++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 doc/plugins/contrib/unixrelpagespec.mdwn diff --git a/doc/plugins/contrib/unixrelpagespec.mdwn b/doc/plugins/contrib/unixrelpagespec.mdwn new file mode 100644 index 000000000..a35f76c30 --- /dev/null +++ b/doc/plugins/contrib/unixrelpagespec.mdwn @@ -0,0 +1,42 @@ +[[!template id=plugin name=unixrelpagespec core=0 author="[[Jogo]]"]] + +I don't understand why `./*` correspond to siblings and not subpages. +This is probably only meaningfull with [[plugins/autoindex]] turned on. + +Here is a small plugin wich follow usual Unix convention : + +- `./*` expand to subpages +- `../*` expand to siblings + +--- + #!/usr/bin/perl + # UnixRelPageSpec plugin. + # by Joseph Boudou + + package IkiWiki::Plugin::unixrelpagespec; + + use warnings; + use strict; + use IkiWiki 3.00; + + sub import { + inject( + name => 'IkiWiki::PageSpec::derel', + call => \&unix_derel + ); + } + + sub unix_derel ($$) { + my $path = shift; + my $from = shift; + + if ($path =~ m!^\.{1,2}/!) { + $from =~ s#/?[^/]+$## if (defined $from and $path =~ m/^\.{2}/); + $path =~ s#^\.{1,2}/##; + $path = "$from/$path" if length $from; + } + + return $path; + } + + 1; -- cgit v1.2.3 From bb4a121222436473f3136064ba89d31995e40691 Mon Sep 17 00:00:00 2001 From: buo Date: Thu, 6 Aug 2009 13:40:26 -0400 Subject: --- doc/forum/Sidebar_with_links__63__.mdwn | 41 +++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 doc/forum/Sidebar_with_links__63__.mdwn diff --git a/doc/forum/Sidebar_with_links__63__.mdwn b/doc/forum/Sidebar_with_links__63__.mdwn new file mode 100644 index 000000000..c3252062a --- /dev/null +++ b/doc/forum/Sidebar_with_links__63__.mdwn @@ -0,0 +1,41 @@ +I'm trying to create a template to use as a sidebar with links. The template will be static +(no variables are used). I first created a page with this directive: \[[!template id=sidebar]], +and then created the template with the web interface. + +This is the code I put in the template: + +
    +
      +
    • \[[Existing internal link|exists]]
    • +
    • \[[Non-existing internal link|doesnotexist]]
    • +
    • [External link](http://google.com/)
    • +
    + +
    + +This is the relevant part of the resulting html file `template/sidebar.html`: + +
    + +
    + +Note that the `` link has disappeared, and that `[External link](http://google.com/)` +has been copied literally instead of being converted to a link, as I expected. + +Worse, this is the relevant part of the html file of the page that includes the template: + +
    +
      +
    • Existing internal link
    • +
    • ?Non-existing internal link
    • +
    • [External link](http://google.com/)
    • +
    +
    + +Note that the `Existing internal link` is no longer a link. It is only text. + +What am I doing wrong? Any help or pointers will be appreciated. --[[buo]] -- cgit v1.2.3 From fc60d256ddf6ee60f2d3f4965ba6e4cc365323b4 Mon Sep 17 00:00:00 2001 From: Jogo Date: Thu, 6 Aug 2009 15:51:24 -0400 Subject: --- doc/forum/Sidebar_with_links__63__.mdwn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/forum/Sidebar_with_links__63__.mdwn b/doc/forum/Sidebar_with_links__63__.mdwn index c3252062a..7bc94242a 100644 --- a/doc/forum/Sidebar_with_links__63__.mdwn +++ b/doc/forum/Sidebar_with_links__63__.mdwn @@ -26,6 +26,8 @@ This is the relevant part of the resulting html file `template/sidebar.html`: Note that the `` link has disappeared, and that `[External link](http://google.com/)` has been copied literally instead of being converted to a link, as I expected. +> Templates aren't Markdown page. [[ikiwiki/WikiLink]] only are expanded. --[[Jogo]] + Worse, this is the relevant part of the html file of the page that includes the template:
    -- cgit v1.2.3 From e6add3a196cbdb86e88a2f29b6a79ab7f250b8f6 Mon Sep 17 00:00:00 2001 From: Jogo Date: Thu, 6 Aug 2009 16:09:08 -0400 Subject: --- doc/users/jogo.mdwn | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 doc/users/jogo.mdwn diff --git a/doc/users/jogo.mdwn b/doc/users/jogo.mdwn new file mode 100644 index 000000000..2a6577990 --- /dev/null +++ b/doc/users/jogo.mdwn @@ -0,0 +1,3 @@ +I'm looking at Ikiwiki, searching the best Wiki. The only other one I've found is [werc](http://werc.cat-v.org/). + +email: `jogo matabio net`. -- cgit v1.2.3 From 2162b6fd20ff1e4a06b734692719b2278b4ef5ad Mon Sep 17 00:00:00 2001 From: "http://tlavoie.pip.verisignlabs.com/" Date: Thu, 6 Aug 2009 17:36:37 -0400 Subject: --- doc/news/openid/discussion.mdwn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/news/openid/discussion.mdwn b/doc/news/openid/discussion.mdwn index aa9f3f0be..58bac1ae4 100644 --- a/doc/news/openid/discussion.mdwn +++ b/doc/news/openid/discussion.mdwn @@ -15,6 +15,8 @@ as well. Also have I just created an account on this wiki as well? > can configure it to eg, subscribe your email address to changes to pages. > --[[Joey]] +OK, my openid login works too. One question though, is there a setup parameter which controls whether new registrations are permitted at all? For instance, I'm thinking that I'd like to use the wiki format for content, but I don't want it editable by anyone who isn't already set up. Does this work? + ---- # How to ban an IP address? -- cgit v1.2.3 From c121f182dcfbb9b422cae020131a85dd02506db7 Mon Sep 17 00:00:00 2001 From: "http://tlavoie.pip.verisignlabs.com/" Date: Thu, 6 Aug 2009 17:45:34 -0400 Subject: --- doc/users/Tim_Lavoie.mdwn | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/users/Tim_Lavoie.mdwn diff --git a/doc/users/Tim_Lavoie.mdwn b/doc/users/Tim_Lavoie.mdwn new file mode 100644 index 000000000..90df011c6 --- /dev/null +++ b/doc/users/Tim_Lavoie.mdwn @@ -0,0 +1 @@ +Hey... I'm just starting to use ikiwiki, but am happy to find it repeatedly doing the sorts of things in a way which makes sense to me. (e.g. most pages are static, DVCS for file store etc.) -- cgit v1.2.3 From 52da709fd819d73b5e245a3154848969a9ef7c16 Mon Sep 17 00:00:00 2001 From: "http://tlavoie.pip.verisignlabs.com/" Date: Thu, 6 Aug 2009 17:47:43 -0400 Subject: --- doc/news/openid/discussion.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/news/openid/discussion.mdwn b/doc/news/openid/discussion.mdwn index 58bac1ae4..e611fa77b 100644 --- a/doc/news/openid/discussion.mdwn +++ b/doc/news/openid/discussion.mdwn @@ -15,7 +15,7 @@ as well. Also have I just created an account on this wiki as well? > can configure it to eg, subscribe your email address to changes to pages. > --[[Joey]] -OK, my openid login works too. One question though, is there a setup parameter which controls whether new registrations are permitted at all? For instance, I'm thinking that I'd like to use the wiki format for content, but I don't want it editable by anyone who isn't already set up. Does this work? +OK, my openid login works too. One question though, is there a setup parameter which controls whether new registrations are permitted at all? For instance, I'm thinking that I'd like to use the wiki format for content, but I don't want it editable by anyone who isn't already set up. Does this work? --[[Tim Lavoie]] ---- -- cgit v1.2.3 From c7ad7482f4357c43729214acc04901fa7fcf501e Mon Sep 17 00:00:00 2001 From: "http://bob-bernstein.myopenid.com/" Date: Thu, 6 Aug 2009 22:20:15 -0400 Subject: --- doc/plugins/htmlscrubber/discussion.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 doc/plugins/htmlscrubber/discussion.mdwn diff --git a/doc/plugins/htmlscrubber/discussion.mdwn b/doc/plugins/htmlscrubber/discussion.mdwn new file mode 100644 index 000000000..46697f6bd --- /dev/null +++ b/doc/plugins/htmlscrubber/discussion.mdwn @@ -0,0 +1,7 @@ +**Ok, I have yet to post a big dummy wiki-noobie question around here, so here goes:** + +Yes, I want to play around with *gulp* Google Ads on an ikiwiki blog, namely, in the *sidebar*. + +No, I do not want to turn htmlscrubber off, but apart from that I have not been able to allow <script> elements as required by Google. + +Thoughts? -- cgit v1.2.3 From 69d26eb5739fac2bac81554e3c31288011a57a48 Mon Sep 17 00:00:00 2001 From: "http://bob-bernstein.myopenid.com/" Date: Fri, 7 Aug 2009 01:09:03 -0400 Subject: --- doc/plugins/htmlscrubber/discussion.mdwn | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/plugins/htmlscrubber/discussion.mdwn b/doc/plugins/htmlscrubber/discussion.mdwn index 46697f6bd..5e8b637b7 100644 --- a/doc/plugins/htmlscrubber/discussion.mdwn +++ b/doc/plugins/htmlscrubber/discussion.mdwn @@ -5,3 +5,14 @@ Yes, I want to play around with *gulp* Google Ads on an ikiwiki blog, namely, in No, I do not want to turn htmlscrubber off, but apart from that I have not been able to allow <script> elements as required by Google. Thoughts? + +--- + +***Fixed!*** + +Did some more reading, did some searching on the wiki, and found, under *embed*, these + + htmlscrubber_skip => '!*/Discussion', + locked_pages => '!*/Discussion', + +Thanks! -- cgit v1.2.3 From 9637e66932c72381adba4c56bb4d23d2539db717 Mon Sep 17 00:00:00 2001 From: buo Date: Fri, 7 Aug 2009 08:56:07 -0400 Subject: --- doc/forum/Sidebar_with_links__63__.mdwn | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/forum/Sidebar_with_links__63__.mdwn b/doc/forum/Sidebar_with_links__63__.mdwn index 7bc94242a..f3deb29c0 100644 --- a/doc/forum/Sidebar_with_links__63__.mdwn +++ b/doc/forum/Sidebar_with_links__63__.mdwn @@ -28,6 +28,10 @@ has been copied literally instead of being converted to a link, as I expected. > Templates aren't Markdown page. [[ikiwiki/WikiLink]] only are expanded. --[[Jogo]] +>> Thanks for the help Jogo. Looking at the [[templates]] page, it says that +"...you can include WikiLinks and all other forms of wiki markup in the template." I read this +to mean that a template may indeed include Markdown. Am I wrong in my interpratation? --[[buo]] + Worse, this is the relevant part of the html file of the page that includes the template:
    -- cgit v1.2.3 From 03bfd6c317a035434ba4abd59704d22f7535b664 Mon Sep 17 00:00:00 2001 From: buo Date: Fri, 7 Aug 2009 14:52:30 -0400 Subject: --- doc/forum/Sidebar_with_links__63__.mdwn | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/forum/Sidebar_with_links__63__.mdwn b/doc/forum/Sidebar_with_links__63__.mdwn index f3deb29c0..79da03e5f 100644 --- a/doc/forum/Sidebar_with_links__63__.mdwn +++ b/doc/forum/Sidebar_with_links__63__.mdwn @@ -32,6 +32,10 @@ has been copied literally instead of being converted to a link, as I expected. "...you can include WikiLinks and all other forms of wiki markup in the template." I read this to mean that a template may indeed include Markdown. Am I wrong in my interpratation? --[[buo]] +>> I discovered that if I eliminate all html from my sidebar.mdwn template, the links are +rendered properly. It seems that the mix of Markdown and html is confusing some part of +Ikiwiki. --[[buo]] + Worse, this is the relevant part of the html file of the page that includes the template:
    -- cgit v1.2.3 From 8fba0e710186071ca0a776140fe7b6acc8f07dad Mon Sep 17 00:00:00 2001 From: buo Date: Fri, 7 Aug 2009 15:26:07 -0400 Subject: Solved. --- doc/forum/Sidebar_with_links__63__.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/forum/Sidebar_with_links__63__.mdwn b/doc/forum/Sidebar_with_links__63__.mdwn index 79da03e5f..790ee85a2 100644 --- a/doc/forum/Sidebar_with_links__63__.mdwn +++ b/doc/forum/Sidebar_with_links__63__.mdwn @@ -49,3 +49,10 @@ Worse, this is the relevant part of the html file of the page that includes the Note that the `Existing internal link` is no longer a link. It is only text. What am I doing wrong? Any help or pointers will be appreciated. --[[buo]] + +----- + +I think I have figured this out. I thought the template was filled and then +processed to convert Markdown to html. Instead, the text in each variable is +processed and then the template is filled. I somehow misunderstood the +[[templates]] page. -- [[buo]] -- cgit v1.2.3 From 1632976f63787324b5466bea10a1e4e80d2d1989 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 8 Aug 2009 12:10:57 -0400 Subject: Dragonfly BSD has been using ikiwiki for their website since last December --- doc/ikiwikiusers.mdwn | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/ikiwikiusers.mdwn b/doc/ikiwikiusers.mdwn index 72bdbf3d8..2584de6ea 100644 --- a/doc/ikiwikiusers.mdwn +++ b/doc/ikiwikiusers.mdwn @@ -44,6 +44,7 @@ Projects & Organizations * [Cosin Homepage](http://cosin.ch) uses an Ikiwiki with a subversion repository. * [Bosco Free Orienteering Software](http://bosco.durcheinandertal.ch) * The [GNU Hurd](http://www.gnu.org/software/hurd/)'s web pages +* [DragonFly BSD](http://www.dragonflybsd.org/) * The [Free Software Foundation](http://fsf.org) uses it for their internal wiki, with subversion. Personal sites and blogs -- cgit v1.2.3 From 92d0299ea02cba9221a7d9f67a504cadfdea5ea2 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 8 Aug 2009 12:15:44 -0400 Subject: move larger projects using ikiwiki to top of list --- doc/ikiwikiusers.mdwn | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/doc/ikiwikiusers.mdwn b/doc/ikiwikiusers.mdwn index 2584de6ea..db0d8cd9c 100644 --- a/doc/ikiwikiusers.mdwn +++ b/doc/ikiwikiusers.mdwn @@ -2,6 +2,12 @@ Projects & Organizations ======================== * [This wiki](http://ikiwiki.info) (of course!) +* The [GNU Hurd](http://www.gnu.org/software/hurd/) +* [DragonFly BSD](http://www.dragonflybsd.org/) +* [Monotone](http://monotone.ca/wiki/FrontPage/) +* The [Free Software Foundation](http://fsf.org) uses it for their internal wiki, with subversion. +* The [cairo graphics library](http://cairographics.org/) website. +* The [Portland State Aerospace Society](http://psas.pdx.edu) website. Converted from a combination of TWiki and MoinMoin to ikiwiki, including full history ([[rcs/Git]] backend). * [Planet Debian upstream](http://updo.debian.net/) * [Debian Mentors wiki](http://jameswestby.net/mentors/) * The [Sparse wiki](http://kernel.org/pub/linux/kernel/people/josh/sparse). @@ -13,8 +19,6 @@ Projects & Organizations * [Braawi Ltd](http://braawi.com/) and the community site [Braawi.org](http://braawi.org/) * [Webconverger](http://webconverger.org/) (a Web only linux distribution) with a [blog](http://webconverger.org/blog/) * [debian-community.org](http://debian-community.org/) -* The [cairo graphics library](http://cairographics.org/) website. -* The [Portland State Aerospace Society](http://psas.pdx.edu) website. Converted from a combination of TWiki and MoinMoin to ikiwiki, including full history ([[rcs/Git]] backend). * [DebTorrent](http://debtorrent.alioth.debian.org) * The [netconf project](http://netconf.alioth.debian.org) * The [Debian Packaging Handbook project](http://packaging-handbook.alioth.debian.org/wiki/) @@ -27,7 +31,6 @@ Projects & Organizations * [Enemies of Carlotta](http://www.e-o-c.org/) * [vcs-pkg](http://vcs-pkg.org) * [vcs-home](http://vcs-home.madduck.net) -* [GNU Hurd wiki](http://www.bddebian.com/~wiki/) * [Query Object Framework](http://qof.alioth.debian.org/) * [Estron - Object Relational Mapping interpreter](http://estron.alioth.debian.org/) * [Public Domain collection of Debian related tips & tricks](http://dabase.com/tips/) - please add any tips too @@ -37,20 +40,15 @@ Projects & Organizations * [Chaos Computer Club Düsseldorf](https://www.chaosdorf.de) * [monkeysphere](http://web.monkeysphere.info/) * [The Walden Effect](http://www.waldeneffect.org/) -* [Monotone](http://monotone.ca/wiki/FrontPage/) * The support pages for [Trinity Centre for High Performance Computing](http://www.tchpc.tcd.ie/support/) * [St Hugh of Lincoln Catholic Primary School in Surrey](http://www.sthugh-of-lincoln.surrey.sch.uk/) * [Pigro Network](http://www.pigro.net) is running a hg based ikiwiki. (And provides ikiwiki hosting for $10/m.) * [Cosin Homepage](http://cosin.ch) uses an Ikiwiki with a subversion repository. * [Bosco Free Orienteering Software](http://bosco.durcheinandertal.ch) -* The [GNU Hurd](http://www.gnu.org/software/hurd/)'s web pages -* [DragonFly BSD](http://www.dragonflybsd.org/) -* The [Free Software Foundation](http://fsf.org) uses it for their internal wiki, with subversion. Personal sites and blogs ======================== -* [Skirv's Wiki](http://wiki.killfile.org) - formerly Skirv's Homepage * [[Joey]]'s [homepage](http://kitenet.net/~joey/), including his weblog * [Kyle's MacLea Genealogy wiki](http://kitenet.net/~kyle/family/wiki) and [Livingstone and MacLea Emigration Registry](http://kitenet.net/~kyle/family/registry) * [Ulrik's personal web page](http://kaizer.se/wiki/) @@ -124,10 +122,13 @@ Personal sites and blogs * [Natalian - Kai Hendry's personal blog](http://natalian.org/) * [Mick Pollard aka \_lunix_ - Personal sysadmin blog and wiki](http://www.lunix.com.au) * [tumashu's page](http://tumashu.github.com) This is my personal site in github created with ikiwiki and only a page,you can get the [source](http://github.com/tumashu/tumashu/tree/master) +* [Skirv's Wiki](http://wiki.killfile.org) - formerly Skirv's Homepage Please feel free to add your own ikiwiki site! See also: [Debian ikiwiki popcon graph](http://qa.debian.org/popcon.php?package=ikiwiki) and [google search for ikiwiki powered sites](http://www.google.com/search?q=%22powered%20by%20ikiwiki%22). -While nothing makes me happier than knowing that ikiwiki has happy users, dropping some change in the [[TipJar]] is a nice way to show extra appreciation. +While nothing makes me happier than knowing that ikiwiki has happy users, +dropping some change in the [[TipJar]] is a nice way to show extra +appreciation. -- cgit v1.2.3 From 22edaf77c2a4318ebd8ed0881dd6a62cfc2ca2b2 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 8 Aug 2009 12:23:50 -0400 Subject: fix misleading comment --- IkiWiki/Plugin/getsource.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/IkiWiki/Plugin/getsource.pm b/IkiWiki/Plugin/getsource.pm index e8aea2c39..91c4cc1c9 100644 --- a/IkiWiki/Plugin/getsource.pm +++ b/IkiWiki/Plugin/getsource.pm @@ -42,10 +42,6 @@ sub pagetemplate (@) { sub cgi_getsource ($) { my $cgi=shift; - # Note: we use sessioncgi rather than just cgi - # because we need %pagesources to be - # populated. - return unless (defined $cgi->param('do') && $cgi->param("do") eq "getsource"); @@ -53,6 +49,7 @@ sub cgi_getsource ($) { my $page=$cgi->param('page'); + # For %pagesources. IkiWiki::loadindex(); if (! exists $pagesources{$page}) { -- cgit v1.2.3 From 8f6e0212fdbf3de286e504ed2802111bf7864abe Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 8 Aug 2009 12:27:48 -0400 Subject: verify page name is sane paranoia; I was thinking about XSS attacks specificaly --- IkiWiki/Plugin/getsource.pm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/IkiWiki/Plugin/getsource.pm b/IkiWiki/Plugin/getsource.pm index 91c4cc1c9..ae9ea3cc7 100644 --- a/IkiWiki/Plugin/getsource.pm +++ b/IkiWiki/Plugin/getsource.pm @@ -42,13 +42,17 @@ sub pagetemplate (@) { sub cgi_getsource ($) { my $cgi=shift; - return unless (defined $cgi->param('do') && - $cgi->param("do") eq "getsource"); + return unless defined $cgi->param('do') && + $cgi->param("do") eq "getsource"; IkiWiki::decode_cgi_utf8($cgi); my $page=$cgi->param('page'); + if (! defined $page || $page !~ /$config{wiki_file_regexp}/) { + error("invalid page parameter"); + } + # For %pagesources. IkiWiki::loadindex(); -- cgit v1.2.3 From c0c1e05daba09ce9c73c6c2f1ceca02b488613ba Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 8 Aug 2009 12:32:39 -0400 Subject: finish merging getsource --- debian/copyright | 2 +- doc/plugins/getsource.mdwn | 4 ++-- doc/todo/source_link.mdwn | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/debian/copyright b/debian/copyright index 762f9f445..b06d27f19 100644 --- a/debian/copyright +++ b/debian/copyright @@ -136,7 +136,7 @@ Files: 404.pm Copyright: © 2009 Simon McVittie License: GPL-2+ -Files: wmd.pm +Files: wmd.pm, getsource.pm Copyright: © 2009 William Uther License: GPL-2+ diff --git a/doc/plugins/getsource.mdwn b/doc/plugins/getsource.mdwn index 4fbf4be98..20040ccee 100644 --- a/doc/plugins/getsource.mdwn +++ b/doc/plugins/getsource.mdwn @@ -1,7 +1,7 @@ [[!template id=plugin name=getsource author="[[Will_Uther|Will]]"]] -This plugin adds a `getsource` action to the IkiWiki CGI, and a "Source" link -that uses it to display pages' source. +This plugin adds a "Source" link to the top of each page that uses +the CGI to display the page's source. Configuration for this plugin in the setup file: diff --git a/doc/todo/source_link.mdwn b/doc/todo/source_link.mdwn index 0c639a314..dfc2766cc 100644 --- a/doc/todo/source_link.mdwn +++ b/doc/todo/source_link.mdwn @@ -13,6 +13,7 @@ All of this code is licensed under the GPLv2+. -- [[Will]] [[!template id=gitbranch branch=smcv/ready/getsource author="[[Will]]/[[smcv]]"]] +[[done]] >> I've applied the patch below in a git branch, fixed my earlier criticism, >> and also fixed a couple of other issues I noticed: -- cgit v1.2.3 From 67bca4125d6fba24d69f53183949d89b632955dc Mon Sep 17 00:00:00 2001 From: "http://eric.shared.dre.am/" Date: Sat, 8 Aug 2009 14:39:11 -0400 Subject: --- doc/tips/dot_cgi.mdwn | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/tips/dot_cgi.mdwn b/doc/tips/dot_cgi.mdwn index 4532c84cd..0379ece93 100644 --- a/doc/tips/dot_cgi.mdwn +++ b/doc/tips/dot_cgi.mdwn @@ -56,6 +56,10 @@ rule that allow `ikiwiki.cgi` to be executed. server (offline). I am not sure of how secure this approach is. If you have any thought about it, feel free to let me know. +## nginx + +* To run CGI under nginx, just us a FastCGI wrapper like [this one](http://technotes.1000lines.net/?p=23). The wrapper must be started somehow just like any other FastCGI program. I use launchd on OSX. + ## boa Edit /etc/boa/boa.conf and make sure the following line is not commented: -- cgit v1.2.3 From aa29cb5fc0126e90b4994d31e491179a1184e047 Mon Sep 17 00:00:00 2001 From: "http://joey.kitenet.net/" Date: Sat, 8 Aug 2009 15:39:37 -0400 Subject: typo --- doc/tips/dot_cgi.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tips/dot_cgi.mdwn b/doc/tips/dot_cgi.mdwn index 0379ece93..da55c1f1c 100644 --- a/doc/tips/dot_cgi.mdwn +++ b/doc/tips/dot_cgi.mdwn @@ -58,7 +58,7 @@ If you have any thought about it, feel free to let me know. ## nginx -* To run CGI under nginx, just us a FastCGI wrapper like [this one](http://technotes.1000lines.net/?p=23). The wrapper must be started somehow just like any other FastCGI program. I use launchd on OSX. +* To run CGI under nginx, just use a FastCGI wrapper like [this one](http://technotes.1000lines.net/?p=23). The wrapper must be started somehow just like any other FastCGI program. I use launchd on OSX. ## boa -- cgit v1.2.3 From 52ee05feb7f136d0211732f7a7f93960d3938555 Mon Sep 17 00:00:00 2001 From: "http://christine-spang.myopenid.com/" Date: Sat, 8 Aug 2009 16:04:58 -0400 Subject: --- doc/tips/importing_posts_from_typo.mdwn | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/tips/importing_posts_from_typo.mdwn diff --git a/doc/tips/importing_posts_from_typo.mdwn b/doc/tips/importing_posts_from_typo.mdwn new file mode 100644 index 000000000..1b87e7dae --- /dev/null +++ b/doc/tips/importing_posts_from_typo.mdwn @@ -0,0 +1 @@ +[Here](http://blog.spang.cc/posts/migrating_from_typo_to_ikiwiki/) is a blog post that gives instructions and a script for importing posts from [Typo](http://typosphere.org/), a Ruby-on-Rails based blogging engine. -- cgit v1.2.3 From 255835660b91e601b250bffe5a00751767b43f87 Mon Sep 17 00:00:00 2001 From: bremner Date: Sat, 8 Aug 2009 16:48:00 -0400 Subject: question (for joeyh?) about IkiWiki::refresh() --- doc/plugins/contrib/postal/discussion.mdwn | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/plugins/contrib/postal/discussion.mdwn diff --git a/doc/plugins/contrib/postal/discussion.mdwn b/doc/plugins/contrib/postal/discussion.mdwn new file mode 100644 index 000000000..90113eb41 --- /dev/null +++ b/doc/plugins/contrib/postal/discussion.mdwn @@ -0,0 +1,15 @@ +It seems like the filter 'postal-accept.pl' I wrote doesn't refresh thoroughly enough. When a comment is added it calls + + IkiWiki::add_depends($page,$comments_page); + +And then after adding the actual comment, it ends with + + IkiWiki::refresh(); + IkiWiki::saveindex(); + +Sure enough, the page being commented on is refreshed, but not any inline pages (e.g. tags pages, blog top level) that contain it. +Is there a way to recursively refresh? Or should it work that way by default. I guess it is some part of the api that I don't understand, +since I think not many people grub about in the internals of ikiwiki this way. +It would be nice to figure this out, doing a full rebuild every time I get a blog comment is not that fun. + +[[DavidBremner]] -- cgit v1.2.3 From eb5e6b2bb63a7e1096e6f16ecc9d5bf881b23983 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 8 Aug 2009 17:01:10 -0400 Subject: response --- doc/plugins/contrib/postal/discussion.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/plugins/contrib/postal/discussion.mdwn b/doc/plugins/contrib/postal/discussion.mdwn index 90113eb41..3e6d056e2 100644 --- a/doc/plugins/contrib/postal/discussion.mdwn +++ b/doc/plugins/contrib/postal/discussion.mdwn @@ -13,3 +13,10 @@ since I think not many people grub about in the internals of ikiwiki this way. It would be nice to figure this out, doing a full rebuild every time I get a blog comment is not that fun. [[DavidBremner]] + +> Ikiwiki currently doesn't have support for transitive dependencies. +> This is discussed deep inside [[todo/tracking_bugs_with_dependencies]] +> and in [[todo/inlines_inheriting_links]]. +> +> FYI, the [[plugins/comments]] plugin avoids this problem by only showing the +> comments on the page, and not on pages that inline it. --[[Joey]] -- cgit v1.2.3 From 3c1ebd20f84f1ec654105340a1d7c28dd3748557 Mon Sep 17 00:00:00 2001 From: bremner Date: Sat, 8 Aug 2009 17:19:07 -0400 Subject: ok, thanks. I'll probably do the same. --- doc/plugins/contrib/postal/discussion.mdwn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/plugins/contrib/postal/discussion.mdwn b/doc/plugins/contrib/postal/discussion.mdwn index 3e6d056e2..4eaacc044 100644 --- a/doc/plugins/contrib/postal/discussion.mdwn +++ b/doc/plugins/contrib/postal/discussion.mdwn @@ -20,3 +20,5 @@ It would be nice to figure this out, doing a full rebuild every time I get a blo > > FYI, the [[plugins/comments]] plugin avoids this problem by only showing the > comments on the page, and not on pages that inline it. --[[Joey]] +>> Ok, thanks for the speedy response. I guess I should do the same thing. +>> [[DavidBremner]] -- cgit v1.2.3 From c86842711ffd76b1ce52ce9a5fc21bfae136aebb Mon Sep 17 00:00:00 2001 From: "http://certifi.ca/lunix" Date: Sat, 8 Aug 2009 19:19:32 -0400 Subject: centos question --- doc/plugins/highlight/discussion.mdwn | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/plugins/highlight/discussion.mdwn b/doc/plugins/highlight/discussion.mdwn index 7d3cabea9..51d70bcf9 100644 --- a/doc/plugins/highlight/discussion.mdwn +++ b/doc/plugins/highlight/discussion.mdwn @@ -10,3 +10,7 @@ if you want to implement it I won't complain :-). [[DavidBremner]] > of, but if there are multiple options, giving each its own nane would > word better for websetup than would putting all the options in a > sub-hash. --[[Joey]] + + +Has anyone got this running with CentOS/RHEL ? +Having trouble working out where to get the perl bindings for highlight. --[Mick](http://www.lunix.com.au) -- cgit v1.2.3 From a0ace62664dd767a3894c1a708b8ed49e380c368 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 8 Aug 2009 20:27:50 -0400 Subject: point out where to get highlight perl bindings --- doc/plugins/highlight.mdwn | 6 ++++-- doc/plugins/highlight/discussion.mdwn | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/plugins/highlight.mdwn b/doc/plugins/highlight.mdwn index 44ced80f7..5f04fda52 100644 --- a/doc/plugins/highlight.mdwn +++ b/doc/plugins/highlight.mdwn @@ -8,8 +8,10 @@ languages and file formats. ## prerequisites You will need to install the perl bindings to the -[highlight library](http://www.andre-simon.de/), which in Debian -are in the [[!debpkg libhighlight-perl]] package. +[highlight library](http://www.andre-simon.de/). In Debian +they are in the [[!debpkg libhighlight-perl]] package. If +your distribution does not have them, look in `examples/swig` +in highlight's source. ## embedding highlighted code diff --git a/doc/plugins/highlight/discussion.mdwn b/doc/plugins/highlight/discussion.mdwn index 51d70bcf9..0c9e654c1 100644 --- a/doc/plugins/highlight/discussion.mdwn +++ b/doc/plugins/highlight/discussion.mdwn @@ -14,3 +14,6 @@ if you want to implement it I won't complain :-). [[DavidBremner]] Has anyone got this running with CentOS/RHEL ? Having trouble working out where to get the perl bindings for highlight. --[Mick](http://www.lunix.com.au) + +> The perl bindings are hidden in `examples/swig` in highlight's source. +> --[[Joey]] -- cgit v1.2.3 From 4e387bc6b65c4d56027ac93498e9782dbaba94d7 Mon Sep 17 00:00:00 2001 From: "http://certifi.ca/lunix" Date: Sat, 8 Aug 2009 21:11:03 -0400 Subject: reponse about highlight plugin --- doc/plugins/highlight/discussion.mdwn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/plugins/highlight/discussion.mdwn b/doc/plugins/highlight/discussion.mdwn index 0c9e654c1..3ae6149bf 100644 --- a/doc/plugins/highlight/discussion.mdwn +++ b/doc/plugins/highlight/discussion.mdwn @@ -17,3 +17,5 @@ Having trouble working out where to get the perl bindings for highlight. --[Mick > The perl bindings are hidden in `examples/swig` in highlight's source. > --[[Joey]] + +Thanks for prompt reply. Now just need to work out how to get it to work with inline code. I can not find the 'format' plugin to enable it. --[Mick](http://www.lunix.com.au) -- cgit v1.2.3 From c430c5ebd08e92f38975faa3ac99b0c68015099b Mon Sep 17 00:00:00 2001 From: "http://certifi.ca/lunix" Date: Sun, 9 Aug 2009 01:34:11 -0400 Subject: add my response --- doc/plugins/highlight/discussion.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/plugins/highlight/discussion.mdwn b/doc/plugins/highlight/discussion.mdwn index 3ae6149bf..556b04145 100644 --- a/doc/plugins/highlight/discussion.mdwn +++ b/doc/plugins/highlight/discussion.mdwn @@ -18,4 +18,4 @@ Having trouble working out where to get the perl bindings for highlight. --[Mick > The perl bindings are hidden in `examples/swig` in highlight's source. > --[[Joey]] -Thanks for prompt reply. Now just need to work out how to get it to work with inline code. I can not find the 'format' plugin to enable it. --[Mick](http://www.lunix.com.au) +Thanks for prompt reply.All working. I will post on my site tonight and link here what I did on CentOS to make this work. --[Mick](http://www.lunix.com.au) -- cgit v1.2.3 From d7773939ccc88452fea600a5fe72e5d14fb7a3f6 Mon Sep 17 00:00:00 2001 From: "http://christine-spang.myopenid.com/" Date: Sun, 9 Aug 2009 07:57:06 -0400 Subject: add user page for Christine Spang --- doc/users/Christine_Spang.mdwn | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/users/Christine_Spang.mdwn diff --git a/doc/users/Christine_Spang.mdwn b/doc/users/Christine_Spang.mdwn new file mode 100644 index 000000000..223e9739d --- /dev/null +++ b/doc/users/Christine_Spang.mdwn @@ -0,0 +1 @@ +Running ikiwiki on her [homepage](http://spang.cc/) and [blog](http://blog.spang.cc/). -- cgit v1.2.3 From 9d0f8c917ecb9b960845126446cebefab88f0380 Mon Sep 17 00:00:00 2001 From: "http://christine-spang.myopenid.com/" Date: Sun, 9 Aug 2009 08:01:12 -0400 Subject: add MIT SIPB to list of organisations using ikiwiki --- doc/ikiwikiusers.mdwn | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/ikiwikiusers.mdwn b/doc/ikiwikiusers.mdwn index db0d8cd9c..58dd51600 100644 --- a/doc/ikiwikiusers.mdwn +++ b/doc/ikiwikiusers.mdwn @@ -45,6 +45,7 @@ Projects & Organizations * [Pigro Network](http://www.pigro.net) is running a hg based ikiwiki. (And provides ikiwiki hosting for $10/m.) * [Cosin Homepage](http://cosin.ch) uses an Ikiwiki with a subversion repository. * [Bosco Free Orienteering Software](http://bosco.durcheinandertal.ch) +* [MIT Student Information Processing Board](http://sipb.mit.edu/) Personal sites and blogs ======================== -- cgit v1.2.3 From 792026fe97c47a3da4f941dc615ebf3bd428ad37 Mon Sep 17 00:00:00 2001 From: "http://schmonz.livejournal.com/" Date: Sun, 9 Aug 2009 22:06:02 -0400 Subject: add install and usage directions, to-do list --- doc/plugins/contrib/cvs.mdwn | 43 ++++++++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/doc/plugins/contrib/cvs.mdwn b/doc/plugins/contrib/cvs.mdwn index fc5afebfd..db9cde98b 100644 --- a/doc/plugins/contrib/cvs.mdwn +++ b/doc/plugins/contrib/cvs.mdwn @@ -2,20 +2,16 @@ This plugin allows ikiwiki to use [[!wikipedia desc="CVS" Concurrent Versions System]] as an [[rcs]]. -* Diffs are against [[3.14159|news/version_3.14159]]. `cvs.pm` started life as a copy of `svn.pm`. -* `IkiWiki.pm:wiki_file_prune_regexps` avoids copying CVS metadata into `$DESTDIR`. -* [[ikiwiki-makerepo]]: - * creates a repository, - * imports `$SRCDIR` into top-level module `ikiwiki` (vendor tag IKIWIKI, release tag PRE_CVS), - * creates a small post-commit wrapper to prevent `cvs add ` from being seen by ikiwiki's [[post-commit]] hook, - * configures the wrapper itself as a post-commit hook in `CVSROOT/loginfo`. -* [`cvsps`](http://www.cobite.com/cvsps/) is required (`rcs_recentchanges()` and `rcs_diff()` need it to work). -* [[!cpan IPC::Cmd]] and [[!cpan String::ShellQuote]] are required (to safely keep `cvs` quiet and to safely escape commit messages, respectively). -* 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 might be possible to solve this problem with scripts like `commit_prep` and `log_accum` from CVS contrib. -* Due to the name of CVS's metadata directories, it's impossible to create `.../CVS/foo.mdwn`. On case-insensitive filesystems it's also impossible to create `.../cvs/foo.mdwn`. Since the failure can have confusing effects on one's CVS checkout, perhaps the web interface should prevent the attempt. -* No testing or special-casing has been done with [[attachments|plugins/attachment]], but they'll probably need `cvs add -kb`. +### Installation and usage +7. Apply patches to [`IkiWiki.pm`](http://www.netbsd.org/~schmonz/ikiwiki-cvs/cvs-IkiWiki.pm.diff) +and [`ikiwiki-makerepo`](http://www.netbsd.org/~schmonz/ikiwiki-cvs/cvs-ikiwiki-makerepo.diff). +7. Rebuild and install ikiwiki. +7. Install [cvsps](http://www.cobite.com/cvsps/), [[!cpan IPC::Cmd]], [[!cpan String::ShellQuote]], and [cvsweb](http://www.freebsd.org/projects/cvsweb.html) or the like. +7. Download [`cvs.pm`](http://www.netbsd.org/~schmonz/ikiwiki-cvs/cvs.pm) into a suitable `$libdir/IkiWiki/Plugin`. +7. While setting up a wiki [[by hand|setup/byhand]], also specify `--libdir` until you get to the point where you have a setup file. (This ensures the CVS plugin is found and its settings stanza included.) +7. Adjust CVS-related parameters in your setup file. -Having a `$HOME/.cvsrc` isn't necessary. Sure does make using CVS more livable, though. Here's a good general-purpose one: +Consider creating `$HOME/.cvsrc` if you don't have one already; the plugin doesn't need it, but you yourself might. Here's a good general-purpose one: cvs -q checkout -P @@ -23,10 +19,19 @@ Having a `$HOME/.cvsrc` isn't necessary. Sure does make using CVS more livable, diff -u rdiff -u -Not knowing how the tests get set up, I blindly attempted to add subversion-like tests to `t/file_pruned.t`. They fail. But the plugin definitely works. :-) +### Implementation details +* Diffs are against [[3.14159|news/version_3.14159]]. `cvs.pm` started life as a copy of `svn.pm`. +* `IkiWiki.pm:wiki_file_prune_regexps` avoids copying CVS metadata into `$DESTDIR`. +* [[ikiwiki-makerepo]]: + * creates a repository, + * imports `$SRCDIR` into top-level module `ikiwiki` (vendor tag IKIWIKI, release tag PRE_CVS), + * creates a small post-commit wrapper to prevent `cvs add ` from being seen by ikiwiki's [[post-commit]] hook, + * configures the wrapper itself as a 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). -### Code -* [`cvs.pm`](http://www.netbsd.org/~schmonz/ikiwiki-cvs/cvs.pm) -* [`cvs-IkiWiki.pm.diff`](http://www.netbsd.org/~schmonz/ikiwiki-cvs/cvs-IkiWiki.pm.diff) -* [`cvs-ikiwiki-makerepo.diff`](http://www.netbsd.org/~schmonz/ikiwiki-cvs/cvs-ikiwiki-makerepo.diff) -* [`cvs-t-file_pruned.t.diff`](http://www.netbsd.org/~schmonz/ikiwiki-cvs/cvs-t-file_pruned.t.diff) +### To do +* Add automated tests. ([Blindly adding svn-like tests to `t/file_pruned.t`](http://www.netbsd.org/~schmonz/ikiwiki-cvs/cvs-t-file_pruned.t.diff) doesn't do the trick.) +* If the argument to `cvs add` smells like a binary file, `cvs add -kb` it (for [[plugins/attachment]] support). +* Don't slurp the entire `cvsps` output into memory (!). +* 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. +* 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 af29201c3ce1099fbc3f8e6986d098fac6cef249 Mon Sep 17 00:00:00 2001 From: "http://schmonz.livejournal.com/" Date: Sun, 9 Aug 2009 22:09:42 -0400 Subject: the post-commit wrapper wrapper also avoids cvs deadlock --- doc/plugins/contrib/cvs.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/plugins/contrib/cvs.mdwn b/doc/plugins/contrib/cvs.mdwn index db9cde98b..f466b9399 100644 --- a/doc/plugins/contrib/cvs.mdwn +++ b/doc/plugins/contrib/cvs.mdwn @@ -25,9 +25,9 @@ Consider creating `$HOME/.cvsrc` if you don't have one already; the plugin doesn * [[ikiwiki-makerepo]]: * creates a repository, * imports `$SRCDIR` into top-level module `ikiwiki` (vendor tag IKIWIKI, release tag PRE_CVS), - * creates a small post-commit wrapper to prevent `cvs add ` from being seen by ikiwiki's [[post-commit]] hook, + * creates a small post-commit wrapper to prevent `cvs add ` from being seen by ikiwiki's [[post-commit]] hook (and avoid `cvs` locking against itself), * configures the wrapper itself as a 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). +* 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 * Add automated tests. ([Blindly adding svn-like tests to `t/file_pruned.t`](http://www.netbsd.org/~schmonz/ikiwiki-cvs/cvs-t-file_pruned.t.diff) doesn't do the trick.) -- cgit v1.2.3 From 8c4325d2ceb50533cea01128d119ff19fba2ea44 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 10 Aug 2009 15:24:07 -0400 Subject: turn powered by ikiwiki link into link to the local documentation --- doc/basewiki/index.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/basewiki/index.mdwn b/doc/basewiki/index.mdwn index 05834e079..4187c1162 100644 --- a/doc/basewiki/index.mdwn +++ b/doc/basewiki/index.mdwn @@ -4,4 +4,4 @@ All wikis are supposed to have a [[SandBox]], so this one does too. ---- -This wiki is powered by [ikiwiki](http://ikiwiki.info/). +This wiki is powered by [[ikiwiki]]. -- cgit v1.2.3 From 83480665c256a344900fc817bcb4618f8db9aeee Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 10 Aug 2009 15:59:32 -0400 Subject: po: Fix copy of po file from underlay when editing When first editing a page that was in the underlay, avoid losing the translation by copying the po file over from the underlay. --- IkiWiki/Plugin/po.pm | 15 +++++++++++++++ doc/plugins/po.mdwn | 11 ----------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm index 0ae4adcfc..e9dc9dd8c 100644 --- a/IkiWiki/Plugin/po.pm +++ b/IkiWiki/Plugin/po.pm @@ -827,6 +827,21 @@ sub refreshpofiles ($@) { foreach my $pofile (@pofiles) { IkiWiki::prep_writefile(basename($pofile),dirname($pofile)); + + if (! -e $pofile) { + # If the po file exists in an underlay, copy it + # from there. + my ($pobase)=$pofile=~/^\Q$config{srcdir}\E\/?(.*)$/; + foreach my $dir (@{$config{underlaydirs}}) { + if (-e "$dir/$pobase") { + File::Copy::syscopy("$dir/$pobase",$pofile) + or error("po(refreshpofiles) ". + sprintf(gettext("failed to copy underlay PO file to %s"), + $pofile)); + } + } + } + if (-e $pofile) { system("msgmerge", "--previous", "-q", "-U", "--backup=none", $pofile, $potfile) == 0 or error("po(refreshpofiles) ". diff --git a/doc/plugins/po.mdwn b/doc/plugins/po.mdwn index 0c8110563..2fbf67016 100644 --- a/doc/plugins/po.mdwn +++ b/doc/plugins/po.mdwn @@ -277,17 +277,6 @@ That used to be so, but the bug was fixed. Does this mean that po might be replacing the only link on a page, in error? --[[Joey]] -Bug when editing underlay file ------------------------------- - -While I've gotten translated underlays working, there is a bug -if the wiki is currently using a page from the underlay, and the master -language version is edited. This causes the edited page to be saved -to srcdir.. and all the translations get set to 0% and their -po files have the translated strings "emptied". What's really going on -is that these are entirely new po files not based on the old ones -in the basewiki, and thus lacking translations. --[[Joey]] - Documentation ------------- -- cgit v1.2.3 From fd80cec18d4ad6f2f1ecbe1feb37f065b6bb1f26 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 10 Aug 2009 16:31:51 -0400 Subject: idea --- doc/todo/paste_plugin.mdwn | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 doc/todo/paste_plugin.mdwn diff --git a/doc/todo/paste_plugin.mdwn b/doc/todo/paste_plugin.mdwn new file mode 100644 index 000000000..83384a8d7 --- /dev/null +++ b/doc/todo/paste_plugin.mdwn @@ -0,0 +1,36 @@ +It was suggested that using ikiwiki as an alternative to pastebin services +could be useful, especially if you want pastes to not expire and be +cloneable. + +All you really need is a special purpose ikiwiki instance that you commit +to by git. But a web interface for pasting could also be nice. + +There could be a directive that inserts a paste form onto a page. The form +would have a big textarea for pasting into, and might also have a file +upload button (for uploading instead of pasting). It could also copy the +page edit form's dropdown of markup types, which would be especially useful +if using the highlight plugin to support programming languages. The default +should probably be txt, not mdwn, if the txt plugin is enabled. + +(There's a lot of overlap between that and editpage of course .. similar +to the overlap between the comment form and editpage.) + +When posted, the form would just come up with a new, numeric subpage +of the page it appears on, and save the paste there. + +Another thing that might be useful is a "copy" (or "paste as new") action +on the action bar. This would take an existing paste and copy it into the +paste edit form, for editing and saving under a new id. + +--- + +A sample wiki configuration using this might be: + +* enable highlight and txt +* enable anonok so anyone can paste; lock anonymous users down to only + creating new pastes, not editing other pages +* disable modification of existing pastes (how? disabling editpage would + work, but that would disallow setting up anonymous git push) +* enable comments, so that each paste can be commented on +* enable getsource, so the source to a paste can easily be downloaded +* optionally, enable untrusted git push -- cgit v1.2.3 From 24d1cf19b8d711c445e1faf825889dd6cfd5bf4b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 10 Aug 2009 16:34:14 -0400 Subject: typo --- doc/tips/untrusted_git_push.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tips/untrusted_git_push.mdwn b/doc/tips/untrusted_git_push.mdwn index aef67a3db..3573a0ddf 100644 --- a/doc/tips/untrusted_git_push.mdwn +++ b/doc/tips/untrusted_git_push.mdwn @@ -74,7 +74,7 @@ Once you're done modifying the setup file, don't forget to run You'll need to arrange the permissions on your bare git repository so that user anon can write to it. One way to do it is to create a group, and put -both anon and your regular user in that group. Then make make the bare git +both anon and your regular user in that group. Then make the bare git repository owned and writable by the group. See [[rcs/git]] for some more tips on setting up a git repository with multiple committers. -- cgit v1.2.3 From 8364adcfb75bbf755844c0fd17dc9e393737a960 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 11 Aug 2009 15:19:19 -0400 Subject: releasing version 3.15 --- debian/changelog | 4 +- po/bg.po | 189 +++++++++++++++++++++++++++++++------------------------ po/cs.po | 189 +++++++++++++++++++++++++++++++------------------------ po/da.po | 117 ++++++++++++++++++++-------------- po/de.po | 117 ++++++++++++++++++++-------------- po/es.po | 114 +++++++++++++++++++-------------- po/fr.po | 114 +++++++++++++++++++-------------- po/gu.po | 189 +++++++++++++++++++++++++++++++------------------------ po/ikiwiki.pot | 165 ++++++++++++++++++++++++++---------------------- po/pl.po | 189 +++++++++++++++++++++++++++++++------------------------ po/sv.po | 189 +++++++++++++++++++++++++++++++------------------------ po/vi.po | 189 +++++++++++++++++++++++++++++++------------------------ 12 files changed, 1003 insertions(+), 762 deletions(-) diff --git a/debian/changelog b/debian/changelog index e370a33ef..d02ce888e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -ikiwiki (3.15) UNRELEASED; urgency=low +ikiwiki (3.15) unstable; urgency=low * Add new hooks: canremove, canrename, rename. (intrigeri) * rename: Refactor subpage rename handling code into rename hook. (intrigeri) @@ -18,7 +18,7 @@ ikiwiki (3.15) UNRELEASED; urgency=low pages to inline, in a specific order, without using a PageSpec. (smcv) * Add getsource plugin (Will, smcv) - -- Joey Hess Tue, 02 Jun 2009 17:03:41 -0400 + -- Joey Hess Tue, 11 Aug 2009 14:59:31 -0400 ikiwiki (3.14159) unstable; urgency=low diff --git a/po/bg.po b/po/bg.po index 9c03e3b87..8ffbf26a4 100644 --- a/po/bg.po +++ b/po/bg.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: ikiwiki-bg\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-20 06:45+0200\n" +"POT-Creation-Date: 2009-08-11 15:00-0400\n" "PO-Revision-Date: 2007-01-12 01:19+0200\n" "Last-Translator: Damyan Ivanov \n" "Language-Team: Bulgarian \n" @@ -22,7 +22,7 @@ msgstr "Първо трябва да влезете." #: ../IkiWiki/CGI.pm:146 msgid "" -"probable misconfiguration: sslcookie is set, but you are attepting to login " +"probable misconfiguration: sslcookie is set, but you are attempting to login " "via http, not https" msgstr "" @@ -147,8 +147,9 @@ msgid "Must specify %s" msgstr "" #: ../IkiWiki/Plugin/amazon_s3.pm:136 -msgid "Failed to create bucket in S3: " -msgstr "" +#, fuzzy +msgid "Failed to create S3 bucket: " +msgstr "Грешка при изпращане на поща" #: ../IkiWiki/Plugin/amazon_s3.pm:221 #, fuzzy @@ -188,10 +189,10 @@ msgid "" msgstr "" #: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:233 -#: ../IkiWiki/Plugin/inline.pm:357 ../IkiWiki/Plugin/inline.pm:365 +#: ../IkiWiki/Plugin/inline.pm:376 ../IkiWiki/Plugin/inline.pm:384 #: ../IkiWiki/Plugin/opendiscussion.pm:26 ../IkiWiki/Plugin/orphans.pm:37 -#: ../IkiWiki/Plugin/po.pm:283 ../IkiWiki/Plugin/po.pm:286 -#: ../IkiWiki/Render.pm:80 ../IkiWiki/Render.pm:84 ../IkiWiki/Render.pm:150 +#: ../IkiWiki/Plugin/po.pm:289 ../IkiWiki/Plugin/po.pm:292 +#: ../IkiWiki/Render.pm:86 ../IkiWiki/Render.pm:90 ../IkiWiki/Render.pm:156 msgid "Discussion" msgstr "Дискусия" @@ -335,6 +336,26 @@ msgstr "" msgid "fortune failed" msgstr "грешшка в приставката „fortune”" +#: ../IkiWiki/Plugin/getsource.pm:62 ../IkiWiki/Plugin/goto.pm:55 +#, fuzzy +msgid "missing page" +msgstr "липсващ параметър „id” на шаблона" + +#: ../IkiWiki/Plugin/getsource.pm:64 ../IkiWiki/Plugin/goto.pm:57 +#, perl-format +msgid "The page %s does not exist." +msgstr "" + +#: ../IkiWiki/Plugin/getsource.pm:73 +#, fuzzy +msgid "not a page" +msgstr "грешка при четене на „%s”: %s" + +#: ../IkiWiki/Plugin/getsource.pm:75 +#, perl-format +msgid "%s is an attachment, not a page." +msgstr "" + #: ../IkiWiki/Plugin/git.pm:626 ../IkiWiki/Plugin/git.pm:644 #: ../IkiWiki/Receive.pm:129 #, perl-format @@ -360,16 +381,6 @@ msgstr "При използване на приеставката „search” msgid "Failed to parse url, cannot determine domain name" msgstr "" -#: ../IkiWiki/Plugin/goto.pm:55 -#, fuzzy -msgid "missing page" -msgstr "липсващ параметър „id” на шаблона" - -#: ../IkiWiki/Plugin/goto.pm:57 -#, perl-format -msgid "The page %s does not exist." -msgstr "" - #: ../IkiWiki/Plugin/graphviz.pm:67 #, fuzzy msgid "failed to run graphviz" @@ -394,28 +405,28 @@ msgid "" "warning: highlight perl module not available; falling back to pass through" msgstr "" -#: ../IkiWiki/Plugin/img.pm:62 +#: ../IkiWiki/Plugin/img.pm:63 #, fuzzy msgid "Image::Magick is not installed" msgstr "не е инсталиран polygen" -#: ../IkiWiki/Plugin/img.pm:69 +#: ../IkiWiki/Plugin/img.pm:72 #, perl-format msgid "wrong size format \"%s\" (should be WxH)" msgstr "" -#: ../IkiWiki/Plugin/img.pm:80 ../IkiWiki/Plugin/img.pm:84 -#: ../IkiWiki/Plugin/img.pm:101 +#: ../IkiWiki/Plugin/img.pm:83 ../IkiWiki/Plugin/img.pm:87 +#: ../IkiWiki/Plugin/img.pm:104 #, fuzzy, perl-format msgid "failed to read %s: %s" msgstr "грешка при запис на файла „%s”: %s" -#: ../IkiWiki/Plugin/img.pm:87 +#: ../IkiWiki/Plugin/img.pm:90 #, fuzzy, perl-format msgid "failed to resize: %s" msgstr "грешка при запис на файла „%s”: %s" -#: ../IkiWiki/Plugin/img.pm:118 +#: ../IkiWiki/Plugin/img.pm:119 #, fuzzy, perl-format msgid "failed to determine size of image %s" msgstr "грешка при запис на файла „%s”: %s" @@ -436,25 +447,30 @@ msgstr "шаблонът „%s” не е намерен" msgid "missing pages parameter" msgstr "липсващ параметър „id” на шаблона" -#: ../IkiWiki/Plugin/inline.pm:196 +#: ../IkiWiki/Plugin/inline.pm:192 +#, perl-format +msgid "the %s and %s parameters cannot be used together" +msgstr "" + +#: ../IkiWiki/Plugin/inline.pm:214 msgid "Sort::Naturally needed for title_natural sort" msgstr "" -#: ../IkiWiki/Plugin/inline.pm:207 +#: ../IkiWiki/Plugin/inline.pm:225 #, perl-format msgid "unknown sort type %s" msgstr "непознат вид сортиране „%s”" -#: ../IkiWiki/Plugin/inline.pm:310 +#: ../IkiWiki/Plugin/inline.pm:329 msgid "Add a new post titled:" msgstr "" -#: ../IkiWiki/Plugin/inline.pm:330 +#: ../IkiWiki/Plugin/inline.pm:349 #, perl-format msgid "nonexistant template %s" msgstr "" -#: ../IkiWiki/Plugin/inline.pm:596 +#: ../IkiWiki/Plugin/inline.pm:615 msgid "RPC::XML::Client not found, not pinging" msgstr "модулът „RPC::XML::Client” не е намерен; източникът не е проверен" @@ -520,7 +536,8 @@ msgid "Get an OpenID" msgstr "Получаване на OpenID номер" #: ../IkiWiki/Plugin/orphans.pm:52 -msgid "All pages are linked to by other pages." +#, fuzzy +msgid "All pages have other pages linking to them." msgstr "Всички страници имат връзки от други страници." #: ../IkiWiki/Plugin/pagetemplate.pm:30 @@ -578,103 +595,106 @@ msgstr "" msgid "LWP not found, not pinging" msgstr "модулът „RPC::XML::Client” не е намерен; източникът не е проверен" -#: ../IkiWiki/Plugin/po.pm:130 -msgid "" -"At least one slave language must be defined in po_slave_languages when using " -"the po plugin" -msgstr "" - -#: ../IkiWiki/Plugin/po.pm:136 +#: ../IkiWiki/Plugin/po.pm:131 #, perl-format msgid "%s is not a valid language code" msgstr "" -#: ../IkiWiki/Plugin/po.pm:148 +#: ../IkiWiki/Plugin/po.pm:143 #, perl-format msgid "" "%s is not a valid value for po_link_to, falling back to po_link_to=default" msgstr "" -#: ../IkiWiki/Plugin/po.pm:153 +#: ../IkiWiki/Plugin/po.pm:148 msgid "" "po_link_to=negotiated requires usedirs to be enabled, falling back to " "po_link_to=default" msgstr "" -#: ../IkiWiki/Plugin/po.pm:276 +#: ../IkiWiki/Plugin/po.pm:282 msgid "discussion" msgstr "дискусия" -#: ../IkiWiki/Plugin/po.pm:373 +#: ../IkiWiki/Plugin/po.pm:379 #, perl-format -msgid "re-rendering all pages to fix meta titles" +msgid "rebuilding all pages to fix meta titles" msgstr "" -#: ../IkiWiki/Plugin/po.pm:377 ../IkiWiki/Render.pm:415 -#, perl-format -msgid "rendering %s" -msgstr "обновяване на страницата „%s”" +#: ../IkiWiki/Plugin/po.pm:383 ../IkiWiki/Render.pm:421 +#, fuzzy, perl-format +msgid "building %s" +msgstr "промяна на %s" -#: ../IkiWiki/Plugin/po.pm:410 +#: ../IkiWiki/Plugin/po.pm:420 msgid "updated PO files" msgstr "" -#: ../IkiWiki/Plugin/po.pm:434 +#: ../IkiWiki/Plugin/po.pm:444 msgid "" -"Can not remove a translation. Removing the master page, though, removes its " -"translations as well." +"Can not remove a translation. If the master page is removed, however, its " +"translations will be removed as well." msgstr "" -#: ../IkiWiki/Plugin/po.pm:454 +#: ../IkiWiki/Plugin/po.pm:464 msgid "" -"Can not rename a translation. Renaming the master page, though, renames its " -"translations as well." +"Can not rename a translation. If the master page is renamed, however, its " +"translations will be renamed as well." msgstr "" -#: ../IkiWiki/Plugin/po.pm:816 +#: ../IkiWiki/Plugin/po.pm:825 #, perl-format msgid "POT file (%s) does not exist" msgstr "" -#: ../IkiWiki/Plugin/po.pm:824 +#: ../IkiWiki/Plugin/po.pm:839 +#, fuzzy, perl-format +msgid "failed to copy underlay PO file to %s" +msgstr "крешка при компилиране на файла %s" + +#: ../IkiWiki/Plugin/po.pm:848 #, fuzzy, perl-format msgid "failed to update %s" msgstr "крешка при компилиране на файла %s" -#: ../IkiWiki/Plugin/po.pm:830 +#: ../IkiWiki/Plugin/po.pm:854 #, fuzzy, perl-format msgid "failed to copy the POT file to %s" msgstr "крешка при компилиране на файла %s" -#: ../IkiWiki/Plugin/po.pm:866 +#: ../IkiWiki/Plugin/po.pm:890 msgid "N/A" msgstr "" -#: ../IkiWiki/Plugin/po.pm:879 +#: ../IkiWiki/Plugin/po.pm:903 #, fuzzy, perl-format msgid "failed to translate %s" msgstr "грешка при запис на файла „%s”: %s" -#: ../IkiWiki/Plugin/po.pm:955 +#: ../IkiWiki/Plugin/po.pm:979 msgid "removed obsolete PO files" msgstr "" -#: ../IkiWiki/Plugin/po.pm:1018 ../IkiWiki/Plugin/po.pm:1032 -#: ../IkiWiki/Plugin/po.pm:1072 +#: ../IkiWiki/Plugin/po.pm:1042 ../IkiWiki/Plugin/po.pm:1056 +#: ../IkiWiki/Plugin/po.pm:1096 #, fuzzy, perl-format msgid "failed to write %s" msgstr "грешка при запис на файла „%s”: %s" -#: ../IkiWiki/Plugin/po.pm:1030 +#: ../IkiWiki/Plugin/po.pm:1054 #, fuzzy msgid "failed to translate" msgstr "приставката „linkmap”: грешка при изпълнение на „dot”" -#: ../IkiWiki/Plugin/po.pm:1035 +#: ../IkiWiki/Plugin/po.pm:1059 #, fuzzy, perl-format msgid "failed to read %s" msgstr "грешка при запис на файла „%s”: %s" +#: ../IkiWiki/Plugin/po.pm:1108 +msgid "invalid gettext data, go back to previous page to continue edit" +msgstr "" + #: ../IkiWiki/Plugin/poll.pm:69 msgid "vote" msgstr "гласуване" @@ -1023,56 +1043,56 @@ msgstr "" msgid "bad file name %s" msgstr "пропускане на невалидното име на файл „%s”" -#: ../IkiWiki/Render.pm:254 +#: ../IkiWiki/Render.pm:260 #, perl-format msgid "" "symlink found in srcdir path (%s) -- set allow_symlinks_before_srcdir to " "allow this" msgstr "" -#: ../IkiWiki/Render.pm:277 ../IkiWiki/Render.pm:302 +#: ../IkiWiki/Render.pm:283 ../IkiWiki/Render.pm:308 #, perl-format msgid "skipping bad filename %s" msgstr "пропускане на невалидното име на файл „%s”" -#: ../IkiWiki/Render.pm:284 +#: ../IkiWiki/Render.pm:290 #, perl-format msgid "%s has multiple possible source pages" msgstr "" -#: ../IkiWiki/Render.pm:370 +#: ../IkiWiki/Render.pm:376 #, perl-format msgid "removing old page %s" msgstr "премахване на старата страница „%s”" -#: ../IkiWiki/Render.pm:410 +#: ../IkiWiki/Render.pm:416 #, perl-format msgid "scanning %s" msgstr "сканиране на „%s”" -#: ../IkiWiki/Render.pm:436 -#, perl-format -msgid "rendering %s, which links to %s" +#: ../IkiWiki/Render.pm:442 +#, fuzzy, perl-format +msgid "building %s, which links to %s" msgstr "обновяване на страницата „%s”, съдържаща препратки към „%s”" -#: ../IkiWiki/Render.pm:457 -#, perl-format -msgid "rendering %s, which depends on %s" +#: ../IkiWiki/Render.pm:463 +#, fuzzy, perl-format +msgid "building %s, which depends on %s" msgstr "обновяване на страницата „%s”, зависеща от „%s”" -#: ../IkiWiki/Render.pm:496 -#, perl-format -msgid "rendering %s, to update its backlinks" +#: ../IkiWiki/Render.pm:502 +#, fuzzy, perl-format +msgid "building %s, to update its backlinks" msgstr "обновяване на „%s” и осъвременяване на обратните връзки" -#: ../IkiWiki/Render.pm:508 -#, perl-format -msgid "removing %s, no longer rendered by %s" +#: ../IkiWiki/Render.pm:514 +#, fuzzy, perl-format +msgid "removing %s, no longer built by %s" msgstr "премахване на „%s” понеже не се генерира от „%s”" -#: ../IkiWiki/Render.pm:532 -#, perl-format -msgid "ikiwiki: cannot render %s" +#: ../IkiWiki/Render.pm:538 +#, fuzzy, perl-format +msgid "ikiwiki: cannot build %s" msgstr "ikiwiki: неуспех при обновяване на страницата „%s”" #. translators: The first parameter is a filename, and the second @@ -1191,13 +1211,16 @@ msgid "What revision control system to use?" msgstr "" #: ../auto.setup:20 -msgid "What wiki user (or openid) will be admin?" +msgid "Which user (wiki account or openid) will be admin?" msgstr "" #: ../auto.setup:23 msgid "What is the domain name of the web server?" msgstr "" +#~ msgid "rendering %s" +#~ msgstr "обновяване на страницата „%s”" + #, fuzzy #~ msgid "Must specify %s when using the google search plugin" #~ msgstr "" diff --git a/po/cs.po b/po/cs.po index b629e20a9..e377b0cf2 100644 --- a/po/cs.po +++ b/po/cs.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: ikiwiki\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-20 06:45+0200\n" +"POT-Creation-Date: 2009-08-11 15:00-0400\n" "PO-Revision-Date: 2007-05-09 21:21+0200\n" "Last-Translator: Miroslav Kure \n" "Language-Team: Czech \n" @@ -21,7 +21,7 @@ msgstr "Nejprve se musíte přihlásit." #: ../IkiWiki/CGI.pm:146 msgid "" -"probable misconfiguration: sslcookie is set, but you are attepting to login " +"probable misconfiguration: sslcookie is set, but you are attempting to login " "via http, not https" msgstr "" @@ -144,8 +144,9 @@ msgid "Must specify %s" msgstr "" #: ../IkiWiki/Plugin/amazon_s3.pm:136 -msgid "Failed to create bucket in S3: " -msgstr "" +#, fuzzy +msgid "Failed to create S3 bucket: " +msgstr "Nepodařilo se odeslat email." #: ../IkiWiki/Plugin/amazon_s3.pm:221 #, fuzzy @@ -185,10 +186,10 @@ msgid "" msgstr "" #: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:233 -#: ../IkiWiki/Plugin/inline.pm:357 ../IkiWiki/Plugin/inline.pm:365 +#: ../IkiWiki/Plugin/inline.pm:376 ../IkiWiki/Plugin/inline.pm:384 #: ../IkiWiki/Plugin/opendiscussion.pm:26 ../IkiWiki/Plugin/orphans.pm:37 -#: ../IkiWiki/Plugin/po.pm:283 ../IkiWiki/Plugin/po.pm:286 -#: ../IkiWiki/Render.pm:80 ../IkiWiki/Render.pm:84 ../IkiWiki/Render.pm:150 +#: ../IkiWiki/Plugin/po.pm:289 ../IkiWiki/Plugin/po.pm:292 +#: ../IkiWiki/Render.pm:86 ../IkiWiki/Render.pm:90 ../IkiWiki/Render.pm:156 msgid "Discussion" msgstr "Diskuse" @@ -332,6 +333,26 @@ msgstr "" msgid "fortune failed" msgstr "fortune selhal" +#: ../IkiWiki/Plugin/getsource.pm:62 ../IkiWiki/Plugin/goto.pm:55 +#, fuzzy +msgid "missing page" +msgstr "chybí hodnoty" + +#: ../IkiWiki/Plugin/getsource.pm:64 ../IkiWiki/Plugin/goto.pm:57 +#, perl-format +msgid "The page %s does not exist." +msgstr "" + +#: ../IkiWiki/Plugin/getsource.pm:73 +#, fuzzy +msgid "not a page" +msgstr "nemohu číst %s: %s" + +#: ../IkiWiki/Plugin/getsource.pm:75 +#, fuzzy, perl-format +msgid "%s is an attachment, not a page." +msgstr "%s není editovatelná stránka" + #: ../IkiWiki/Plugin/git.pm:626 ../IkiWiki/Plugin/git.pm:644 #: ../IkiWiki/Receive.pm:129 #, perl-format @@ -357,16 +378,6 @@ msgstr "Při používání vyhledávacího modulu musíte zadat %s" msgid "Failed to parse url, cannot determine domain name" msgstr "" -#: ../IkiWiki/Plugin/goto.pm:55 -#, fuzzy -msgid "missing page" -msgstr "chybí hodnoty" - -#: ../IkiWiki/Plugin/goto.pm:57 -#, perl-format -msgid "The page %s does not exist." -msgstr "" - #: ../IkiWiki/Plugin/graphviz.pm:67 msgid "failed to run graphviz" msgstr "nepodařilo se spustit graphviz" @@ -390,28 +401,28 @@ msgid "" "warning: highlight perl module not available; falling back to pass through" msgstr "" -#: ../IkiWiki/Plugin/img.pm:62 +#: ../IkiWiki/Plugin/img.pm:63 #, fuzzy msgid "Image::Magick is not installed" msgstr "polygen není nainstalován" -#: ../IkiWiki/Plugin/img.pm:69 +#: ../IkiWiki/Plugin/img.pm:72 #, perl-format msgid "wrong size format \"%s\" (should be WxH)" msgstr "" -#: ../IkiWiki/Plugin/img.pm:80 ../IkiWiki/Plugin/img.pm:84 -#: ../IkiWiki/Plugin/img.pm:101 +#: ../IkiWiki/Plugin/img.pm:83 ../IkiWiki/Plugin/img.pm:87 +#: ../IkiWiki/Plugin/img.pm:104 #, perl-format msgid "failed to read %s: %s" msgstr "nelze číst %s: %s" -#: ../IkiWiki/Plugin/img.pm:87 +#: ../IkiWiki/Plugin/img.pm:90 #, perl-format msgid "failed to resize: %s" msgstr "nelze změnit velikost: %s" -#: ../IkiWiki/Plugin/img.pm:118 +#: ../IkiWiki/Plugin/img.pm:119 #, fuzzy, perl-format msgid "failed to determine size of image %s" msgstr "nelze změnit velikost: %s" @@ -430,25 +441,30 @@ msgstr "zdroj nebyl nalezen" msgid "missing pages parameter" msgstr "chybí parametr %s" -#: ../IkiWiki/Plugin/inline.pm:196 +#: ../IkiWiki/Plugin/inline.pm:192 +#, perl-format +msgid "the %s and %s parameters cannot be used together" +msgstr "" + +#: ../IkiWiki/Plugin/inline.pm:214 msgid "Sort::Naturally needed for title_natural sort" msgstr "" -#: ../IkiWiki/Plugin/inline.pm:207 +#: ../IkiWiki/Plugin/inline.pm:225 #, perl-format msgid "unknown sort type %s" msgstr "neznámý typ řazení %s" -#: ../IkiWiki/Plugin/inline.pm:310 +#: ../IkiWiki/Plugin/inline.pm:329 msgid "Add a new post titled:" msgstr "Přidat nový příspěvek nazvaný:" -#: ../IkiWiki/Plugin/inline.pm:330 +#: ../IkiWiki/Plugin/inline.pm:349 #, perl-format msgid "nonexistant template %s" msgstr "neexistující šablona %s" -#: ../IkiWiki/Plugin/inline.pm:596 +#: ../IkiWiki/Plugin/inline.pm:615 msgid "RPC::XML::Client not found, not pinging" msgstr "RPC::XML::Client nebyl nalezen, nepinkám" @@ -510,7 +526,8 @@ msgid "Get an OpenID" msgstr "Získat OpenID" #: ../IkiWiki/Plugin/orphans.pm:52 -msgid "All pages are linked to by other pages." +#, fuzzy +msgid "All pages have other pages linking to them." msgstr "Na každou stránku vede odkaz z jiné stránky." #: ../IkiWiki/Plugin/pagetemplate.pm:30 @@ -568,103 +585,106 @@ msgstr "" msgid "LWP not found, not pinging" msgstr "RPC::XML::Client nebyl nalezen, nepinkám" -#: ../IkiWiki/Plugin/po.pm:130 -msgid "" -"At least one slave language must be defined in po_slave_languages when using " -"the po plugin" -msgstr "" - -#: ../IkiWiki/Plugin/po.pm:136 +#: ../IkiWiki/Plugin/po.pm:131 #, fuzzy, perl-format msgid "%s is not a valid language code" msgstr "%s není editovatelná stránka" -#: ../IkiWiki/Plugin/po.pm:148 +#: ../IkiWiki/Plugin/po.pm:143 #, perl-format msgid "" "%s is not a valid value for po_link_to, falling back to po_link_to=default" msgstr "" -#: ../IkiWiki/Plugin/po.pm:153 +#: ../IkiWiki/Plugin/po.pm:148 msgid "" "po_link_to=negotiated requires usedirs to be enabled, falling back to " "po_link_to=default" msgstr "" -#: ../IkiWiki/Plugin/po.pm:276 +#: ../IkiWiki/Plugin/po.pm:282 msgid "discussion" msgstr "diskuse" -#: ../IkiWiki/Plugin/po.pm:373 +#: ../IkiWiki/Plugin/po.pm:379 #, perl-format -msgid "re-rendering all pages to fix meta titles" +msgid "rebuilding all pages to fix meta titles" msgstr "" -#: ../IkiWiki/Plugin/po.pm:377 ../IkiWiki/Render.pm:415 -#, perl-format -msgid "rendering %s" -msgstr "zpracovávám %s" +#: ../IkiWiki/Plugin/po.pm:383 ../IkiWiki/Render.pm:421 +#, fuzzy, perl-format +msgid "building %s" +msgstr "upravuji %s" -#: ../IkiWiki/Plugin/po.pm:410 +#: ../IkiWiki/Plugin/po.pm:420 msgid "updated PO files" msgstr "" -#: ../IkiWiki/Plugin/po.pm:434 +#: ../IkiWiki/Plugin/po.pm:444 msgid "" -"Can not remove a translation. Removing the master page, though, removes its " -"translations as well." +"Can not remove a translation. If the master page is removed, however, its " +"translations will be removed as well." msgstr "" -#: ../IkiWiki/Plugin/po.pm:454 +#: ../IkiWiki/Plugin/po.pm:464 msgid "" -"Can not rename a translation. Renaming the master page, though, renames its " -"translations as well." +"Can not rename a translation. If the master page is renamed, however, its " +"translations will be renamed as well." msgstr "" -#: ../IkiWiki/Plugin/po.pm:816 +#: ../IkiWiki/Plugin/po.pm:825 #, perl-format msgid "POT file (%s) does not exist" msgstr "" -#: ../IkiWiki/Plugin/po.pm:824 +#: ../IkiWiki/Plugin/po.pm:839 +#, fuzzy, perl-format +msgid "failed to copy underlay PO file to %s" +msgstr "nelze zkompilovat %s" + +#: ../IkiWiki/Plugin/po.pm:848 #, fuzzy, perl-format msgid "failed to update %s" msgstr "nelze zkompilovat %s" -#: ../IkiWiki/Plugin/po.pm:830 +#: ../IkiWiki/Plugin/po.pm:854 #, fuzzy, perl-format msgid "failed to copy the POT file to %s" msgstr "nelze zkompilovat %s" -#: ../IkiWiki/Plugin/po.pm:866 +#: ../IkiWiki/Plugin/po.pm:890 msgid "N/A" msgstr "" -#: ../IkiWiki/Plugin/po.pm:879 +#: ../IkiWiki/Plugin/po.pm:903 #, fuzzy, perl-format msgid "failed to translate %s" msgstr "nelze změnit velikost: %s" -#: ../IkiWiki/Plugin/po.pm:955 +#: ../IkiWiki/Plugin/po.pm:979 msgid "removed obsolete PO files" msgstr "" -#: ../IkiWiki/Plugin/po.pm:1018 ../IkiWiki/Plugin/po.pm:1032 -#: ../IkiWiki/Plugin/po.pm:1072 +#: ../IkiWiki/Plugin/po.pm:1042 ../IkiWiki/Plugin/po.pm:1056 +#: ../IkiWiki/Plugin/po.pm:1096 #, fuzzy, perl-format msgid "failed to write %s" msgstr "nelze zapsat %s: %s" -#: ../IkiWiki/Plugin/po.pm:1030 +#: ../IkiWiki/Plugin/po.pm:1054 #, fuzzy msgid "failed to translate" msgstr "nepodařilo se spustit dot" -#: ../IkiWiki/Plugin/po.pm:1035 +#: ../IkiWiki/Plugin/po.pm:1059 #, fuzzy, perl-format msgid "failed to read %s" msgstr "nelze číst %s: %s" +#: ../IkiWiki/Plugin/po.pm:1108 +msgid "invalid gettext data, go back to previous page to continue edit" +msgstr "" + #: ../IkiWiki/Plugin/poll.pm:69 msgid "vote" msgstr "hlasovat" @@ -1009,56 +1029,56 @@ msgstr "" msgid "bad file name %s" msgstr "přeskakuji chybné jméno souboru %s" -#: ../IkiWiki/Render.pm:254 +#: ../IkiWiki/Render.pm:260 #, perl-format msgid "" "symlink found in srcdir path (%s) -- set allow_symlinks_before_srcdir to " "allow this" msgstr "" -#: ../IkiWiki/Render.pm:277 ../IkiWiki/Render.pm:302 +#: ../IkiWiki/Render.pm:283 ../IkiWiki/Render.pm:308 #, perl-format msgid "skipping bad filename %s" msgstr "přeskakuji chybné jméno souboru %s" -#: ../IkiWiki/Render.pm:284 +#: ../IkiWiki/Render.pm:290 #, perl-format msgid "%s has multiple possible source pages" msgstr "" -#: ../IkiWiki/Render.pm:370 +#: ../IkiWiki/Render.pm:376 #, perl-format msgid "removing old page %s" msgstr "odstraňuji starou stránku %s" -#: ../IkiWiki/Render.pm:410 +#: ../IkiWiki/Render.pm:416 #, perl-format msgid "scanning %s" msgstr "prohledávám %s" -#: ../IkiWiki/Render.pm:436 -#, perl-format -msgid "rendering %s, which links to %s" +#: ../IkiWiki/Render.pm:442 +#, fuzzy, perl-format +msgid "building %s, which links to %s" msgstr "zpracovávám %s, která odkazuje na %s" -#: ../IkiWiki/Render.pm:457 -#, perl-format -msgid "rendering %s, which depends on %s" +#: ../IkiWiki/Render.pm:463 +#, fuzzy, perl-format +msgid "building %s, which depends on %s" msgstr "zpracovávám %s, která závisí na %s" -#: ../IkiWiki/Render.pm:496 -#, perl-format -msgid "rendering %s, to update its backlinks" +#: ../IkiWiki/Render.pm:502 +#, fuzzy, perl-format +msgid "building %s, to update its backlinks" msgstr "zpracovávám %s, aby se aktualizovaly zpětné odkazy" -#: ../IkiWiki/Render.pm:508 -#, perl-format -msgid "removing %s, no longer rendered by %s" +#: ../IkiWiki/Render.pm:514 +#, fuzzy, perl-format +msgid "removing %s, no longer built by %s" msgstr "odstraňuji %s, již není zpracovávána %s" -#: ../IkiWiki/Render.pm:532 -#, perl-format -msgid "ikiwiki: cannot render %s" +#: ../IkiWiki/Render.pm:538 +#, fuzzy, perl-format +msgid "ikiwiki: cannot build %s" msgstr "ikiwiki: nelze zpracovat %s" #. translators: The first parameter is a filename, and the second @@ -1175,13 +1195,16 @@ msgid "What revision control system to use?" msgstr "" #: ../auto.setup:20 -msgid "What wiki user (or openid) will be admin?" +msgid "Which user (wiki account or openid) will be admin?" msgstr "" #: ../auto.setup:23 msgid "What is the domain name of the web server?" msgstr "" +#~ msgid "rendering %s" +#~ msgstr "zpracovávám %s" + #, fuzzy #~ msgid "Must specify %s when using the google search plugin" #~ msgstr "Při používání vyhledávacího modulu musíte zadat %s" diff --git a/po/da.po b/po/da.po index b0f5d7a5f..9ced576d8 100644 --- a/po/da.po +++ b/po/da.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: ikiwiki 3.14159\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-23 01:01+0200\n" +"POT-Creation-Date: 2009-08-11 15:00-0400\n" "PO-Revision-Date: 2009-07-23 01:07+0200\n" "Last-Translator: Jonas Smedegaard \n" "Language-Team: None\n" @@ -150,15 +150,18 @@ msgid "Must specify %s" msgstr "Skal angive %s" #: ../IkiWiki/Plugin/amazon_s3.pm:136 -msgid "Failed to create bucket inside S3: " +#, fuzzy +msgid "Failed to create S3 bucket: " msgstr "Oprettelse af bundt i S3 mislykkedes: " #: ../IkiWiki/Plugin/amazon_s3.pm:221 -msgid "Failed to save file into S3: " +#, fuzzy +msgid "Failed to save file to S3: " msgstr "Arkivering af fil i S3 mislykkedes: " #: ../IkiWiki/Plugin/amazon_s3.pm:243 -msgid "Failed to delete file inside S3: " +#, fuzzy +msgid "Failed to delete file from S3: " msgstr "Sletning af fil fra S3 mislykkedes: " #: ../IkiWiki/Plugin/attachment.pm:49 @@ -191,10 +194,10 @@ msgstr "" "a>: " #: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:233 -#: ../IkiWiki/Plugin/inline.pm:357 ../IkiWiki/Plugin/inline.pm:365 +#: ../IkiWiki/Plugin/inline.pm:376 ../IkiWiki/Plugin/inline.pm:384 #: ../IkiWiki/Plugin/opendiscussion.pm:26 ../IkiWiki/Plugin/orphans.pm:37 #: ../IkiWiki/Plugin/po.pm:289 ../IkiWiki/Plugin/po.pm:292 -#: ../IkiWiki/Render.pm:80 ../IkiWiki/Render.pm:84 ../IkiWiki/Render.pm:150 +#: ../IkiWiki/Render.pm:86 ../IkiWiki/Render.pm:90 ../IkiWiki/Render.pm:156 msgid "Discussion" msgstr "Diskussion" @@ -335,6 +338,25 @@ msgstr "skal angive format og tekst" msgid "fortune failed" msgstr "spådom (fortune) fejlede" +#: ../IkiWiki/Plugin/getsource.pm:62 ../IkiWiki/Plugin/goto.pm:55 +msgid "missing page" +msgstr "manglende side" + +#: ../IkiWiki/Plugin/getsource.pm:64 ../IkiWiki/Plugin/goto.pm:57 +#, perl-format +msgid "The page %s does not exist." +msgstr "Siden %s eksisterer ikke." + +#: ../IkiWiki/Plugin/getsource.pm:73 +#, fuzzy +msgid "not a page" +msgstr "kan ikke få sider til at passe sammen: %s" + +#: ../IkiWiki/Plugin/getsource.pm:75 +#, fuzzy, perl-format +msgid "%s is an attachment, not a page." +msgstr "%s er ikke en redigérbar side" + #: ../IkiWiki/Plugin/git.pm:626 ../IkiWiki/Plugin/git.pm:644 #: ../IkiWiki/Receive.pm:129 #, perl-format @@ -360,15 +382,6 @@ msgstr "Skal angive %s når udvidelsen %s bruges" msgid "Failed to parse url, cannot determine domain name" msgstr "Tolkning af URL mislykkedes, kan ikke afgøre domænenavn" -#: ../IkiWiki/Plugin/goto.pm:55 -msgid "missing page" -msgstr "manglende side" - -#: ../IkiWiki/Plugin/goto.pm:57 -#, perl-format -msgid "The page %s does not exist." -msgstr "Siden %s eksisterer ikke." - #: ../IkiWiki/Plugin/graphviz.pm:67 msgid "failed to run graphviz" msgstr "graphviz-kørsel mislykkedes" @@ -394,27 +407,27 @@ msgstr "" "advarsel: highlight perl modul ikke tilgængelig: falder tilbage til simpel " "gennemkørsel" -#: ../IkiWiki/Plugin/img.pm:62 +#: ../IkiWiki/Plugin/img.pm:63 msgid "Image::Magick is not installed" msgstr "Image::Magick ikke installeret" -#: ../IkiWiki/Plugin/img.pm:69 +#: ../IkiWiki/Plugin/img.pm:72 #, perl-format msgid "wrong size format \"%s\" (should be WxH)" msgstr "forkert størrelsesformat \"%s\" (burde være WxH)" -#: ../IkiWiki/Plugin/img.pm:80 ../IkiWiki/Plugin/img.pm:84 -#: ../IkiWiki/Plugin/img.pm:101 +#: ../IkiWiki/Plugin/img.pm:83 ../IkiWiki/Plugin/img.pm:87 +#: ../IkiWiki/Plugin/img.pm:104 #, perl-format msgid "failed to read %s: %s" msgstr "læsning af %s mislykkedes: %s" -#: ../IkiWiki/Plugin/img.pm:87 +#: ../IkiWiki/Plugin/img.pm:90 #, perl-format msgid "failed to resize: %s" msgstr "Ændring af størrelse mislykkedes: %s" -#: ../IkiWiki/Plugin/img.pm:118 +#: ../IkiWiki/Plugin/img.pm:119 #, perl-format msgid "failed to determine size of image %s" msgstr "Vurdering af billedstørrelse mislykkedes: %s" @@ -431,25 +444,30 @@ msgstr "sideredigering er ikke tilladt" msgid "missing pages parameter" msgstr "mangler pages-parametren" -#: ../IkiWiki/Plugin/inline.pm:196 +#: ../IkiWiki/Plugin/inline.pm:192 +#, perl-format +msgid "the %s and %s parameters cannot be used together" +msgstr "" + +#: ../IkiWiki/Plugin/inline.pm:214 msgid "Sort::Naturally needed for title_natural sort" msgstr "Sort::Naturally krævet for title_natural sortering" -#: ../IkiWiki/Plugin/inline.pm:207 +#: ../IkiWiki/Plugin/inline.pm:225 #, perl-format msgid "unknown sort type %s" msgstr "ukendt sorteringsform %s" -#: ../IkiWiki/Plugin/inline.pm:310 +#: ../IkiWiki/Plugin/inline.pm:329 msgid "Add a new post titled:" msgstr "Tilføj nyt indlæg med følgende titel:" -#: ../IkiWiki/Plugin/inline.pm:330 +#: ../IkiWiki/Plugin/inline.pm:349 #, perl-format msgid "nonexistant template %s" msgstr "ikke-eksisterende skabelon: %s" -#: ../IkiWiki/Plugin/inline.pm:596 +#: ../IkiWiki/Plugin/inline.pm:615 msgid "RPC::XML::Client not found, not pinging" msgstr "RPC::XML::Client ikke fundet, pinger ikke" @@ -599,7 +617,7 @@ msgstr "diskussion" msgid "rebuilding all pages to fix meta titles" msgstr "gendanner alle sider for at korrigere meta titler" -#: ../IkiWiki/Plugin/po.pm:383 ../IkiWiki/Render.pm:415 +#: ../IkiWiki/Plugin/po.pm:383 ../IkiWiki/Render.pm:421 #, perl-format msgid "building %s" msgstr "danner %s" @@ -629,45 +647,50 @@ msgstr "" msgid "POT file (%s) does not exist" msgstr "POT-filen %s eksisterer ikke" -#: ../IkiWiki/Plugin/po.pm:833 +#: ../IkiWiki/Plugin/po.pm:839 +#, fuzzy, perl-format +msgid "failed to copy underlay PO file to %s" +msgstr "kopiering af POT-filen til %s mislykkedes" + +#: ../IkiWiki/Plugin/po.pm:848 #, perl-format msgid "failed to update %s" msgstr "opdatering af %s mislykkedes" -#: ../IkiWiki/Plugin/po.pm:839 +#: ../IkiWiki/Plugin/po.pm:854 #, perl-format msgid "failed to copy the POT file to %s" msgstr "kopiering af POT-filen til %s mislykkedes" -#: ../IkiWiki/Plugin/po.pm:875 +#: ../IkiWiki/Plugin/po.pm:890 msgid "N/A" msgstr "N/A" -#: ../IkiWiki/Plugin/po.pm:888 +#: ../IkiWiki/Plugin/po.pm:903 #, perl-format msgid "failed to translate %s" msgstr "oversættelse af %s mislykkedes" -#: ../IkiWiki/Plugin/po.pm:964 +#: ../IkiWiki/Plugin/po.pm:979 msgid "removed obsolete PO files" msgstr "forældede PO filer fjernet" -#: ../IkiWiki/Plugin/po.pm:1027 ../IkiWiki/Plugin/po.pm:1041 -#: ../IkiWiki/Plugin/po.pm:1081 +#: ../IkiWiki/Plugin/po.pm:1042 ../IkiWiki/Plugin/po.pm:1056 +#: ../IkiWiki/Plugin/po.pm:1096 #, perl-format msgid "failed to write %s" msgstr "skrivning af %s mislykkedes" -#: ../IkiWiki/Plugin/po.pm:1039 +#: ../IkiWiki/Plugin/po.pm:1054 msgid "failed to translate" msgstr "oversættelse mislykkedes" -#: ../IkiWiki/Plugin/po.pm:1044 +#: ../IkiWiki/Plugin/po.pm:1059 #, perl-format msgid "failed to read %s" msgstr "læsning af %s mislykkedes" -#: ../IkiWiki/Plugin/po.pm:1093 +#: ../IkiWiki/Plugin/po.pm:1108 msgid "invalid gettext data, go back to previous page to continue edit" msgstr "" "forkert gettext-data, gå tilbage til forrige side og fortsæt redigering" @@ -1011,7 +1034,7 @@ msgstr "kan ikke afgøre id for ikke-tillidsfulde skribent %s" msgid "bad file name %s" msgstr "dårligt filnavn %s" -#: ../IkiWiki/Render.pm:254 +#: ../IkiWiki/Render.pm:260 #, perl-format msgid "" "symlink found in srcdir path (%s) -- set allow_symlinks_before_srcdir to " @@ -1020,47 +1043,47 @@ msgstr "" "symbolsk lænke fundet i srcdir-sti (%s) -- sæt allow_symlinks_before_srcdir " "for at tillade dette" -#: ../IkiWiki/Render.pm:277 ../IkiWiki/Render.pm:302 +#: ../IkiWiki/Render.pm:283 ../IkiWiki/Render.pm:308 #, perl-format msgid "skipping bad filename %s" msgstr "udelader forkert filnavn %s" -#: ../IkiWiki/Render.pm:284 +#: ../IkiWiki/Render.pm:290 #, perl-format msgid "%s has multiple possible source pages" msgstr "%s har flere mulige kildesider" -#: ../IkiWiki/Render.pm:370 +#: ../IkiWiki/Render.pm:376 #, perl-format msgid "removing old page %s" msgstr "fjerner gammel side %s" -#: ../IkiWiki/Render.pm:410 +#: ../IkiWiki/Render.pm:416 #, perl-format msgid "scanning %s" msgstr "gennemlæser %s" -#: ../IkiWiki/Render.pm:436 +#: ../IkiWiki/Render.pm:442 #, perl-format msgid "building %s, which links to %s" msgstr "danner %s, som henviser til %s" -#: ../IkiWiki/Render.pm:457 +#: ../IkiWiki/Render.pm:463 #, perl-format msgid "building %s, which depends on %s" msgstr "danner %s, som afhænger af %s" -#: ../IkiWiki/Render.pm:496 +#: ../IkiWiki/Render.pm:502 #, perl-format msgid "building %s, to update its backlinks" msgstr "danner %s, for at opdatere dens krydshenvisninger (backlinks)" -#: ../IkiWiki/Render.pm:508 +#: ../IkiWiki/Render.pm:514 #, perl-format msgid "removing %s, no longer built by %s" msgstr "fjerner %s, ikke længere dannet af %s" -#: ../IkiWiki/Render.pm:532 +#: ../IkiWiki/Render.pm:538 #, perl-format msgid "ikiwiki: cannot build %s" msgstr "ikiwiki: kan ikke danne %s" diff --git a/po/de.po b/po/de.po index b5c7c9ec2..83a70bd9c 100644 --- a/po/de.po +++ b/po/de.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: ikiwiki 3.14159\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-23 01:01+0200\n" +"POT-Creation-Date: 2009-08-11 15:00-0400\n" "PO-Revision-Date: 2009-07-23 01:07+0100\n" "Last-Translator: Kurt Gramlich \n" "Language-Team: German \n" @@ -147,15 +147,18 @@ msgid "Must specify %s" msgstr "%s muss angegeben werden" #: ../IkiWiki/Plugin/amazon_s3.pm:136 -msgid "Failed to create bucket inside S3: " +#, fuzzy +msgid "Failed to create S3 bucket: " msgstr "Konnte Behälter (bucket) in S3 nicht anlegen: " #: ../IkiWiki/Plugin/amazon_s3.pm:221 -msgid "Failed to save file into S3: " +#, fuzzy +msgid "Failed to save file to S3: " msgstr "Konnte die Datei nicht in S3 speichern: " #: ../IkiWiki/Plugin/amazon_s3.pm:243 -msgid "Failed to delete file inside S3: " +#, fuzzy +msgid "Failed to delete file from S3: " msgstr "Konnte die Datei nicht in S3 löschen: " #: ../IkiWiki/Plugin/attachment.pm:49 @@ -188,10 +191,10 @@ msgstr "" "als Spam ein: " #: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:233 -#: ../IkiWiki/Plugin/inline.pm:357 ../IkiWiki/Plugin/inline.pm:365 +#: ../IkiWiki/Plugin/inline.pm:376 ../IkiWiki/Plugin/inline.pm:384 #: ../IkiWiki/Plugin/opendiscussion.pm:26 ../IkiWiki/Plugin/orphans.pm:37 #: ../IkiWiki/Plugin/po.pm:289 ../IkiWiki/Plugin/po.pm:292 -#: ../IkiWiki/Render.pm:80 ../IkiWiki/Render.pm:84 ../IkiWiki/Render.pm:150 +#: ../IkiWiki/Render.pm:86 ../IkiWiki/Render.pm:90 ../IkiWiki/Render.pm:156 msgid "Discussion" msgstr "Diskussion" @@ -333,6 +336,25 @@ msgstr "Format und Text müssen spezifiziert werden" msgid "fortune failed" msgstr "fortune fehlgeschlagen" +#: ../IkiWiki/Plugin/getsource.pm:62 ../IkiWiki/Plugin/goto.pm:55 +msgid "missing page" +msgstr "fehlende Seite" + +#: ../IkiWiki/Plugin/getsource.pm:64 ../IkiWiki/Plugin/goto.pm:57 +#, perl-format +msgid "The page %s does not exist." +msgstr "Die Seite %s existiert nicht." + +#: ../IkiWiki/Plugin/getsource.pm:73 +#, fuzzy +msgid "not a page" +msgstr "Kann die Seiten nicht zuordnen: %s" + +#: ../IkiWiki/Plugin/getsource.pm:75 +#, fuzzy, perl-format +msgid "%s is an attachment, not a page." +msgstr "Seite %s kann nicht bearbeitet werden" + #: ../IkiWiki/Plugin/git.pm:626 ../IkiWiki/Plugin/git.pm:644 #: ../IkiWiki/Receive.pm:129 #, perl-format @@ -358,15 +380,6 @@ msgstr "%s muss angegeben werden, wenn die %s Erweiterung verwandt wird" msgid "Failed to parse url, cannot determine domain name" msgstr "auswerten der URL fehlgeschlagen, konnte Domainnamen nicht feststellen" -#: ../IkiWiki/Plugin/goto.pm:55 -msgid "missing page" -msgstr "fehlende Seite" - -#: ../IkiWiki/Plugin/goto.pm:57 -#, perl-format -msgid "The page %s does not exist." -msgstr "Die Seite %s existiert nicht." - #: ../IkiWiki/Plugin/graphviz.pm:67 msgid "failed to run graphviz" msgstr "graphviz konnte nicht ausgeführt werden" @@ -392,27 +405,27 @@ msgstr "" "Warnung: das highlight Perlmodul ist nicht verfügbar; greife zurück auf pass " "through" -#: ../IkiWiki/Plugin/img.pm:62 +#: ../IkiWiki/Plugin/img.pm:63 msgid "Image::Magick is not installed" msgstr "Image::Magick ist nicht installiert" -#: ../IkiWiki/Plugin/img.pm:69 +#: ../IkiWiki/Plugin/img.pm:72 #, perl-format msgid "wrong size format \"%s\" (should be WxH)" msgstr "falsches Format in \"%s\" für size (sollte BxH sein)" -#: ../IkiWiki/Plugin/img.pm:80 ../IkiWiki/Plugin/img.pm:84 -#: ../IkiWiki/Plugin/img.pm:101 +#: ../IkiWiki/Plugin/img.pm:83 ../IkiWiki/Plugin/img.pm:87 +#: ../IkiWiki/Plugin/img.pm:104 #, perl-format msgid "failed to read %s: %s" msgstr "Lesen von %s fehlgeschlagen: %s" -#: ../IkiWiki/Plugin/img.pm:87 +#: ../IkiWiki/Plugin/img.pm:90 #, perl-format msgid "failed to resize: %s" msgstr "Größenänderung fehlgeschlagen: %s" -#: ../IkiWiki/Plugin/img.pm:118 +#: ../IkiWiki/Plugin/img.pm:119 #, perl-format msgid "failed to determine size of image %s" msgstr "Größe des Bildes %s konnte nicht festgestellt werden." @@ -431,25 +444,30 @@ msgstr "bearbeiten der Seiten nicht erlaubt" msgid "missing pages parameter" msgstr "fehlender Seitenparameter" -#: ../IkiWiki/Plugin/inline.pm:196 +#: ../IkiWiki/Plugin/inline.pm:192 +#, perl-format +msgid "the %s and %s parameters cannot be used together" +msgstr "" + +#: ../IkiWiki/Plugin/inline.pm:214 msgid "Sort::Naturally needed for title_natural sort" msgstr "Sort::Naturally wird benötigt für title_natural sort" -#: ../IkiWiki/Plugin/inline.pm:207 +#: ../IkiWiki/Plugin/inline.pm:225 #, perl-format msgid "unknown sort type %s" msgstr "Unbekannter Sortierungstyp %s" -#: ../IkiWiki/Plugin/inline.pm:310 +#: ../IkiWiki/Plugin/inline.pm:329 msgid "Add a new post titled:" msgstr "Füge einen neuen Beitrag hinzu. Titel:" -#: ../IkiWiki/Plugin/inline.pm:330 +#: ../IkiWiki/Plugin/inline.pm:349 #, perl-format msgid "nonexistant template %s" msgstr "nicht-vorhandene Vorlage %s" -#: ../IkiWiki/Plugin/inline.pm:596 +#: ../IkiWiki/Plugin/inline.pm:615 msgid "RPC::XML::Client not found, not pinging" msgstr "RPC::XML::Client nicht gefunden, führe Ping nicht aus" @@ -602,7 +620,7 @@ msgstr "Diskussion" msgid "rebuilding all pages to fix meta titles" msgstr "um die meta-titeln zu reparieren werden alle Seiten neu erstellt" -#: ../IkiWiki/Plugin/po.pm:383 ../IkiWiki/Render.pm:415 +#: ../IkiWiki/Plugin/po.pm:383 ../IkiWiki/Render.pm:421 #, perl-format msgid "building %s" msgstr "erzeuge %s" @@ -632,45 +650,50 @@ msgstr "" msgid "POT file (%s) does not exist" msgstr "POT-Datei (%s) existiert nicht" -#: ../IkiWiki/Plugin/po.pm:833 +#: ../IkiWiki/Plugin/po.pm:839 +#, fuzzy, perl-format +msgid "failed to copy underlay PO file to %s" +msgstr "kopieren der POT-Datei nach %s fehlgeschlagen" + +#: ../IkiWiki/Plugin/po.pm:848 #, perl-format msgid "failed to update %s" msgstr "aktualisieren von %s fehlgeschlagen" -#: ../IkiWiki/Plugin/po.pm:839 +#: ../IkiWiki/Plugin/po.pm:854 #, perl-format msgid "failed to copy the POT file to %s" msgstr "kopieren der POT-Datei nach %s fehlgeschlagen" -#: ../IkiWiki/Plugin/po.pm:875 +#: ../IkiWiki/Plugin/po.pm:890 msgid "N/A" msgstr "N/A" -#: ../IkiWiki/Plugin/po.pm:888 +#: ../IkiWiki/Plugin/po.pm:903 #, perl-format msgid "failed to translate %s" msgstr "übersetzen von %s fehlgeschlagen" -#: ../IkiWiki/Plugin/po.pm:964 +#: ../IkiWiki/Plugin/po.pm:979 msgid "removed obsolete PO files" msgstr "überflüssige PO-Dateien wurden entfernt" -#: ../IkiWiki/Plugin/po.pm:1027 ../IkiWiki/Plugin/po.pm:1041 -#: ../IkiWiki/Plugin/po.pm:1081 +#: ../IkiWiki/Plugin/po.pm:1042 ../IkiWiki/Plugin/po.pm:1056 +#: ../IkiWiki/Plugin/po.pm:1096 #, perl-format msgid "failed to write %s" msgstr "schreiben von %s fehlgeschlagen" -#: ../IkiWiki/Plugin/po.pm:1039 +#: ../IkiWiki/Plugin/po.pm:1054 msgid "failed to translate" msgstr "übersetzen fehlgeschlagen" -#: ../IkiWiki/Plugin/po.pm:1044 +#: ../IkiWiki/Plugin/po.pm:1059 #, perl-format msgid "failed to read %s" msgstr "lesen von %s fehlgeschlagen" -#: ../IkiWiki/Plugin/po.pm:1093 +#: ../IkiWiki/Plugin/po.pm:1108 msgid "invalid gettext data, go back to previous page to continue edit" msgstr "" "ungültige gettext Datei, gehe zurück zur vorherigen Seite um weiter zu " @@ -1020,7 +1043,7 @@ msgstr "" msgid "bad file name %s" msgstr "fehlerhafter Dateiname %s" -#: ../IkiWiki/Render.pm:254 +#: ../IkiWiki/Render.pm:260 #, perl-format msgid "" "symlink found in srcdir path (%s) -- set allow_symlinks_before_srcdir to " @@ -1029,47 +1052,47 @@ msgstr "" "symbolischer Verweis im srcdir Pfad (%s) gefunden -- setzen Sie " "allow_symlinks_before_srcdir, um dies zu erlauben" -#: ../IkiWiki/Render.pm:277 ../IkiWiki/Render.pm:302 +#: ../IkiWiki/Render.pm:283 ../IkiWiki/Render.pm:308 #, perl-format msgid "skipping bad filename %s" msgstr "überspringe fehlerhaften Dateinamen %s" -#: ../IkiWiki/Render.pm:284 +#: ../IkiWiki/Render.pm:290 #, perl-format msgid "%s has multiple possible source pages" msgstr "%s hat mehrere mögliche Quellseiten" -#: ../IkiWiki/Render.pm:370 +#: ../IkiWiki/Render.pm:376 #, perl-format msgid "removing old page %s" msgstr "entferne alte Seite %s" -#: ../IkiWiki/Render.pm:410 +#: ../IkiWiki/Render.pm:416 #, perl-format msgid "scanning %s" msgstr "durchsuche %s" -#: ../IkiWiki/Render.pm:436 +#: ../IkiWiki/Render.pm:442 #, perl-format msgid "building %s, which links to %s" msgstr "erzeuge %s, die auf %s verweist" -#: ../IkiWiki/Render.pm:457 +#: ../IkiWiki/Render.pm:463 #, perl-format msgid "building %s, which depends on %s" msgstr "erzeuge %s, die von %s abhängt" -#: ../IkiWiki/Render.pm:496 +#: ../IkiWiki/Render.pm:502 #, perl-format msgid "building %s, to update its backlinks" msgstr "erzeuge %s, um dessen Rückverweise zu aktualisieren" -#: ../IkiWiki/Render.pm:508 +#: ../IkiWiki/Render.pm:514 #, perl-format msgid "removing %s, no longer built by %s" msgstr "entferne %s, wird nicht länger von %s erzeugt" -#: ../IkiWiki/Render.pm:532 +#: ../IkiWiki/Render.pm:538 #, perl-format msgid "ikiwiki: cannot build %s" msgstr "ikiwiki: kann %s nicht erzeugen" diff --git a/po/es.po b/po/es.po index 9f7f2829b..65ad72140 100644 --- a/po/es.po +++ b/po/es.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: es\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-23 01:01+0200\n" +"POT-Creation-Date: 2009-08-11 15:00-0400\n" "PO-Revision-Date: 2009-06-14 12:32+0200\n" "Last-Translator: Victor Moral \n" "Language-Team: \n" @@ -153,17 +153,17 @@ msgstr "Debe especificar %s" #: ../IkiWiki/Plugin/amazon_s3.pm:136 #, fuzzy -msgid "Failed to create bucket inside S3: " +msgid "Failed to create S3 bucket: " msgstr "Creación de directorio en S3 fallida: " #: ../IkiWiki/Plugin/amazon_s3.pm:221 #, fuzzy -msgid "Failed to save file into S3: " +msgid "Failed to save file to S3: " msgstr "No puedo guardar el archivo en S3: " #: ../IkiWiki/Plugin/amazon_s3.pm:243 #, fuzzy -msgid "Failed to delete file inside S3: " +msgid "Failed to delete file from S3: " msgstr "No puedo borrar archivo en S3: " #: ../IkiWiki/Plugin/attachment.pm:49 @@ -196,10 +196,10 @@ msgstr "" "dice que el texto puede ser spam." #: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:233 -#: ../IkiWiki/Plugin/inline.pm:357 ../IkiWiki/Plugin/inline.pm:365 +#: ../IkiWiki/Plugin/inline.pm:376 ../IkiWiki/Plugin/inline.pm:384 #: ../IkiWiki/Plugin/opendiscussion.pm:26 ../IkiWiki/Plugin/orphans.pm:37 #: ../IkiWiki/Plugin/po.pm:289 ../IkiWiki/Plugin/po.pm:292 -#: ../IkiWiki/Render.pm:80 ../IkiWiki/Render.pm:84 ../IkiWiki/Render.pm:150 +#: ../IkiWiki/Render.pm:86 ../IkiWiki/Render.pm:90 ../IkiWiki/Render.pm:156 msgid "Discussion" msgstr "Comentarios" @@ -340,6 +340,25 @@ msgstr "se deben especificar tanto el formato como el texto" msgid "fortune failed" msgstr "el programa fortune ha fallado" +#: ../IkiWiki/Plugin/getsource.pm:62 ../IkiWiki/Plugin/goto.pm:55 +msgid "missing page" +msgstr "página no encontrada" + +#: ../IkiWiki/Plugin/getsource.pm:64 ../IkiWiki/Plugin/goto.pm:57 +#, perl-format +msgid "The page %s does not exist." +msgstr "No existe la página %s." + +#: ../IkiWiki/Plugin/getsource.pm:73 +#, fuzzy +msgid "not a page" +msgstr "no encuentro páginas coincidentes: %s" + +#: ../IkiWiki/Plugin/getsource.pm:75 +#, fuzzy, perl-format +msgid "%s is an attachment, not a page." +msgstr "la página %s no es modificable" + #: ../IkiWiki/Plugin/git.pm:626 ../IkiWiki/Plugin/git.pm:644 #: ../IkiWiki/Receive.pm:129 #, perl-format @@ -366,15 +385,6 @@ msgid "Failed to parse url, cannot determine domain name" msgstr "" "Error en el análisis del URL, no puedo determinar el nombre del dominio" -#: ../IkiWiki/Plugin/goto.pm:55 -msgid "missing page" -msgstr "página no encontrada" - -#: ../IkiWiki/Plugin/goto.pm:57 -#, perl-format -msgid "The page %s does not exist." -msgstr "No existe la página %s." - #: ../IkiWiki/Plugin/graphviz.pm:67 msgid "failed to run graphviz" msgstr "no he podido ejecutar el programa graphviz " @@ -400,27 +410,27 @@ msgstr "" "aviso: el módulo Perl hightlight no está disponible; retrocedo la entrada " "para continuar el proceso. " -#: ../IkiWiki/Plugin/img.pm:62 +#: ../IkiWiki/Plugin/img.pm:63 msgid "Image::Magick is not installed" msgstr "El complemento Image::Magick no ha sido instalado" -#: ../IkiWiki/Plugin/img.pm:69 +#: ../IkiWiki/Plugin/img.pm:72 #, perl-format msgid "wrong size format \"%s\" (should be WxH)" msgstr "" -#: ../IkiWiki/Plugin/img.pm:80 ../IkiWiki/Plugin/img.pm:84 -#: ../IkiWiki/Plugin/img.pm:101 +#: ../IkiWiki/Plugin/img.pm:83 ../IkiWiki/Plugin/img.pm:87 +#: ../IkiWiki/Plugin/img.pm:104 #, perl-format msgid "failed to read %s: %s" msgstr "no puedo leer de %s: %s " -#: ../IkiWiki/Plugin/img.pm:87 +#: ../IkiWiki/Plugin/img.pm:90 #, perl-format msgid "failed to resize: %s" msgstr "dimensionamiento fallido: %s" -#: ../IkiWiki/Plugin/img.pm:118 +#: ../IkiWiki/Plugin/img.pm:119 #, perl-format msgid "failed to determine size of image %s" msgstr "no he podido determinar el tamaño de la imagen %s" @@ -439,27 +449,32 @@ msgstr "no está permitida la modificación de páginas" msgid "missing pages parameter" msgstr "falta el parámetro pages" -#: ../IkiWiki/Plugin/inline.pm:196 +#: ../IkiWiki/Plugin/inline.pm:192 +#, perl-format +msgid "the %s and %s parameters cannot be used together" +msgstr "" + +#: ../IkiWiki/Plugin/inline.pm:214 msgid "Sort::Naturally needed for title_natural sort" msgstr "" "Se necesita el módulo Sort::Naturally para el tipo de ordenación " "title_natural" -#: ../IkiWiki/Plugin/inline.pm:207 +#: ../IkiWiki/Plugin/inline.pm:225 #, perl-format msgid "unknown sort type %s" msgstr "no conozco este tipo de ordenación %s" -#: ../IkiWiki/Plugin/inline.pm:310 +#: ../IkiWiki/Plugin/inline.pm:329 msgid "Add a new post titled:" msgstr "Añadir una entrada nueva titulada:" -#: ../IkiWiki/Plugin/inline.pm:330 +#: ../IkiWiki/Plugin/inline.pm:349 #, perl-format msgid "nonexistant template %s" msgstr "la plantilla %s no existe " -#: ../IkiWiki/Plugin/inline.pm:596 +#: ../IkiWiki/Plugin/inline.pm:615 msgid "RPC::XML::Client not found, not pinging" msgstr "No he encontrado el componente RPC::XML::Client, no envío señal alguna" @@ -610,7 +625,7 @@ msgstr "Comentarios" msgid "rebuilding all pages to fix meta titles" msgstr "" -#: ../IkiWiki/Plugin/po.pm:383 ../IkiWiki/Render.pm:415 +#: ../IkiWiki/Plugin/po.pm:383 ../IkiWiki/Render.pm:421 #, fuzzy, perl-format msgid "building %s" msgstr "Informaremos a %s" @@ -636,46 +651,51 @@ msgstr "" msgid "POT file (%s) does not exist" msgstr "No existe la página %s." -#: ../IkiWiki/Plugin/po.pm:833 +#: ../IkiWiki/Plugin/po.pm:839 +#, fuzzy, perl-format +msgid "failed to copy underlay PO file to %s" +msgstr "ha fallado la compilación del programa %s" + +#: ../IkiWiki/Plugin/po.pm:848 #, fuzzy, perl-format msgid "failed to update %s" msgstr "ha fallado la compilación del programa %s" -#: ../IkiWiki/Plugin/po.pm:839 +#: ../IkiWiki/Plugin/po.pm:854 #, fuzzy, perl-format msgid "failed to copy the POT file to %s" msgstr "ha fallado la compilación del programa %s" -#: ../IkiWiki/Plugin/po.pm:875 +#: ../IkiWiki/Plugin/po.pm:890 msgid "N/A" msgstr "" -#: ../IkiWiki/Plugin/po.pm:888 +#: ../IkiWiki/Plugin/po.pm:903 #, fuzzy, perl-format msgid "failed to translate %s" msgstr "dimensionamiento fallido: %s" -#: ../IkiWiki/Plugin/po.pm:964 +#: ../IkiWiki/Plugin/po.pm:979 msgid "removed obsolete PO files" msgstr "" -#: ../IkiWiki/Plugin/po.pm:1027 ../IkiWiki/Plugin/po.pm:1041 -#: ../IkiWiki/Plugin/po.pm:1081 +#: ../IkiWiki/Plugin/po.pm:1042 ../IkiWiki/Plugin/po.pm:1056 +#: ../IkiWiki/Plugin/po.pm:1096 #, fuzzy, perl-format msgid "failed to write %s" msgstr "dimensionamiento fallido: %s" -#: ../IkiWiki/Plugin/po.pm:1039 +#: ../IkiWiki/Plugin/po.pm:1054 #, fuzzy msgid "failed to translate" msgstr "no he podido ejecutar el programa dot" -#: ../IkiWiki/Plugin/po.pm:1044 +#: ../IkiWiki/Plugin/po.pm:1059 #, fuzzy, perl-format msgid "failed to read %s" msgstr "no puedo leer de %s: %s " -#: ../IkiWiki/Plugin/po.pm:1093 +#: ../IkiWiki/Plugin/po.pm:1108 msgid "invalid gettext data, go back to previous page to continue edit" msgstr "" @@ -1024,7 +1044,7 @@ msgstr "no puedo determinar el identificador de un usuario no fiable como %s" msgid "bad file name %s" msgstr "el nombre de archivo %s es erróneo" -#: ../IkiWiki/Render.pm:254 +#: ../IkiWiki/Render.pm:260 #, perl-format msgid "" "symlink found in srcdir path (%s) -- set allow_symlinks_before_srcdir to " @@ -1033,49 +1053,49 @@ msgstr "" "encontrado un enlace simbólico en la ruta del directorio fuente (%s) -- use " "la directiva allow_symlinks_before_srcdir para permitir la acción" -#: ../IkiWiki/Render.pm:277 ../IkiWiki/Render.pm:302 +#: ../IkiWiki/Render.pm:283 ../IkiWiki/Render.pm:308 #, perl-format msgid "skipping bad filename %s" msgstr "ignorando el archivo %s porque su nombre no es correcto" -#: ../IkiWiki/Render.pm:284 +#: ../IkiWiki/Render.pm:290 #, perl-format msgid "%s has multiple possible source pages" msgstr "%s tiene mútiples páginas fuente posibles" -#: ../IkiWiki/Render.pm:370 +#: ../IkiWiki/Render.pm:376 #, perl-format msgid "removing old page %s" msgstr "eliminando la antigua página %s" -#: ../IkiWiki/Render.pm:410 +#: ../IkiWiki/Render.pm:416 #, perl-format msgid "scanning %s" msgstr "explorando %s" -#: ../IkiWiki/Render.pm:436 +#: ../IkiWiki/Render.pm:442 #, fuzzy, perl-format msgid "building %s, which links to %s" msgstr "convirtiendo la página %s, la cual referencia a %s" -#: ../IkiWiki/Render.pm:457 +#: ../IkiWiki/Render.pm:463 #, fuzzy, perl-format msgid "building %s, which depends on %s" msgstr "convirtiendo la página %s, la cual depende de %s" -#: ../IkiWiki/Render.pm:496 +#: ../IkiWiki/Render.pm:502 #, fuzzy, perl-format msgid "building %s, to update its backlinks" msgstr "" "convirtiendo la página %s para actualizar la lista de páginas que hacen " "referencia a ella." -#: ../IkiWiki/Render.pm:508 +#: ../IkiWiki/Render.pm:514 #, fuzzy, perl-format msgid "removing %s, no longer built by %s" msgstr "eliminando la página %s puesto que ya no se deriva de %s" -#: ../IkiWiki/Render.pm:532 +#: ../IkiWiki/Render.pm:538 #, fuzzy, perl-format msgid "ikiwiki: cannot build %s" msgstr "ikiwiki: no puedo convertir la página %s" diff --git a/po/fr.po b/po/fr.po index fe78d0a72..a27420254 100644 --- a/po/fr.po +++ b/po/fr.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: ikiwiki 3.141\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-23 01:01+0200\n" +"POT-Creation-Date: 2009-08-11 15:00-0400\n" "PO-Revision-Date: 2009-06-29 16:42+0200\n" "Last-Translator: Philippe Batailler \n" "Language-Team: French \n" @@ -149,17 +149,17 @@ msgstr "Vous devez spécifier %s" #: ../IkiWiki/Plugin/amazon_s3.pm:136 #, fuzzy -msgid "Failed to create bucket inside S3: " +msgid "Failed to create S3 bucket: " msgstr "Impossible de créer un compartiment S3 :" #: ../IkiWiki/Plugin/amazon_s3.pm:221 #, fuzzy -msgid "Failed to save file into S3: " +msgid "Failed to save file to S3: " msgstr "Impossible de sauvegarder le fichier dans le compartiment S3 :" #: ../IkiWiki/Plugin/amazon_s3.pm:243 #, fuzzy -msgid "Failed to delete file inside S3: " +msgid "Failed to delete file from S3: " msgstr "Échec lors de la suppression du fichier sur S3 :" #: ../IkiWiki/Plugin/attachment.pm:49 @@ -192,10 +192,10 @@ msgstr "" "blogspam.net/\">blogspam: " #: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:233 -#: ../IkiWiki/Plugin/inline.pm:357 ../IkiWiki/Plugin/inline.pm:365 +#: ../IkiWiki/Plugin/inline.pm:376 ../IkiWiki/Plugin/inline.pm:384 #: ../IkiWiki/Plugin/opendiscussion.pm:26 ../IkiWiki/Plugin/orphans.pm:37 #: ../IkiWiki/Plugin/po.pm:289 ../IkiWiki/Plugin/po.pm:292 -#: ../IkiWiki/Render.pm:80 ../IkiWiki/Render.pm:84 ../IkiWiki/Render.pm:150 +#: ../IkiWiki/Render.pm:86 ../IkiWiki/Render.pm:90 ../IkiWiki/Render.pm:156 msgid "Discussion" msgstr "Discussion" @@ -336,6 +336,25 @@ msgstr "le format et le texte doivent être indiqués" msgid "fortune failed" msgstr "Échec du lancement de « fortune »" +#: ../IkiWiki/Plugin/getsource.pm:62 ../IkiWiki/Plugin/goto.pm:55 +msgid "missing page" +msgstr "Page manquante" + +#: ../IkiWiki/Plugin/getsource.pm:64 ../IkiWiki/Plugin/goto.pm:57 +#, perl-format +msgid "The page %s does not exist." +msgstr "La page %s n'existe pas." + +#: ../IkiWiki/Plugin/getsource.pm:73 +#, fuzzy +msgid "not a page" +msgstr "Impossible de trouver les pages %s" + +#: ../IkiWiki/Plugin/getsource.pm:75 +#, fuzzy, perl-format +msgid "%s is an attachment, not a page." +msgstr "%s n'est pas une page éditable" + #: ../IkiWiki/Plugin/git.pm:626 ../IkiWiki/Plugin/git.pm:644 #: ../IkiWiki/Receive.pm:129 #, perl-format @@ -361,15 +380,6 @@ msgstr "Vous devez indiquer %s lors de l'utilisation du greffon « search »." msgid "Failed to parse url, cannot determine domain name" msgstr "Impossible d'analyser l'url, pas de nom de domaine" -#: ../IkiWiki/Plugin/goto.pm:55 -msgid "missing page" -msgstr "Page manquante" - -#: ../IkiWiki/Plugin/goto.pm:57 -#, perl-format -msgid "The page %s does not exist." -msgstr "La page %s n'existe pas." - #: ../IkiWiki/Plugin/graphviz.pm:67 msgid "failed to run graphviz" msgstr "Échec du lancement de graphviz" @@ -395,27 +405,27 @@ msgstr "" "Avertissement : le module perl « highlight » n'est pas disponible. " "Continuation malgré tout." -#: ../IkiWiki/Plugin/img.pm:62 +#: ../IkiWiki/Plugin/img.pm:63 msgid "Image::Magick is not installed" msgstr "Image::Magick n'est pas installé" -#: ../IkiWiki/Plugin/img.pm:69 +#: ../IkiWiki/Plugin/img.pm:72 #, perl-format msgid "wrong size format \"%s\" (should be WxH)" msgstr "" -#: ../IkiWiki/Plugin/img.pm:80 ../IkiWiki/Plugin/img.pm:84 -#: ../IkiWiki/Plugin/img.pm:101 +#: ../IkiWiki/Plugin/img.pm:83 ../IkiWiki/Plugin/img.pm:87 +#: ../IkiWiki/Plugin/img.pm:104 #, perl-format msgid "failed to read %s: %s" msgstr "Échec de la lecture de %s : %s" -#: ../IkiWiki/Plugin/img.pm:87 +#: ../IkiWiki/Plugin/img.pm:90 #, perl-format msgid "failed to resize: %s" msgstr "Échec du redimensionnement : %s" -#: ../IkiWiki/Plugin/img.pm:118 +#: ../IkiWiki/Plugin/img.pm:119 #, perl-format msgid "failed to determine size of image %s" msgstr "Échec de la détermination de la taille de l'image : %s" @@ -434,25 +444,30 @@ msgstr "Modification de page interdite" msgid "missing pages parameter" msgstr "Paramètre « pages » manquant" -#: ../IkiWiki/Plugin/inline.pm:196 +#: ../IkiWiki/Plugin/inline.pm:192 +#, perl-format +msgid "the %s and %s parameters cannot be used together" +msgstr "" + +#: ../IkiWiki/Plugin/inline.pm:214 msgid "Sort::Naturally needed for title_natural sort" msgstr "Sort::Naturally est nécessaire pour un tri « title_natural »" -#: ../IkiWiki/Plugin/inline.pm:207 +#: ../IkiWiki/Plugin/inline.pm:225 #, perl-format msgid "unknown sort type %s" msgstr "Type de tri %s inconnu" -#: ../IkiWiki/Plugin/inline.pm:310 +#: ../IkiWiki/Plugin/inline.pm:329 msgid "Add a new post titled:" msgstr "Ajouter un nouvel article dont le titre est :" -#: ../IkiWiki/Plugin/inline.pm:330 +#: ../IkiWiki/Plugin/inline.pm:349 #, perl-format msgid "nonexistant template %s" msgstr "Le modèle de page %s n'existe pas" -#: ../IkiWiki/Plugin/inline.pm:596 +#: ../IkiWiki/Plugin/inline.pm:615 msgid "RPC::XML::Client not found, not pinging" msgstr "RPC::XML::Client introuvable, pas de réponse au ping" @@ -601,7 +616,7 @@ msgstr "Discussion" msgid "rebuilding all pages to fix meta titles" msgstr "" -#: ../IkiWiki/Plugin/po.pm:383 ../IkiWiki/Render.pm:415 +#: ../IkiWiki/Plugin/po.pm:383 ../IkiWiki/Render.pm:421 #, fuzzy, perl-format msgid "building %s" msgstr "va envoyer un ping à %s" @@ -627,46 +642,51 @@ msgstr "" msgid "POT file (%s) does not exist" msgstr "La page %s n'existe pas." -#: ../IkiWiki/Plugin/po.pm:833 +#: ../IkiWiki/Plugin/po.pm:839 +#, fuzzy, perl-format +msgid "failed to copy underlay PO file to %s" +msgstr "Échec de la compilation de %s" + +#: ../IkiWiki/Plugin/po.pm:848 #, fuzzy, perl-format msgid "failed to update %s" msgstr "Échec de la compilation de %s" -#: ../IkiWiki/Plugin/po.pm:839 +#: ../IkiWiki/Plugin/po.pm:854 #, fuzzy, perl-format msgid "failed to copy the POT file to %s" msgstr "Échec de la compilation de %s" -#: ../IkiWiki/Plugin/po.pm:875 +#: ../IkiWiki/Plugin/po.pm:890 msgid "N/A" msgstr "" -#: ../IkiWiki/Plugin/po.pm:888 +#: ../IkiWiki/Plugin/po.pm:903 #, fuzzy, perl-format msgid "failed to translate %s" msgstr "Échec du redimensionnement : %s" -#: ../IkiWiki/Plugin/po.pm:964 +#: ../IkiWiki/Plugin/po.pm:979 msgid "removed obsolete PO files" msgstr "" -#: ../IkiWiki/Plugin/po.pm:1027 ../IkiWiki/Plugin/po.pm:1041 -#: ../IkiWiki/Plugin/po.pm:1081 +#: ../IkiWiki/Plugin/po.pm:1042 ../IkiWiki/Plugin/po.pm:1056 +#: ../IkiWiki/Plugin/po.pm:1096 #, fuzzy, perl-format msgid "failed to write %s" msgstr "Échec du redimensionnement : %s" -#: ../IkiWiki/Plugin/po.pm:1039 +#: ../IkiWiki/Plugin/po.pm:1054 #, fuzzy msgid "failed to translate" msgstr "Échec du lancement de dot" -#: ../IkiWiki/Plugin/po.pm:1044 +#: ../IkiWiki/Plugin/po.pm:1059 #, fuzzy, perl-format msgid "failed to read %s" msgstr "Échec de la lecture de %s : %s" -#: ../IkiWiki/Plugin/po.pm:1093 +#: ../IkiWiki/Plugin/po.pm:1108 msgid "invalid gettext data, go back to previous page to continue edit" msgstr "" @@ -1015,7 +1035,7 @@ msgstr "" msgid "bad file name %s" msgstr "Nom de fichier incorrect %s" -#: ../IkiWiki/Render.pm:254 +#: ../IkiWiki/Render.pm:260 #, perl-format msgid "" "symlink found in srcdir path (%s) -- set allow_symlinks_before_srcdir to " @@ -1024,47 +1044,47 @@ msgstr "" "Lien symbolique trouvé dans l'adresse de srcdir (%s) -- pour l'autoriser, " "activez le paramètre « allow_symlinks_before_srcdir »." -#: ../IkiWiki/Render.pm:277 ../IkiWiki/Render.pm:302 +#: ../IkiWiki/Render.pm:283 ../IkiWiki/Render.pm:308 #, perl-format msgid "skipping bad filename %s" msgstr "Omission du fichier au nom incorrect %s" -#: ../IkiWiki/Render.pm:284 +#: ../IkiWiki/Render.pm:290 #, perl-format msgid "%s has multiple possible source pages" msgstr "%s peut être associé à plusieurs pages source." -#: ../IkiWiki/Render.pm:370 +#: ../IkiWiki/Render.pm:376 #, perl-format msgid "removing old page %s" msgstr "Suppression de l'ancienne page %s" -#: ../IkiWiki/Render.pm:410 +#: ../IkiWiki/Render.pm:416 #, perl-format msgid "scanning %s" msgstr "Examen de %s" -#: ../IkiWiki/Render.pm:436 +#: ../IkiWiki/Render.pm:442 #, fuzzy, perl-format msgid "building %s, which links to %s" msgstr "Reconstruction de %s, qui est lié à %s" -#: ../IkiWiki/Render.pm:457 +#: ../IkiWiki/Render.pm:463 #, fuzzy, perl-format msgid "building %s, which depends on %s" msgstr "Reconstruction de %s, qui dépend de %s" -#: ../IkiWiki/Render.pm:496 +#: ../IkiWiki/Render.pm:502 #, fuzzy, perl-format msgid "building %s, to update its backlinks" msgstr "Reconstruction de %s, afin de mettre à jour ses rétroliens" -#: ../IkiWiki/Render.pm:508 +#: ../IkiWiki/Render.pm:514 #, fuzzy, perl-format msgid "removing %s, no longer built by %s" msgstr "Suppression de %s, qui n'est plus rendu par %s" -#: ../IkiWiki/Render.pm:532 +#: ../IkiWiki/Render.pm:538 #, fuzzy, perl-format msgid "ikiwiki: cannot build %s" msgstr "ikiwiki : impossible de reconstruire %s" diff --git a/po/gu.po b/po/gu.po index 5bc897a90..ce76f8612 100644 --- a/po/gu.po +++ b/po/gu.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: ikiwiki-gu\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-20 06:45+0200\n" +"POT-Creation-Date: 2009-08-11 15:00-0400\n" "PO-Revision-Date: 2007-01-11 16:05+0530\n" "Last-Translator: Kartik Mistry \n" "Language-Team: Gujarati \n" @@ -21,7 +21,7 @@ msgstr "તમારે પ્રથમ લોગ ઇન થવું પડશ #: ../IkiWiki/CGI.pm:146 msgid "" -"probable misconfiguration: sslcookie is set, but you are attepting to login " +"probable misconfiguration: sslcookie is set, but you are attempting to login " "via http, not https" msgstr "" @@ -145,8 +145,9 @@ msgid "Must specify %s" msgstr "" #: ../IkiWiki/Plugin/amazon_s3.pm:136 -msgid "Failed to create bucket in S3: " -msgstr "" +#, fuzzy +msgid "Failed to create S3 bucket: " +msgstr "મેઇલ મોકલવામાં નિષ્ફળ" #: ../IkiWiki/Plugin/amazon_s3.pm:221 #, fuzzy @@ -186,10 +187,10 @@ msgid "" msgstr "" #: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:233 -#: ../IkiWiki/Plugin/inline.pm:357 ../IkiWiki/Plugin/inline.pm:365 +#: ../IkiWiki/Plugin/inline.pm:376 ../IkiWiki/Plugin/inline.pm:384 #: ../IkiWiki/Plugin/opendiscussion.pm:26 ../IkiWiki/Plugin/orphans.pm:37 -#: ../IkiWiki/Plugin/po.pm:283 ../IkiWiki/Plugin/po.pm:286 -#: ../IkiWiki/Render.pm:80 ../IkiWiki/Render.pm:84 ../IkiWiki/Render.pm:150 +#: ../IkiWiki/Plugin/po.pm:289 ../IkiWiki/Plugin/po.pm:292 +#: ../IkiWiki/Render.pm:86 ../IkiWiki/Render.pm:90 ../IkiWiki/Render.pm:156 msgid "Discussion" msgstr "ચર્ચા" @@ -333,6 +334,26 @@ msgstr "" msgid "fortune failed" msgstr "ભવિષ્ય નિષ્ફળ" +#: ../IkiWiki/Plugin/getsource.pm:62 ../IkiWiki/Plugin/goto.pm:55 +#, fuzzy +msgid "missing page" +msgstr "ખોવાયેલ કિંમતો" + +#: ../IkiWiki/Plugin/getsource.pm:64 ../IkiWiki/Plugin/goto.pm:57 +#, perl-format +msgid "The page %s does not exist." +msgstr "" + +#: ../IkiWiki/Plugin/getsource.pm:73 +#, fuzzy +msgid "not a page" +msgstr "વાંચી શકાતી નથી %s: %s" + +#: ../IkiWiki/Plugin/getsource.pm:75 +#, fuzzy, perl-format +msgid "%s is an attachment, not a page." +msgstr "%s એ સુધારી શકાય તેવું પાનું નથી" + #: ../IkiWiki/Plugin/git.pm:626 ../IkiWiki/Plugin/git.pm:644 #: ../IkiWiki/Receive.pm:129 #, perl-format @@ -358,16 +379,6 @@ msgstr "જ્યારે શોધ પ્લગઇન ઉપયોગ કર msgid "Failed to parse url, cannot determine domain name" msgstr "" -#: ../IkiWiki/Plugin/goto.pm:55 -#, fuzzy -msgid "missing page" -msgstr "ખોવાયેલ કિંમતો" - -#: ../IkiWiki/Plugin/goto.pm:57 -#, perl-format -msgid "The page %s does not exist." -msgstr "" - #: ../IkiWiki/Plugin/graphviz.pm:67 msgid "failed to run graphviz" msgstr "ગ્રાફવિઝ ચલાવવામાં નિષ્ફળ" @@ -391,28 +402,28 @@ msgid "" "warning: highlight perl module not available; falling back to pass through" msgstr "" -#: ../IkiWiki/Plugin/img.pm:62 +#: ../IkiWiki/Plugin/img.pm:63 #, fuzzy msgid "Image::Magick is not installed" msgstr "પોલિગોન સ્થાપિત નથી" -#: ../IkiWiki/Plugin/img.pm:69 +#: ../IkiWiki/Plugin/img.pm:72 #, perl-format msgid "wrong size format \"%s\" (should be WxH)" msgstr "" -#: ../IkiWiki/Plugin/img.pm:80 ../IkiWiki/Plugin/img.pm:84 -#: ../IkiWiki/Plugin/img.pm:101 +#: ../IkiWiki/Plugin/img.pm:83 ../IkiWiki/Plugin/img.pm:87 +#: ../IkiWiki/Plugin/img.pm:104 #, perl-format msgid "failed to read %s: %s" msgstr "%s વાંચવામાં નિષ્ફળ: %s" -#: ../IkiWiki/Plugin/img.pm:87 +#: ../IkiWiki/Plugin/img.pm:90 #, perl-format msgid "failed to resize: %s" msgstr "માપ બદલવામાં નિષ્ફળ: %s" -#: ../IkiWiki/Plugin/img.pm:118 +#: ../IkiWiki/Plugin/img.pm:119 #, fuzzy, perl-format msgid "failed to determine size of image %s" msgstr "માપ બદલવામાં નિષ્ફળ: %s" @@ -431,25 +442,30 @@ msgstr "ફીડ મળ્યું નહી" msgid "missing pages parameter" msgstr "ખોવાયેલ %s વિકલ્પ" -#: ../IkiWiki/Plugin/inline.pm:196 +#: ../IkiWiki/Plugin/inline.pm:192 +#, perl-format +msgid "the %s and %s parameters cannot be used together" +msgstr "" + +#: ../IkiWiki/Plugin/inline.pm:214 msgid "Sort::Naturally needed for title_natural sort" msgstr "" -#: ../IkiWiki/Plugin/inline.pm:207 +#: ../IkiWiki/Plugin/inline.pm:225 #, perl-format msgid "unknown sort type %s" msgstr "અજાણ્યો ગોઠવણી પ્રકાર %s" -#: ../IkiWiki/Plugin/inline.pm:310 +#: ../IkiWiki/Plugin/inline.pm:329 msgid "Add a new post titled:" msgstr "આ શિર્ષકથી નવું પોસ્ટ ઉમેરો:" -#: ../IkiWiki/Plugin/inline.pm:330 +#: ../IkiWiki/Plugin/inline.pm:349 #, perl-format msgid "nonexistant template %s" msgstr "અસ્તિત્વમાં ન હોય તેવું ટેમ્પલેટ %s" -#: ../IkiWiki/Plugin/inline.pm:596 +#: ../IkiWiki/Plugin/inline.pm:615 msgid "RPC::XML::Client not found, not pinging" msgstr "RPC::XML::Client મળ્યું નહી, પિંગ કરવામાં આવતું નથી" @@ -510,7 +526,8 @@ msgid "Get an OpenID" msgstr "ઓપનઆઇડી મેળવો" #: ../IkiWiki/Plugin/orphans.pm:52 -msgid "All pages are linked to by other pages." +#, fuzzy +msgid "All pages have other pages linking to them." msgstr "બધા પાનાંઓ બીજા પાનાંઓ વડે જોડાયેલ છે." #: ../IkiWiki/Plugin/pagetemplate.pm:30 @@ -568,103 +585,106 @@ msgstr "" msgid "LWP not found, not pinging" msgstr "RPC::XML::Client મળ્યું નહી, પિંગ કરવામાં આવતું નથી" -#: ../IkiWiki/Plugin/po.pm:130 -msgid "" -"At least one slave language must be defined in po_slave_languages when using " -"the po plugin" -msgstr "" - -#: ../IkiWiki/Plugin/po.pm:136 +#: ../IkiWiki/Plugin/po.pm:131 #, fuzzy, perl-format msgid "%s is not a valid language code" msgstr "%s એ સુધારી શકાય તેવું પાનું નથી" -#: ../IkiWiki/Plugin/po.pm:148 +#: ../IkiWiki/Plugin/po.pm:143 #, perl-format msgid "" "%s is not a valid value for po_link_to, falling back to po_link_to=default" msgstr "" -#: ../IkiWiki/Plugin/po.pm:153 +#: ../IkiWiki/Plugin/po.pm:148 msgid "" "po_link_to=negotiated requires usedirs to be enabled, falling back to " "po_link_to=default" msgstr "" -#: ../IkiWiki/Plugin/po.pm:276 +#: ../IkiWiki/Plugin/po.pm:282 msgid "discussion" msgstr "ચર્ચા" -#: ../IkiWiki/Plugin/po.pm:373 +#: ../IkiWiki/Plugin/po.pm:379 #, perl-format -msgid "re-rendering all pages to fix meta titles" +msgid "rebuilding all pages to fix meta titles" msgstr "" -#: ../IkiWiki/Plugin/po.pm:377 ../IkiWiki/Render.pm:415 -#, perl-format -msgid "rendering %s" -msgstr "રેન્ડર કરે છે %s" +#: ../IkiWiki/Plugin/po.pm:383 ../IkiWiki/Render.pm:421 +#, fuzzy, perl-format +msgid "building %s" +msgstr "%s સુધારે છે" -#: ../IkiWiki/Plugin/po.pm:410 +#: ../IkiWiki/Plugin/po.pm:420 msgid "updated PO files" msgstr "" -#: ../IkiWiki/Plugin/po.pm:434 +#: ../IkiWiki/Plugin/po.pm:444 msgid "" -"Can not remove a translation. Removing the master page, though, removes its " -"translations as well." +"Can not remove a translation. If the master page is removed, however, its " +"translations will be removed as well." msgstr "" -#: ../IkiWiki/Plugin/po.pm:454 +#: ../IkiWiki/Plugin/po.pm:464 msgid "" -"Can not rename a translation. Renaming the master page, though, renames its " -"translations as well." +"Can not rename a translation. If the master page is renamed, however, its " +"translations will be renamed as well." msgstr "" -#: ../IkiWiki/Plugin/po.pm:816 +#: ../IkiWiki/Plugin/po.pm:825 #, perl-format msgid "POT file (%s) does not exist" msgstr "" -#: ../IkiWiki/Plugin/po.pm:824 +#: ../IkiWiki/Plugin/po.pm:839 +#, fuzzy, perl-format +msgid "failed to copy underlay PO file to %s" +msgstr "%s કમ્પાઇલ કરવામાં નિષ્ફળ" + +#: ../IkiWiki/Plugin/po.pm:848 #, fuzzy, perl-format msgid "failed to update %s" msgstr "%s કમ્પાઇલ કરવામાં નિષ્ફળ" -#: ../IkiWiki/Plugin/po.pm:830 +#: ../IkiWiki/Plugin/po.pm:854 #, fuzzy, perl-format msgid "failed to copy the POT file to %s" msgstr "%s કમ્પાઇલ કરવામાં નિષ્ફળ" -#: ../IkiWiki/Plugin/po.pm:866 +#: ../IkiWiki/Plugin/po.pm:890 msgid "N/A" msgstr "" -#: ../IkiWiki/Plugin/po.pm:879 +#: ../IkiWiki/Plugin/po.pm:903 #, fuzzy, perl-format msgid "failed to translate %s" msgstr "માપ બદલવામાં નિષ્ફળ: %s" -#: ../IkiWiki/Plugin/po.pm:955 +#: ../IkiWiki/Plugin/po.pm:979 msgid "removed obsolete PO files" msgstr "" -#: ../IkiWiki/Plugin/po.pm:1018 ../IkiWiki/Plugin/po.pm:1032 -#: ../IkiWiki/Plugin/po.pm:1072 +#: ../IkiWiki/Plugin/po.pm:1042 ../IkiWiki/Plugin/po.pm:1056 +#: ../IkiWiki/Plugin/po.pm:1096 #, fuzzy, perl-format msgid "failed to write %s" msgstr "%s લખવામાં નિષ્ફળ: %s" -#: ../IkiWiki/Plugin/po.pm:1030 +#: ../IkiWiki/Plugin/po.pm:1054 #, fuzzy msgid "failed to translate" msgstr "ડોટ ચલાવવામાં નિષ્ફળ" -#: ../IkiWiki/Plugin/po.pm:1035 +#: ../IkiWiki/Plugin/po.pm:1059 #, fuzzy, perl-format msgid "failed to read %s" msgstr "%s વાંચવામાં નિષ્ફળ: %s" +#: ../IkiWiki/Plugin/po.pm:1108 +msgid "invalid gettext data, go back to previous page to continue edit" +msgstr "" + #: ../IkiWiki/Plugin/poll.pm:69 msgid "vote" msgstr "મત" @@ -1009,56 +1029,56 @@ msgstr "" msgid "bad file name %s" msgstr "ખરાબ ફાઇલ નામ છોડી દે છે %s" -#: ../IkiWiki/Render.pm:254 +#: ../IkiWiki/Render.pm:260 #, perl-format msgid "" "symlink found in srcdir path (%s) -- set allow_symlinks_before_srcdir to " "allow this" msgstr "" -#: ../IkiWiki/Render.pm:277 ../IkiWiki/Render.pm:302 +#: ../IkiWiki/Render.pm:283 ../IkiWiki/Render.pm:308 #, perl-format msgid "skipping bad filename %s" msgstr "ખરાબ ફાઇલ નામ છોડી દે છે %s" -#: ../IkiWiki/Render.pm:284 +#: ../IkiWiki/Render.pm:290 #, perl-format msgid "%s has multiple possible source pages" msgstr "" -#: ../IkiWiki/Render.pm:370 +#: ../IkiWiki/Render.pm:376 #, perl-format msgid "removing old page %s" msgstr "જુનાં પાનાં દૂર કરે છે %s" -#: ../IkiWiki/Render.pm:410 +#: ../IkiWiki/Render.pm:416 #, perl-format msgid "scanning %s" msgstr "%s શોધે છે" -#: ../IkiWiki/Render.pm:436 -#, perl-format -msgid "rendering %s, which links to %s" +#: ../IkiWiki/Render.pm:442 +#, fuzzy, perl-format +msgid "building %s, which links to %s" msgstr "રેન્ડર કરે છે %s, જે %s સાથે જોડાણ ધરાવે છે" -#: ../IkiWiki/Render.pm:457 -#, perl-format -msgid "rendering %s, which depends on %s" +#: ../IkiWiki/Render.pm:463 +#, fuzzy, perl-format +msgid "building %s, which depends on %s" msgstr "રેન્ડર કરે છે %s, જે %s પર આધારિત છે" -#: ../IkiWiki/Render.pm:496 -#, perl-format -msgid "rendering %s, to update its backlinks" +#: ../IkiWiki/Render.pm:502 +#, fuzzy, perl-format +msgid "building %s, to update its backlinks" msgstr "રેન્ડર કરે છે %s, તેનાં પાછળનાં જોડાણો સુધારવા માટે" -#: ../IkiWiki/Render.pm:508 -#, perl-format -msgid "removing %s, no longer rendered by %s" +#: ../IkiWiki/Render.pm:514 +#, fuzzy, perl-format +msgid "removing %s, no longer built by %s" msgstr "દૂર કરે છે %s, હવે %s વડે રેન્ડર કરાતું નથી" -#: ../IkiWiki/Render.pm:532 -#, perl-format -msgid "ikiwiki: cannot render %s" +#: ../IkiWiki/Render.pm:538 +#, fuzzy, perl-format +msgid "ikiwiki: cannot build %s" msgstr "ikiwiki: %s રેન્ડર કરી શકાતું નથી" #. translators: The first parameter is a filename, and the second @@ -1175,13 +1195,16 @@ msgid "What revision control system to use?" msgstr "" #: ../auto.setup:20 -msgid "What wiki user (or openid) will be admin?" +msgid "Which user (wiki account or openid) will be admin?" msgstr "" #: ../auto.setup:23 msgid "What is the domain name of the web server?" msgstr "" +#~ msgid "rendering %s" +#~ msgstr "રેન્ડર કરે છે %s" + #, fuzzy #~ msgid "Must specify %s when using the google search plugin" #~ msgstr "જ્યારે શોધ પ્લગઇન ઉપયોગ કરતા હોવ ત્યારે %s સ્પષ્ટ કરવું જ પડશે" diff --git a/po/ikiwiki.pot b/po/ikiwiki.pot index 3451329cc..8ba10ecbb 100644 --- a/po/ikiwiki.pot +++ b/po/ikiwiki.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-20 06:45+0200\n" +"POT-Creation-Date: 2009-08-11 15:00-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,7 +22,7 @@ msgstr "" #: ../IkiWiki/CGI.pm:146 msgid "" -"probable misconfiguration: sslcookie is set, but you are attepting to login " +"probable misconfiguration: sslcookie is set, but you are attempting to login " "via http, not https" msgstr "" @@ -145,7 +145,7 @@ msgid "Must specify %s" msgstr "" #: ../IkiWiki/Plugin/amazon_s3.pm:136 -msgid "Failed to create bucket in S3: " +msgid "Failed to create S3 bucket: " msgstr "" #: ../IkiWiki/Plugin/amazon_s3.pm:221 @@ -184,10 +184,10 @@ msgid "" msgstr "" #: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:233 -#: ../IkiWiki/Plugin/inline.pm:357 ../IkiWiki/Plugin/inline.pm:365 +#: ../IkiWiki/Plugin/inline.pm:376 ../IkiWiki/Plugin/inline.pm:384 #: ../IkiWiki/Plugin/opendiscussion.pm:26 ../IkiWiki/Plugin/orphans.pm:37 -#: ../IkiWiki/Plugin/po.pm:283 ../IkiWiki/Plugin/po.pm:286 -#: ../IkiWiki/Render.pm:80 ../IkiWiki/Render.pm:84 ../IkiWiki/Render.pm:150 +#: ../IkiWiki/Plugin/po.pm:289 ../IkiWiki/Plugin/po.pm:292 +#: ../IkiWiki/Render.pm:86 ../IkiWiki/Render.pm:90 ../IkiWiki/Render.pm:156 msgid "Discussion" msgstr "" @@ -328,6 +328,24 @@ msgstr "" msgid "fortune failed" msgstr "" +#: ../IkiWiki/Plugin/getsource.pm:62 ../IkiWiki/Plugin/goto.pm:55 +msgid "missing page" +msgstr "" + +#: ../IkiWiki/Plugin/getsource.pm:64 ../IkiWiki/Plugin/goto.pm:57 +#, perl-format +msgid "The page %s does not exist." +msgstr "" + +#: ../IkiWiki/Plugin/getsource.pm:73 +msgid "not a page" +msgstr "" + +#: ../IkiWiki/Plugin/getsource.pm:75 +#, perl-format +msgid "%s is an attachment, not a page." +msgstr "" + #: ../IkiWiki/Plugin/git.pm:626 ../IkiWiki/Plugin/git.pm:644 #: ../IkiWiki/Receive.pm:129 #, perl-format @@ -353,15 +371,6 @@ msgstr "" msgid "Failed to parse url, cannot determine domain name" msgstr "" -#: ../IkiWiki/Plugin/goto.pm:55 -msgid "missing page" -msgstr "" - -#: ../IkiWiki/Plugin/goto.pm:57 -#, perl-format -msgid "The page %s does not exist." -msgstr "" - #: ../IkiWiki/Plugin/graphviz.pm:67 msgid "failed to run graphviz" msgstr "" @@ -385,27 +394,27 @@ msgid "" "warning: highlight perl module not available; falling back to pass through" msgstr "" -#: ../IkiWiki/Plugin/img.pm:62 +#: ../IkiWiki/Plugin/img.pm:63 msgid "Image::Magick is not installed" msgstr "" -#: ../IkiWiki/Plugin/img.pm:69 +#: ../IkiWiki/Plugin/img.pm:72 #, perl-format msgid "wrong size format \"%s\" (should be WxH)" msgstr "" -#: ../IkiWiki/Plugin/img.pm:80 ../IkiWiki/Plugin/img.pm:84 -#: ../IkiWiki/Plugin/img.pm:101 +#: ../IkiWiki/Plugin/img.pm:83 ../IkiWiki/Plugin/img.pm:87 +#: ../IkiWiki/Plugin/img.pm:104 #, perl-format msgid "failed to read %s: %s" msgstr "" -#: ../IkiWiki/Plugin/img.pm:87 +#: ../IkiWiki/Plugin/img.pm:90 #, perl-format msgid "failed to resize: %s" msgstr "" -#: ../IkiWiki/Plugin/img.pm:118 +#: ../IkiWiki/Plugin/img.pm:119 #, perl-format msgid "failed to determine size of image %s" msgstr "" @@ -422,25 +431,30 @@ msgstr "" msgid "missing pages parameter" msgstr "" -#: ../IkiWiki/Plugin/inline.pm:196 +#: ../IkiWiki/Plugin/inline.pm:192 +#, perl-format +msgid "the %s and %s parameters cannot be used together" +msgstr "" + +#: ../IkiWiki/Plugin/inline.pm:214 msgid "Sort::Naturally needed for title_natural sort" msgstr "" -#: ../IkiWiki/Plugin/inline.pm:207 +#: ../IkiWiki/Plugin/inline.pm:225 #, perl-format msgid "unknown sort type %s" msgstr "" -#: ../IkiWiki/Plugin/inline.pm:310 +#: ../IkiWiki/Plugin/inline.pm:329 msgid "Add a new post titled:" msgstr "" -#: ../IkiWiki/Plugin/inline.pm:330 +#: ../IkiWiki/Plugin/inline.pm:349 #, perl-format msgid "nonexistant template %s" msgstr "" -#: ../IkiWiki/Plugin/inline.pm:596 +#: ../IkiWiki/Plugin/inline.pm:615 msgid "RPC::XML::Client not found, not pinging" msgstr "" @@ -499,7 +513,7 @@ msgid "Get an OpenID" msgstr "" #: ../IkiWiki/Plugin/orphans.pm:52 -msgid "All pages are linked to by other pages." +msgid "All pages have other pages linking to them." msgstr "" #: ../IkiWiki/Plugin/pagetemplate.pm:30 @@ -556,102 +570,105 @@ msgstr "" msgid "LWP not found, not pinging" msgstr "" -#: ../IkiWiki/Plugin/po.pm:130 -msgid "" -"At least one slave language must be defined in po_slave_languages when using " -"the po plugin" -msgstr "" - -#: ../IkiWiki/Plugin/po.pm:136 +#: ../IkiWiki/Plugin/po.pm:131 #, perl-format msgid "%s is not a valid language code" msgstr "" -#: ../IkiWiki/Plugin/po.pm:148 +#: ../IkiWiki/Plugin/po.pm:143 #, perl-format msgid "" "%s is not a valid value for po_link_to, falling back to po_link_to=default" msgstr "" -#: ../IkiWiki/Plugin/po.pm:153 +#: ../IkiWiki/Plugin/po.pm:148 msgid "" "po_link_to=negotiated requires usedirs to be enabled, falling back to " "po_link_to=default" msgstr "" -#: ../IkiWiki/Plugin/po.pm:276 +#: ../IkiWiki/Plugin/po.pm:282 msgid "discussion" msgstr "" -#: ../IkiWiki/Plugin/po.pm:373 +#: ../IkiWiki/Plugin/po.pm:379 #, perl-format -msgid "re-rendering all pages to fix meta titles" +msgid "rebuilding all pages to fix meta titles" msgstr "" -#: ../IkiWiki/Plugin/po.pm:377 ../IkiWiki/Render.pm:415 +#: ../IkiWiki/Plugin/po.pm:383 ../IkiWiki/Render.pm:421 #, perl-format -msgid "rendering %s" +msgid "building %s" msgstr "" -#: ../IkiWiki/Plugin/po.pm:410 +#: ../IkiWiki/Plugin/po.pm:420 msgid "updated PO files" msgstr "" -#: ../IkiWiki/Plugin/po.pm:434 +#: ../IkiWiki/Plugin/po.pm:444 msgid "" -"Can not remove a translation. Removing the master page, though, removes its " -"translations as well." +"Can not remove a translation. If the master page is removed, however, its " +"translations will be removed as well." msgstr "" -#: ../IkiWiki/Plugin/po.pm:454 +#: ../IkiWiki/Plugin/po.pm:464 msgid "" -"Can not rename a translation. Renaming the master page, though, renames its " -"translations as well." +"Can not rename a translation. If the master page is renamed, however, its " +"translations will be renamed as well." msgstr "" -#: ../IkiWiki/Plugin/po.pm:816 +#: ../IkiWiki/Plugin/po.pm:825 #, perl-format msgid "POT file (%s) does not exist" msgstr "" -#: ../IkiWiki/Plugin/po.pm:824 +#: ../IkiWiki/Plugin/po.pm:839 +#, perl-format +msgid "failed to copy underlay PO file to %s" +msgstr "" + +#: ../IkiWiki/Plugin/po.pm:848 #, perl-format msgid "failed to update %s" msgstr "" -#: ../IkiWiki/Plugin/po.pm:830 +#: ../IkiWiki/Plugin/po.pm:854 #, perl-format msgid "failed to copy the POT file to %s" msgstr "" -#: ../IkiWiki/Plugin/po.pm:866 +#: ../IkiWiki/Plugin/po.pm:890 msgid "N/A" msgstr "" -#: ../IkiWiki/Plugin/po.pm:879 +#: ../IkiWiki/Plugin/po.pm:903 #, perl-format msgid "failed to translate %s" msgstr "" -#: ../IkiWiki/Plugin/po.pm:955 +#: ../IkiWiki/Plugin/po.pm:979 msgid "removed obsolete PO files" msgstr "" -#: ../IkiWiki/Plugin/po.pm:1018 ../IkiWiki/Plugin/po.pm:1032 -#: ../IkiWiki/Plugin/po.pm:1072 +#: ../IkiWiki/Plugin/po.pm:1042 ../IkiWiki/Plugin/po.pm:1056 +#: ../IkiWiki/Plugin/po.pm:1096 #, perl-format msgid "failed to write %s" msgstr "" -#: ../IkiWiki/Plugin/po.pm:1030 +#: ../IkiWiki/Plugin/po.pm:1054 msgid "failed to translate" msgstr "" -#: ../IkiWiki/Plugin/po.pm:1035 +#: ../IkiWiki/Plugin/po.pm:1059 #, perl-format msgid "failed to read %s" msgstr "" +#: ../IkiWiki/Plugin/po.pm:1108 +msgid "invalid gettext data, go back to previous page to continue edit" +msgstr "" + #: ../IkiWiki/Plugin/poll.pm:69 msgid "vote" msgstr "" @@ -987,56 +1004,56 @@ msgstr "" msgid "bad file name %s" msgstr "" -#: ../IkiWiki/Render.pm:254 +#: ../IkiWiki/Render.pm:260 #, perl-format msgid "" "symlink found in srcdir path (%s) -- set allow_symlinks_before_srcdir to " "allow this" msgstr "" -#: ../IkiWiki/Render.pm:277 ../IkiWiki/Render.pm:302 +#: ../IkiWiki/Render.pm:283 ../IkiWiki/Render.pm:308 #, perl-format msgid "skipping bad filename %s" msgstr "" -#: ../IkiWiki/Render.pm:284 +#: ../IkiWiki/Render.pm:290 #, perl-format msgid "%s has multiple possible source pages" msgstr "" -#: ../IkiWiki/Render.pm:370 +#: ../IkiWiki/Render.pm:376 #, perl-format msgid "removing old page %s" msgstr "" -#: ../IkiWiki/Render.pm:410 +#: ../IkiWiki/Render.pm:416 #, perl-format msgid "scanning %s" msgstr "" -#: ../IkiWiki/Render.pm:436 +#: ../IkiWiki/Render.pm:442 #, perl-format -msgid "rendering %s, which links to %s" +msgid "building %s, which links to %s" msgstr "" -#: ../IkiWiki/Render.pm:457 +#: ../IkiWiki/Render.pm:463 #, perl-format -msgid "rendering %s, which depends on %s" +msgid "building %s, which depends on %s" msgstr "" -#: ../IkiWiki/Render.pm:496 +#: ../IkiWiki/Render.pm:502 #, perl-format -msgid "rendering %s, to update its backlinks" +msgid "building %s, to update its backlinks" msgstr "" -#: ../IkiWiki/Render.pm:508 +#: ../IkiWiki/Render.pm:514 #, perl-format -msgid "removing %s, no longer rendered by %s" +msgid "removing %s, no longer built by %s" msgstr "" -#: ../IkiWiki/Render.pm:532 +#: ../IkiWiki/Render.pm:538 #, perl-format -msgid "ikiwiki: cannot render %s" +msgid "ikiwiki: cannot build %s" msgstr "" #. translators: The first parameter is a filename, and the second @@ -1153,7 +1170,7 @@ msgid "What revision control system to use?" msgstr "" #: ../auto.setup:20 -msgid "What wiki user (or openid) will be admin?" +msgid "Which user (wiki account or openid) will be admin?" msgstr "" #: ../auto.setup:23 diff --git a/po/pl.po b/po/pl.po index afbcbe39e..3e8d08523 100644 --- a/po/pl.po +++ b/po/pl.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: ikiwiki 1.51\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-20 06:45+0200\n" +"POT-Creation-Date: 2009-08-11 15:00-0400\n" "PO-Revision-Date: 2007-04-27 22:05+0200\n" "Last-Translator: Pawel Tecza \n" "Language-Team: Debian L10n Polish \n" @@ -22,7 +22,7 @@ msgstr "Proszę najpierw zalogować się." #: ../IkiWiki/CGI.pm:146 msgid "" -"probable misconfiguration: sslcookie is set, but you are attepting to login " +"probable misconfiguration: sslcookie is set, but you are attempting to login " "via http, not https" msgstr "" @@ -149,8 +149,9 @@ msgid "Must specify %s" msgstr "" #: ../IkiWiki/Plugin/amazon_s3.pm:136 -msgid "Failed to create bucket in S3: " -msgstr "" +#, fuzzy +msgid "Failed to create S3 bucket: " +msgstr "Awaria w trakcie wysyłania wiadomości" #: ../IkiWiki/Plugin/amazon_s3.pm:221 #, fuzzy @@ -190,10 +191,10 @@ msgid "" msgstr "" #: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:233 -#: ../IkiWiki/Plugin/inline.pm:357 ../IkiWiki/Plugin/inline.pm:365 +#: ../IkiWiki/Plugin/inline.pm:376 ../IkiWiki/Plugin/inline.pm:384 #: ../IkiWiki/Plugin/opendiscussion.pm:26 ../IkiWiki/Plugin/orphans.pm:37 -#: ../IkiWiki/Plugin/po.pm:283 ../IkiWiki/Plugin/po.pm:286 -#: ../IkiWiki/Render.pm:80 ../IkiWiki/Render.pm:84 ../IkiWiki/Render.pm:150 +#: ../IkiWiki/Plugin/po.pm:289 ../IkiWiki/Plugin/po.pm:292 +#: ../IkiWiki/Render.pm:86 ../IkiWiki/Render.pm:90 ../IkiWiki/Render.pm:156 msgid "Discussion" msgstr "Dyskusja" @@ -337,6 +338,26 @@ msgstr "" msgid "fortune failed" msgstr "awaria fortunki" +#: ../IkiWiki/Plugin/getsource.pm:62 ../IkiWiki/Plugin/goto.pm:55 +#, fuzzy +msgid "missing page" +msgstr "brakujące wartości" + +#: ../IkiWiki/Plugin/getsource.pm:64 ../IkiWiki/Plugin/goto.pm:57 +#, perl-format +msgid "The page %s does not exist." +msgstr "" + +#: ../IkiWiki/Plugin/getsource.pm:73 +#, fuzzy +msgid "not a page" +msgstr "awaria w trakcie odczytu %s: %s" + +#: ../IkiWiki/Plugin/getsource.pm:75 +#, fuzzy, perl-format +msgid "%s is an attachment, not a page." +msgstr "Strona %s nie może być edytowana" + #: ../IkiWiki/Plugin/git.pm:626 ../IkiWiki/Plugin/git.pm:644 #: ../IkiWiki/Receive.pm:129 #, perl-format @@ -362,16 +383,6 @@ msgstr "Wtyczka do wyszukiwarka wymaga podania %s" msgid "Failed to parse url, cannot determine domain name" msgstr "" -#: ../IkiWiki/Plugin/goto.pm:55 -#, fuzzy -msgid "missing page" -msgstr "brakujące wartości" - -#: ../IkiWiki/Plugin/goto.pm:57 -#, perl-format -msgid "The page %s does not exist." -msgstr "" - #: ../IkiWiki/Plugin/graphviz.pm:67 #, fuzzy msgid "failed to run graphviz" @@ -396,28 +407,28 @@ msgid "" "warning: highlight perl module not available; falling back to pass through" msgstr "" -#: ../IkiWiki/Plugin/img.pm:62 +#: ../IkiWiki/Plugin/img.pm:63 #, fuzzy msgid "Image::Magick is not installed" msgstr "wtyczka polygen nie jest zainstalowana" -#: ../IkiWiki/Plugin/img.pm:69 +#: ../IkiWiki/Plugin/img.pm:72 #, perl-format msgid "wrong size format \"%s\" (should be WxH)" msgstr "" -#: ../IkiWiki/Plugin/img.pm:80 ../IkiWiki/Plugin/img.pm:84 -#: ../IkiWiki/Plugin/img.pm:101 +#: ../IkiWiki/Plugin/img.pm:83 ../IkiWiki/Plugin/img.pm:87 +#: ../IkiWiki/Plugin/img.pm:104 #, fuzzy, perl-format msgid "failed to read %s: %s" msgstr "awaria w trakcie odczytu %s: %s" -#: ../IkiWiki/Plugin/img.pm:87 +#: ../IkiWiki/Plugin/img.pm:90 #, fuzzy, perl-format msgid "failed to resize: %s" msgstr "awaria w trakcie zmiany rozmiaru: %s" -#: ../IkiWiki/Plugin/img.pm:118 +#: ../IkiWiki/Plugin/img.pm:119 #, fuzzy, perl-format msgid "failed to determine size of image %s" msgstr "awaria w trakcie zmiany rozmiaru: %s" @@ -438,25 +449,30 @@ msgstr "nieznaleziony kanał RSS" msgid "missing pages parameter" msgstr "brakujący parametr %s" -#: ../IkiWiki/Plugin/inline.pm:196 +#: ../IkiWiki/Plugin/inline.pm:192 +#, perl-format +msgid "the %s and %s parameters cannot be used together" +msgstr "" + +#: ../IkiWiki/Plugin/inline.pm:214 msgid "Sort::Naturally needed for title_natural sort" msgstr "" -#: ../IkiWiki/Plugin/inline.pm:207 +#: ../IkiWiki/Plugin/inline.pm:225 #, perl-format msgid "unknown sort type %s" msgstr "nieznany sposób sortowania %s" -#: ../IkiWiki/Plugin/inline.pm:310 +#: ../IkiWiki/Plugin/inline.pm:329 msgid "Add a new post titled:" msgstr "Tytuł nowego wpisu" -#: ../IkiWiki/Plugin/inline.pm:330 +#: ../IkiWiki/Plugin/inline.pm:349 #, perl-format msgid "nonexistant template %s" msgstr "brakujący szablon %s" -#: ../IkiWiki/Plugin/inline.pm:596 +#: ../IkiWiki/Plugin/inline.pm:615 msgid "RPC::XML::Client not found, not pinging" msgstr "Nieznaleziony moduł RPC::XML::Client, brak możliwości pingowania" @@ -523,7 +539,8 @@ msgid "Get an OpenID" msgstr "Pobierz OpenID" #: ../IkiWiki/Plugin/orphans.pm:52 -msgid "All pages are linked to by other pages." +#, fuzzy +msgid "All pages have other pages linking to them." msgstr "Dla każdej strony istnieje odnośnik z innej strony" #: ../IkiWiki/Plugin/pagetemplate.pm:30 @@ -581,103 +598,106 @@ msgstr "" msgid "LWP not found, not pinging" msgstr "Nieznaleziony moduł RPC::XML::Client, brak możliwości pingowania" -#: ../IkiWiki/Plugin/po.pm:130 -msgid "" -"At least one slave language must be defined in po_slave_languages when using " -"the po plugin" -msgstr "" - -#: ../IkiWiki/Plugin/po.pm:136 +#: ../IkiWiki/Plugin/po.pm:131 #, fuzzy, perl-format msgid "%s is not a valid language code" msgstr "Strona %s nie może być edytowana" -#: ../IkiWiki/Plugin/po.pm:148 +#: ../IkiWiki/Plugin/po.pm:143 #, perl-format msgid "" "%s is not a valid value for po_link_to, falling back to po_link_to=default" msgstr "" -#: ../IkiWiki/Plugin/po.pm:153 +#: ../IkiWiki/Plugin/po.pm:148 msgid "" "po_link_to=negotiated requires usedirs to be enabled, falling back to " "po_link_to=default" msgstr "" -#: ../IkiWiki/Plugin/po.pm:276 +#: ../IkiWiki/Plugin/po.pm:282 msgid "discussion" msgstr "dyskusja" -#: ../IkiWiki/Plugin/po.pm:373 +#: ../IkiWiki/Plugin/po.pm:379 #, perl-format -msgid "re-rendering all pages to fix meta titles" +msgid "rebuilding all pages to fix meta titles" msgstr "" -#: ../IkiWiki/Plugin/po.pm:377 ../IkiWiki/Render.pm:415 -#, perl-format -msgid "rendering %s" -msgstr "renderowanie %s" +#: ../IkiWiki/Plugin/po.pm:383 ../IkiWiki/Render.pm:421 +#, fuzzy, perl-format +msgid "building %s" +msgstr "edycja %s" -#: ../IkiWiki/Plugin/po.pm:410 +#: ../IkiWiki/Plugin/po.pm:420 msgid "updated PO files" msgstr "" -#: ../IkiWiki/Plugin/po.pm:434 +#: ../IkiWiki/Plugin/po.pm:444 msgid "" -"Can not remove a translation. Removing the master page, though, removes its " -"translations as well." +"Can not remove a translation. If the master page is removed, however, its " +"translations will be removed as well." msgstr "" -#: ../IkiWiki/Plugin/po.pm:454 +#: ../IkiWiki/Plugin/po.pm:464 msgid "" -"Can not rename a translation. Renaming the master page, though, renames its " -"translations as well." +"Can not rename a translation. If the master page is renamed, however, its " +"translations will be renamed as well." msgstr "" -#: ../IkiWiki/Plugin/po.pm:816 +#: ../IkiWiki/Plugin/po.pm:825 #, perl-format msgid "POT file (%s) does not exist" msgstr "" -#: ../IkiWiki/Plugin/po.pm:824 +#: ../IkiWiki/Plugin/po.pm:839 +#, fuzzy, perl-format +msgid "failed to copy underlay PO file to %s" +msgstr "awaria w trakcie kompilowania %s" + +#: ../IkiWiki/Plugin/po.pm:848 #, fuzzy, perl-format msgid "failed to update %s" msgstr "awaria w trakcie kompilowania %s" -#: ../IkiWiki/Plugin/po.pm:830 +#: ../IkiWiki/Plugin/po.pm:854 #, fuzzy, perl-format msgid "failed to copy the POT file to %s" msgstr "awaria w trakcie kompilowania %s" -#: ../IkiWiki/Plugin/po.pm:866 +#: ../IkiWiki/Plugin/po.pm:890 msgid "N/A" msgstr "" -#: ../IkiWiki/Plugin/po.pm:879 +#: ../IkiWiki/Plugin/po.pm:903 #, fuzzy, perl-format msgid "failed to translate %s" msgstr "awaria w trakcie zmiany rozmiaru: %s" -#: ../IkiWiki/Plugin/po.pm:955 +#: ../IkiWiki/Plugin/po.pm:979 msgid "removed obsolete PO files" msgstr "" -#: ../IkiWiki/Plugin/po.pm:1018 ../IkiWiki/Plugin/po.pm:1032 -#: ../IkiWiki/Plugin/po.pm:1072 +#: ../IkiWiki/Plugin/po.pm:1042 ../IkiWiki/Plugin/po.pm:1056 +#: ../IkiWiki/Plugin/po.pm:1096 #, fuzzy, perl-format msgid "failed to write %s" msgstr "awaria w trakcie zapisu %s: %s" -#: ../IkiWiki/Plugin/po.pm:1030 +#: ../IkiWiki/Plugin/po.pm:1054 #, fuzzy msgid "failed to translate" msgstr "awaria w trakcie uruchamiania dot" -#: ../IkiWiki/Plugin/po.pm:1035 +#: ../IkiWiki/Plugin/po.pm:1059 #, fuzzy, perl-format msgid "failed to read %s" msgstr "awaria w trakcie odczytu %s: %s" +#: ../IkiWiki/Plugin/po.pm:1108 +msgid "invalid gettext data, go back to previous page to continue edit" +msgstr "" + #: ../IkiWiki/Plugin/poll.pm:69 msgid "vote" msgstr "głosuj" @@ -1031,56 +1051,56 @@ msgstr "" msgid "bad file name %s" msgstr "pomijanie nieprawidłowej nazwy pliku %s" -#: ../IkiWiki/Render.pm:254 +#: ../IkiWiki/Render.pm:260 #, perl-format msgid "" "symlink found in srcdir path (%s) -- set allow_symlinks_before_srcdir to " "allow this" msgstr "" -#: ../IkiWiki/Render.pm:277 ../IkiWiki/Render.pm:302 +#: ../IkiWiki/Render.pm:283 ../IkiWiki/Render.pm:308 #, perl-format msgid "skipping bad filename %s" msgstr "pomijanie nieprawidłowej nazwy pliku %s" -#: ../IkiWiki/Render.pm:284 +#: ../IkiWiki/Render.pm:290 #, perl-format msgid "%s has multiple possible source pages" msgstr "" -#: ../IkiWiki/Render.pm:370 +#: ../IkiWiki/Render.pm:376 #, perl-format msgid "removing old page %s" msgstr "usuwanie starej strony %s" -#: ../IkiWiki/Render.pm:410 +#: ../IkiWiki/Render.pm:416 #, perl-format msgid "scanning %s" msgstr "skanowanie %s" -#: ../IkiWiki/Render.pm:436 -#, perl-format -msgid "rendering %s, which links to %s" +#: ../IkiWiki/Render.pm:442 +#, fuzzy, perl-format +msgid "building %s, which links to %s" msgstr "renderowanie %s z odnośnikiem do %s" -#: ../IkiWiki/Render.pm:457 -#, perl-format -msgid "rendering %s, which depends on %s" +#: ../IkiWiki/Render.pm:463 +#, fuzzy, perl-format +msgid "building %s, which depends on %s" msgstr "renderowanie %s zależącego od %s" -#: ../IkiWiki/Render.pm:496 -#, perl-format -msgid "rendering %s, to update its backlinks" +#: ../IkiWiki/Render.pm:502 +#, fuzzy, perl-format +msgid "building %s, to update its backlinks" msgstr "renderowanie %s w celu aktualizacji powrotnych odnośników" -#: ../IkiWiki/Render.pm:508 -#, perl-format -msgid "removing %s, no longer rendered by %s" +#: ../IkiWiki/Render.pm:514 +#, fuzzy, perl-format +msgid "removing %s, no longer built by %s" msgstr "usuwanie %s nie tworzonego już przez %s" -#: ../IkiWiki/Render.pm:532 -#, perl-format -msgid "ikiwiki: cannot render %s" +#: ../IkiWiki/Render.pm:538 +#, fuzzy, perl-format +msgid "ikiwiki: cannot build %s" msgstr "ikiwiki: awaria w trakcie tworzenia %s" #. translators: The first parameter is a filename, and the second @@ -1199,13 +1219,16 @@ msgid "What revision control system to use?" msgstr "" #: ../auto.setup:20 -msgid "What wiki user (or openid) will be admin?" +msgid "Which user (wiki account or openid) will be admin?" msgstr "" #: ../auto.setup:23 msgid "What is the domain name of the web server?" msgstr "" +#~ msgid "rendering %s" +#~ msgstr "renderowanie %s" + #, fuzzy #~ msgid "Must specify %s when using the google search plugin" #~ msgstr "Wtyczka do wyszukiwarka wymaga podania %s" diff --git a/po/sv.po b/po/sv.po index 70d9ca68c..ff8d3aa0d 100644 --- a/po/sv.po +++ b/po/sv.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: ikiwiki\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-20 06:45+0200\n" +"POT-Creation-Date: 2009-08-11 15:00-0400\n" "PO-Revision-Date: 2007-01-10 23:47+0100\n" "Last-Translator: Daniel Nylander \n" "Language-Team: Swedish \n" @@ -21,7 +21,7 @@ msgstr "Du måste logga in först." #: ../IkiWiki/CGI.pm:146 msgid "" -"probable misconfiguration: sslcookie is set, but you are attepting to login " +"probable misconfiguration: sslcookie is set, but you are attempting to login " "via http, not https" msgstr "" @@ -146,8 +146,9 @@ msgid "Must specify %s" msgstr "" #: ../IkiWiki/Plugin/amazon_s3.pm:136 -msgid "Failed to create bucket in S3: " -msgstr "" +#, fuzzy +msgid "Failed to create S3 bucket: " +msgstr "Misslyckades med att skicka e-post" #: ../IkiWiki/Plugin/amazon_s3.pm:221 #, fuzzy @@ -187,10 +188,10 @@ msgid "" msgstr "" #: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:233 -#: ../IkiWiki/Plugin/inline.pm:357 ../IkiWiki/Plugin/inline.pm:365 +#: ../IkiWiki/Plugin/inline.pm:376 ../IkiWiki/Plugin/inline.pm:384 #: ../IkiWiki/Plugin/opendiscussion.pm:26 ../IkiWiki/Plugin/orphans.pm:37 -#: ../IkiWiki/Plugin/po.pm:283 ../IkiWiki/Plugin/po.pm:286 -#: ../IkiWiki/Render.pm:80 ../IkiWiki/Render.pm:84 ../IkiWiki/Render.pm:150 +#: ../IkiWiki/Plugin/po.pm:289 ../IkiWiki/Plugin/po.pm:292 +#: ../IkiWiki/Render.pm:86 ../IkiWiki/Render.pm:90 ../IkiWiki/Render.pm:156 msgid "Discussion" msgstr "Diskussion" @@ -334,6 +335,26 @@ msgstr "" msgid "fortune failed" msgstr "fortune misslyckades" +#: ../IkiWiki/Plugin/getsource.pm:62 ../IkiWiki/Plugin/goto.pm:55 +#, fuzzy +msgid "missing page" +msgstr "mall saknar id-parameter" + +#: ../IkiWiki/Plugin/getsource.pm:64 ../IkiWiki/Plugin/goto.pm:57 +#, perl-format +msgid "The page %s does not exist." +msgstr "" + +#: ../IkiWiki/Plugin/getsource.pm:73 +#, fuzzy +msgid "not a page" +msgstr "kan inte läsa %s: %s" + +#: ../IkiWiki/Plugin/getsource.pm:75 +#, perl-format +msgid "%s is an attachment, not a page." +msgstr "" + #: ../IkiWiki/Plugin/git.pm:626 ../IkiWiki/Plugin/git.pm:644 #: ../IkiWiki/Receive.pm:129 #, perl-format @@ -359,16 +380,6 @@ msgstr "Måste ange %s när sökinsticket används" msgid "Failed to parse url, cannot determine domain name" msgstr "" -#: ../IkiWiki/Plugin/goto.pm:55 -#, fuzzy -msgid "missing page" -msgstr "mall saknar id-parameter" - -#: ../IkiWiki/Plugin/goto.pm:57 -#, perl-format -msgid "The page %s does not exist." -msgstr "" - #: ../IkiWiki/Plugin/graphviz.pm:67 #, fuzzy msgid "failed to run graphviz" @@ -393,28 +404,28 @@ msgid "" "warning: highlight perl module not available; falling back to pass through" msgstr "" -#: ../IkiWiki/Plugin/img.pm:62 +#: ../IkiWiki/Plugin/img.pm:63 #, fuzzy msgid "Image::Magick is not installed" msgstr "polygen inte installerad" -#: ../IkiWiki/Plugin/img.pm:69 +#: ../IkiWiki/Plugin/img.pm:72 #, perl-format msgid "wrong size format \"%s\" (should be WxH)" msgstr "" -#: ../IkiWiki/Plugin/img.pm:80 ../IkiWiki/Plugin/img.pm:84 -#: ../IkiWiki/Plugin/img.pm:101 +#: ../IkiWiki/Plugin/img.pm:83 ../IkiWiki/Plugin/img.pm:87 +#: ../IkiWiki/Plugin/img.pm:104 #, fuzzy, perl-format msgid "failed to read %s: %s" msgstr "misslyckades med att skriva %s: %s" -#: ../IkiWiki/Plugin/img.pm:87 +#: ../IkiWiki/Plugin/img.pm:90 #, fuzzy, perl-format msgid "failed to resize: %s" msgstr "misslyckades med att skriva %s: %s" -#: ../IkiWiki/Plugin/img.pm:118 +#: ../IkiWiki/Plugin/img.pm:119 #, fuzzy, perl-format msgid "failed to determine size of image %s" msgstr "misslyckades med att skriva %s: %s" @@ -433,25 +444,30 @@ msgstr "mallen %s hittades inte" msgid "missing pages parameter" msgstr "mall saknar id-parameter" -#: ../IkiWiki/Plugin/inline.pm:196 +#: ../IkiWiki/Plugin/inline.pm:192 +#, perl-format +msgid "the %s and %s parameters cannot be used together" +msgstr "" + +#: ../IkiWiki/Plugin/inline.pm:214 msgid "Sort::Naturally needed for title_natural sort" msgstr "" -#: ../IkiWiki/Plugin/inline.pm:207 +#: ../IkiWiki/Plugin/inline.pm:225 #, perl-format msgid "unknown sort type %s" msgstr "okänd sorteringstyp %s" -#: ../IkiWiki/Plugin/inline.pm:310 +#: ../IkiWiki/Plugin/inline.pm:329 msgid "Add a new post titled:" msgstr "" -#: ../IkiWiki/Plugin/inline.pm:330 +#: ../IkiWiki/Plugin/inline.pm:349 #, perl-format msgid "nonexistant template %s" msgstr "" -#: ../IkiWiki/Plugin/inline.pm:596 +#: ../IkiWiki/Plugin/inline.pm:615 msgid "RPC::XML::Client not found, not pinging" msgstr "RPC::XML::Client hittades inte, pingar inte" @@ -516,7 +532,8 @@ msgid "Get an OpenID" msgstr "Skaffa ett OpenID" #: ../IkiWiki/Plugin/orphans.pm:52 -msgid "All pages are linked to by other pages." +#, fuzzy +msgid "All pages have other pages linking to them." msgstr "Alla sidor länkas till av andra sidor." #: ../IkiWiki/Plugin/pagetemplate.pm:30 @@ -574,103 +591,106 @@ msgstr "" msgid "LWP not found, not pinging" msgstr "RPC::XML::Client hittades inte, pingar inte" -#: ../IkiWiki/Plugin/po.pm:130 -msgid "" -"At least one slave language must be defined in po_slave_languages when using " -"the po plugin" -msgstr "" - -#: ../IkiWiki/Plugin/po.pm:136 +#: ../IkiWiki/Plugin/po.pm:131 #, perl-format msgid "%s is not a valid language code" msgstr "" -#: ../IkiWiki/Plugin/po.pm:148 +#: ../IkiWiki/Plugin/po.pm:143 #, perl-format msgid "" "%s is not a valid value for po_link_to, falling back to po_link_to=default" msgstr "" -#: ../IkiWiki/Plugin/po.pm:153 +#: ../IkiWiki/Plugin/po.pm:148 msgid "" "po_link_to=negotiated requires usedirs to be enabled, falling back to " "po_link_to=default" msgstr "" -#: ../IkiWiki/Plugin/po.pm:276 +#: ../IkiWiki/Plugin/po.pm:282 msgid "discussion" msgstr "diskussion" -#: ../IkiWiki/Plugin/po.pm:373 +#: ../IkiWiki/Plugin/po.pm:379 #, perl-format -msgid "re-rendering all pages to fix meta titles" +msgid "rebuilding all pages to fix meta titles" msgstr "" -#: ../IkiWiki/Plugin/po.pm:377 ../IkiWiki/Render.pm:415 -#, perl-format -msgid "rendering %s" -msgstr "ritar upp %s" +#: ../IkiWiki/Plugin/po.pm:383 ../IkiWiki/Render.pm:421 +#, fuzzy, perl-format +msgid "building %s" +msgstr "redigerar %s" -#: ../IkiWiki/Plugin/po.pm:410 +#: ../IkiWiki/Plugin/po.pm:420 msgid "updated PO files" msgstr "" -#: ../IkiWiki/Plugin/po.pm:434 +#: ../IkiWiki/Plugin/po.pm:444 msgid "" -"Can not remove a translation. Removing the master page, though, removes its " -"translations as well." +"Can not remove a translation. If the master page is removed, however, its " +"translations will be removed as well." msgstr "" -#: ../IkiWiki/Plugin/po.pm:454 +#: ../IkiWiki/Plugin/po.pm:464 msgid "" -"Can not rename a translation. Renaming the master page, though, renames its " -"translations as well." +"Can not rename a translation. If the master page is renamed, however, its " +"translations will be renamed as well." msgstr "" -#: ../IkiWiki/Plugin/po.pm:816 +#: ../IkiWiki/Plugin/po.pm:825 #, perl-format msgid "POT file (%s) does not exist" msgstr "" -#: ../IkiWiki/Plugin/po.pm:824 +#: ../IkiWiki/Plugin/po.pm:839 +#, fuzzy, perl-format +msgid "failed to copy underlay PO file to %s" +msgstr "misslyckades med att kompilera %s" + +#: ../IkiWiki/Plugin/po.pm:848 #, fuzzy, perl-format msgid "failed to update %s" msgstr "misslyckades med att kompilera %s" -#: ../IkiWiki/Plugin/po.pm:830 +#: ../IkiWiki/Plugin/po.pm:854 #, fuzzy, perl-format msgid "failed to copy the POT file to %s" msgstr "misslyckades med att kompilera %s" -#: ../IkiWiki/Plugin/po.pm:866 +#: ../IkiWiki/Plugin/po.pm:890 msgid "N/A" msgstr "" -#: ../IkiWiki/Plugin/po.pm:879 +#: ../IkiWiki/Plugin/po.pm:903 #, fuzzy, perl-format msgid "failed to translate %s" msgstr "misslyckades med att skriva %s: %s" -#: ../IkiWiki/Plugin/po.pm:955 +#: ../IkiWiki/Plugin/po.pm:979 msgid "removed obsolete PO files" msgstr "" -#: ../IkiWiki/Plugin/po.pm:1018 ../IkiWiki/Plugin/po.pm:1032 -#: ../IkiWiki/Plugin/po.pm:1072 +#: ../IkiWiki/Plugin/po.pm:1042 ../IkiWiki/Plugin/po.pm:1056 +#: ../IkiWiki/Plugin/po.pm:1096 #, fuzzy, perl-format msgid "failed to write %s" msgstr "misslyckades med att skriva %s: %s" -#: ../IkiWiki/Plugin/po.pm:1030 +#: ../IkiWiki/Plugin/po.pm:1054 #, fuzzy msgid "failed to translate" msgstr "linkmap misslyckades att köra dot" -#: ../IkiWiki/Plugin/po.pm:1035 +#: ../IkiWiki/Plugin/po.pm:1059 #, fuzzy, perl-format msgid "failed to read %s" msgstr "misslyckades med att skriva %s: %s" +#: ../IkiWiki/Plugin/po.pm:1108 +msgid "invalid gettext data, go back to previous page to continue edit" +msgstr "" + #: ../IkiWiki/Plugin/poll.pm:69 msgid "vote" msgstr "röst" @@ -1018,56 +1038,56 @@ msgstr "" msgid "bad file name %s" msgstr "hoppar över felaktigt filnamn %s" -#: ../IkiWiki/Render.pm:254 +#: ../IkiWiki/Render.pm:260 #, perl-format msgid "" "symlink found in srcdir path (%s) -- set allow_symlinks_before_srcdir to " "allow this" msgstr "" -#: ../IkiWiki/Render.pm:277 ../IkiWiki/Render.pm:302 +#: ../IkiWiki/Render.pm:283 ../IkiWiki/Render.pm:308 #, perl-format msgid "skipping bad filename %s" msgstr "hoppar över felaktigt filnamn %s" -#: ../IkiWiki/Render.pm:284 +#: ../IkiWiki/Render.pm:290 #, perl-format msgid "%s has multiple possible source pages" msgstr "" -#: ../IkiWiki/Render.pm:370 +#: ../IkiWiki/Render.pm:376 #, perl-format msgid "removing old page %s" msgstr "tar bort gammal sida %s" -#: ../IkiWiki/Render.pm:410 +#: ../IkiWiki/Render.pm:416 #, perl-format msgid "scanning %s" msgstr "söker av %s" -#: ../IkiWiki/Render.pm:436 -#, perl-format -msgid "rendering %s, which links to %s" +#: ../IkiWiki/Render.pm:442 +#, fuzzy, perl-format +msgid "building %s, which links to %s" msgstr "ritar upp %s, vilken länkar till %s" -#: ../IkiWiki/Render.pm:457 -#, perl-format -msgid "rendering %s, which depends on %s" +#: ../IkiWiki/Render.pm:463 +#, fuzzy, perl-format +msgid "building %s, which depends on %s" msgstr "ritar upp %s, vilken är beroende av %s" -#: ../IkiWiki/Render.pm:496 -#, perl-format -msgid "rendering %s, to update its backlinks" +#: ../IkiWiki/Render.pm:502 +#, fuzzy, perl-format +msgid "building %s, to update its backlinks" msgstr "ritar upp %s, för att uppdatera dess bakåtlänkar" -#: ../IkiWiki/Render.pm:508 -#, perl-format -msgid "removing %s, no longer rendered by %s" +#: ../IkiWiki/Render.pm:514 +#, fuzzy, perl-format +msgid "removing %s, no longer built by %s" msgstr "tar bort %s, som inte längre ritas upp av %s" -#: ../IkiWiki/Render.pm:532 -#, perl-format -msgid "ikiwiki: cannot render %s" +#: ../IkiWiki/Render.pm:538 +#, fuzzy, perl-format +msgid "ikiwiki: cannot build %s" msgstr "ikiwiki: kan inte rita upp %s" #. translators: The first parameter is a filename, and the second @@ -1184,13 +1204,16 @@ msgid "What revision control system to use?" msgstr "" #: ../auto.setup:20 -msgid "What wiki user (or openid) will be admin?" +msgid "Which user (wiki account or openid) will be admin?" msgstr "" #: ../auto.setup:23 msgid "What is the domain name of the web server?" msgstr "" +#~ msgid "rendering %s" +#~ msgstr "ritar upp %s" + #, fuzzy #~ msgid "Must specify %s when using the google search plugin" #~ msgstr "Måste ange %s när sökinsticket används" diff --git a/po/vi.po b/po/vi.po index 75fceb445..7cf911b16 100644 --- a/po/vi.po +++ b/po/vi.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: ikiwiki\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-20 06:45+0200\n" +"POT-Creation-Date: 2009-08-11 15:00-0400\n" "PO-Revision-Date: 2007-01-13 15:31+1030\n" "Last-Translator: Clytie Siddall \n" "Language-Team: Vietnamese \n" @@ -22,7 +22,7 @@ msgstr "Trước tiên bạn cần phải đăng nhập." #: ../IkiWiki/CGI.pm:146 msgid "" -"probable misconfiguration: sslcookie is set, but you are attepting to login " +"probable misconfiguration: sslcookie is set, but you are attempting to login " "via http, not https" msgstr "" @@ -147,8 +147,9 @@ msgid "Must specify %s" msgstr "" #: ../IkiWiki/Plugin/amazon_s3.pm:136 -msgid "Failed to create bucket in S3: " -msgstr "" +#, fuzzy +msgid "Failed to create S3 bucket: " +msgstr "Lỗi gửi thư" #: ../IkiWiki/Plugin/amazon_s3.pm:221 #, fuzzy @@ -188,10 +189,10 @@ msgid "" msgstr "" #: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:233 -#: ../IkiWiki/Plugin/inline.pm:357 ../IkiWiki/Plugin/inline.pm:365 +#: ../IkiWiki/Plugin/inline.pm:376 ../IkiWiki/Plugin/inline.pm:384 #: ../IkiWiki/Plugin/opendiscussion.pm:26 ../IkiWiki/Plugin/orphans.pm:37 -#: ../IkiWiki/Plugin/po.pm:283 ../IkiWiki/Plugin/po.pm:286 -#: ../IkiWiki/Render.pm:80 ../IkiWiki/Render.pm:84 ../IkiWiki/Render.pm:150 +#: ../IkiWiki/Plugin/po.pm:289 ../IkiWiki/Plugin/po.pm:292 +#: ../IkiWiki/Render.pm:86 ../IkiWiki/Render.pm:90 ../IkiWiki/Render.pm:156 msgid "Discussion" msgstr "Thảo luận" @@ -335,6 +336,26 @@ msgstr "" msgid "fortune failed" msgstr "fortune bị lỗi" +#: ../IkiWiki/Plugin/getsource.pm:62 ../IkiWiki/Plugin/goto.pm:55 +#, fuzzy +msgid "missing page" +msgstr "mẫu thiếu tham số id" + +#: ../IkiWiki/Plugin/getsource.pm:64 ../IkiWiki/Plugin/goto.pm:57 +#, perl-format +msgid "The page %s does not exist." +msgstr "" + +#: ../IkiWiki/Plugin/getsource.pm:73 +#, fuzzy +msgid "not a page" +msgstr "không thể đọc %s: %s" + +#: ../IkiWiki/Plugin/getsource.pm:75 +#, perl-format +msgid "%s is an attachment, not a page." +msgstr "" + #: ../IkiWiki/Plugin/git.pm:626 ../IkiWiki/Plugin/git.pm:644 #: ../IkiWiki/Receive.pm:129 #, perl-format @@ -360,16 +381,6 @@ msgstr "Cần phải xác định %s khi dùng bổ sung tìm kiếm" msgid "Failed to parse url, cannot determine domain name" msgstr "" -#: ../IkiWiki/Plugin/goto.pm:55 -#, fuzzy -msgid "missing page" -msgstr "mẫu thiếu tham số id" - -#: ../IkiWiki/Plugin/goto.pm:57 -#, perl-format -msgid "The page %s does not exist." -msgstr "" - #: ../IkiWiki/Plugin/graphviz.pm:67 #, fuzzy msgid "failed to run graphviz" @@ -394,28 +405,28 @@ msgid "" "warning: highlight perl module not available; falling back to pass through" msgstr "" -#: ../IkiWiki/Plugin/img.pm:62 +#: ../IkiWiki/Plugin/img.pm:63 #, fuzzy msgid "Image::Magick is not installed" msgstr "chưa cài đặt polygen" -#: ../IkiWiki/Plugin/img.pm:69 +#: ../IkiWiki/Plugin/img.pm:72 #, perl-format msgid "wrong size format \"%s\" (should be WxH)" msgstr "" -#: ../IkiWiki/Plugin/img.pm:80 ../IkiWiki/Plugin/img.pm:84 -#: ../IkiWiki/Plugin/img.pm:101 +#: ../IkiWiki/Plugin/img.pm:83 ../IkiWiki/Plugin/img.pm:87 +#: ../IkiWiki/Plugin/img.pm:104 #, fuzzy, perl-format msgid "failed to read %s: %s" msgstr "lỗi ghi %s: %s" -#: ../IkiWiki/Plugin/img.pm:87 +#: ../IkiWiki/Plugin/img.pm:90 #, fuzzy, perl-format msgid "failed to resize: %s" msgstr "lỗi ghi %s: %s" -#: ../IkiWiki/Plugin/img.pm:118 +#: ../IkiWiki/Plugin/img.pm:119 #, fuzzy, perl-format msgid "failed to determine size of image %s" msgstr "lỗi ghi %s: %s" @@ -436,25 +447,30 @@ msgstr "không tìm thấy mẫu %s" msgid "missing pages parameter" msgstr "mẫu thiếu tham số id" -#: ../IkiWiki/Plugin/inline.pm:196 +#: ../IkiWiki/Plugin/inline.pm:192 +#, perl-format +msgid "the %s and %s parameters cannot be used together" +msgstr "" + +#: ../IkiWiki/Plugin/inline.pm:214 msgid "Sort::Naturally needed for title_natural sort" msgstr "" -#: ../IkiWiki/Plugin/inline.pm:207 +#: ../IkiWiki/Plugin/inline.pm:225 #, perl-format msgid "unknown sort type %s" msgstr "kiểu sắp xếp không rõ %s" -#: ../IkiWiki/Plugin/inline.pm:310 +#: ../IkiWiki/Plugin/inline.pm:329 msgid "Add a new post titled:" msgstr "" -#: ../IkiWiki/Plugin/inline.pm:330 +#: ../IkiWiki/Plugin/inline.pm:349 #, perl-format msgid "nonexistant template %s" msgstr "" -#: ../IkiWiki/Plugin/inline.pm:596 +#: ../IkiWiki/Plugin/inline.pm:615 msgid "RPC::XML::Client not found, not pinging" msgstr "Không tìm thấy RPC::XML::Client nên không gửi gói tin ping" @@ -517,7 +533,8 @@ msgid "Get an OpenID" msgstr "Lấy OpenID" #: ../IkiWiki/Plugin/orphans.pm:52 -msgid "All pages are linked to by other pages." +#, fuzzy +msgid "All pages have other pages linking to them." msgstr "Mọi trang được liên kết với trang khác." #: ../IkiWiki/Plugin/pagetemplate.pm:30 @@ -575,103 +592,106 @@ msgstr "" msgid "LWP not found, not pinging" msgstr "Không tìm thấy RPC::XML::Client nên không gửi gói tin ping" -#: ../IkiWiki/Plugin/po.pm:130 -msgid "" -"At least one slave language must be defined in po_slave_languages when using " -"the po plugin" -msgstr "" - -#: ../IkiWiki/Plugin/po.pm:136 +#: ../IkiWiki/Plugin/po.pm:131 #, perl-format msgid "%s is not a valid language code" msgstr "" -#: ../IkiWiki/Plugin/po.pm:148 +#: ../IkiWiki/Plugin/po.pm:143 #, perl-format msgid "" "%s is not a valid value for po_link_to, falling back to po_link_to=default" msgstr "" -#: ../IkiWiki/Plugin/po.pm:153 +#: ../IkiWiki/Plugin/po.pm:148 msgid "" "po_link_to=negotiated requires usedirs to be enabled, falling back to " "po_link_to=default" msgstr "" -#: ../IkiWiki/Plugin/po.pm:276 +#: ../IkiWiki/Plugin/po.pm:282 msgid "discussion" msgstr "thảo luận" -#: ../IkiWiki/Plugin/po.pm:373 +#: ../IkiWiki/Plugin/po.pm:379 #, perl-format -msgid "re-rendering all pages to fix meta titles" +msgid "rebuilding all pages to fix meta titles" msgstr "" -#: ../IkiWiki/Plugin/po.pm:377 ../IkiWiki/Render.pm:415 -#, perl-format -msgid "rendering %s" -msgstr "đang vẽ %s" +#: ../IkiWiki/Plugin/po.pm:383 ../IkiWiki/Render.pm:421 +#, fuzzy, perl-format +msgid "building %s" +msgstr "đang sửa %s" -#: ../IkiWiki/Plugin/po.pm:410 +#: ../IkiWiki/Plugin/po.pm:420 msgid "updated PO files" msgstr "" -#: ../IkiWiki/Plugin/po.pm:434 +#: ../IkiWiki/Plugin/po.pm:444 msgid "" -"Can not remove a translation. Removing the master page, though, removes its " -"translations as well." +"Can not remove a translation. If the master page is removed, however, its " +"translations will be removed as well." msgstr "" -#: ../IkiWiki/Plugin/po.pm:454 +#: ../IkiWiki/Plugin/po.pm:464 msgid "" -"Can not rename a translation. Renaming the master page, though, renames its " -"translations as well." +"Can not rename a translation. If the master page is renamed, however, its " +"translations will be renamed as well." msgstr "" -#: ../IkiWiki/Plugin/po.pm:816 +#: ../IkiWiki/Plugin/po.pm:825 #, perl-format msgid "POT file (%s) does not exist" msgstr "" -#: ../IkiWiki/Plugin/po.pm:824 +#: ../IkiWiki/Plugin/po.pm:839 +#, fuzzy, perl-format +msgid "failed to copy underlay PO file to %s" +msgstr "lỗi biên dịch %s" + +#: ../IkiWiki/Plugin/po.pm:848 #, fuzzy, perl-format msgid "failed to update %s" msgstr "lỗi biên dịch %s" -#: ../IkiWiki/Plugin/po.pm:830 +#: ../IkiWiki/Plugin/po.pm:854 #, fuzzy, perl-format msgid "failed to copy the POT file to %s" msgstr "lỗi biên dịch %s" -#: ../IkiWiki/Plugin/po.pm:866 +#: ../IkiWiki/Plugin/po.pm:890 msgid "N/A" msgstr "" -#: ../IkiWiki/Plugin/po.pm:879 +#: ../IkiWiki/Plugin/po.pm:903 #, fuzzy, perl-format msgid "failed to translate %s" msgstr "lỗi ghi %s: %s" -#: ../IkiWiki/Plugin/po.pm:955 +#: ../IkiWiki/Plugin/po.pm:979 msgid "removed obsolete PO files" msgstr "" -#: ../IkiWiki/Plugin/po.pm:1018 ../IkiWiki/Plugin/po.pm:1032 -#: ../IkiWiki/Plugin/po.pm:1072 +#: ../IkiWiki/Plugin/po.pm:1042 ../IkiWiki/Plugin/po.pm:1056 +#: ../IkiWiki/Plugin/po.pm:1096 #, fuzzy, perl-format msgid "failed to write %s" msgstr "lỗi ghi %s: %s" -#: ../IkiWiki/Plugin/po.pm:1030 +#: ../IkiWiki/Plugin/po.pm:1054 #, fuzzy msgid "failed to translate" msgstr "linkmap không chạy dot được" -#: ../IkiWiki/Plugin/po.pm:1035 +#: ../IkiWiki/Plugin/po.pm:1059 #, fuzzy, perl-format msgid "failed to read %s" msgstr "lỗi ghi %s: %s" +#: ../IkiWiki/Plugin/po.pm:1108 +msgid "invalid gettext data, go back to previous page to continue edit" +msgstr "" + #: ../IkiWiki/Plugin/poll.pm:69 msgid "vote" msgstr "bỏ phiếu" @@ -1019,56 +1039,56 @@ msgstr "" msgid "bad file name %s" msgstr "đang bỏ qua tên tập tin sai %s" -#: ../IkiWiki/Render.pm:254 +#: ../IkiWiki/Render.pm:260 #, perl-format msgid "" "symlink found in srcdir path (%s) -- set allow_symlinks_before_srcdir to " "allow this" msgstr "" -#: ../IkiWiki/Render.pm:277 ../IkiWiki/Render.pm:302 +#: ../IkiWiki/Render.pm:283 ../IkiWiki/Render.pm:308 #, perl-format msgid "skipping bad filename %s" msgstr "đang bỏ qua tên tập tin sai %s" -#: ../IkiWiki/Render.pm:284 +#: ../IkiWiki/Render.pm:290 #, perl-format msgid "%s has multiple possible source pages" msgstr "" -#: ../IkiWiki/Render.pm:370 +#: ../IkiWiki/Render.pm:376 #, perl-format msgid "removing old page %s" msgstr "đang gỡ bỏ trang cũ %s" -#: ../IkiWiki/Render.pm:410 +#: ../IkiWiki/Render.pm:416 #, perl-format msgid "scanning %s" msgstr "đang quét %s" -#: ../IkiWiki/Render.pm:436 -#, perl-format -msgid "rendering %s, which links to %s" +#: ../IkiWiki/Render.pm:442 +#, fuzzy, perl-format +msgid "building %s, which links to %s" msgstr "đang vẽ %s mà liên kết tới %s" -#: ../IkiWiki/Render.pm:457 -#, perl-format -msgid "rendering %s, which depends on %s" +#: ../IkiWiki/Render.pm:463 +#, fuzzy, perl-format +msgid "building %s, which depends on %s" msgstr "đang vẽ %s mà phụ thuộc vào %s" -#: ../IkiWiki/Render.pm:496 -#, perl-format -msgid "rendering %s, to update its backlinks" +#: ../IkiWiki/Render.pm:502 +#, fuzzy, perl-format +msgid "building %s, to update its backlinks" msgstr "đang vẽ %s để cập nhật các liên kết ngược của nó" -#: ../IkiWiki/Render.pm:508 -#, perl-format -msgid "removing %s, no longer rendered by %s" +#: ../IkiWiki/Render.pm:514 +#, fuzzy, perl-format +msgid "removing %s, no longer built by %s" msgstr "đang gỡ bỏ %s, không còn được vẽ lại bởi %s" -#: ../IkiWiki/Render.pm:532 -#, perl-format -msgid "ikiwiki: cannot render %s" +#: ../IkiWiki/Render.pm:538 +#, fuzzy, perl-format +msgid "ikiwiki: cannot build %s" msgstr "ikiwiki: không thể vẽ %s" #. translators: The first parameter is a filename, and the second @@ -1185,13 +1205,16 @@ msgid "What revision control system to use?" msgstr "" #: ../auto.setup:20 -msgid "What wiki user (or openid) will be admin?" +msgid "Which user (wiki account or openid) will be admin?" msgstr "" #: ../auto.setup:23 msgid "What is the domain name of the web server?" msgstr "" +#~ msgid "rendering %s" +#~ msgstr "đang vẽ %s" + #, fuzzy #~ msgid "Must specify %s when using the google search plugin" #~ msgstr "Cần phải xác định %s khi dùng bổ sung tìm kiếm" -- cgit v1.2.3 From d165afb1f59f1f21a6968dc2be9fce4ab86d8c48 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 11 Aug 2009 15:20:26 -0400 Subject: add news item for ikiwiki 3.15 --- doc/news/version_3.14.mdwn | 13 ------------- doc/news/version_3.15.mdwn | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 13 deletions(-) delete mode 100644 doc/news/version_3.14.mdwn create mode 100644 doc/news/version_3.15.mdwn diff --git a/doc/news/version_3.14.mdwn b/doc/news/version_3.14.mdwn deleted file mode 100644 index 83c2b9188..000000000 --- a/doc/news/version_3.14.mdwn +++ /dev/null @@ -1,13 +0,0 @@ -ikiwiki 3.14 released with [[!toggle text="these changes"]] -[[!toggleable text=""" - * highlight: New plugin supporting syntax highlighting of pretty much - anything. - * debian/control: Add suggests for libhighlight-perl, although - that package is not yet created by Debian's highlight source package. - (See #529869) - * format: Provide a htmlizefallback hook that other plugins - can use to handle formats that are not suitable for general-purpose - htmlize hooks. Used by highlight. - * Fix test suite to not rely on an installed copy of ikiwiki after - underlaydir change. Closes: #[530502](http://bugs.debian.org/530502) - * Danish translation update. Closes: #[530877](http://bugs.debian.org/530877)"""]] \ No newline at end of file diff --git a/doc/news/version_3.15.mdwn b/doc/news/version_3.15.mdwn new file mode 100644 index 000000000..30a66ea23 --- /dev/null +++ b/doc/news/version_3.15.mdwn @@ -0,0 +1,19 @@ +ikiwiki 3.15 released with [[!toggle text="these changes"]] +[[!toggleable text=""" + * Add new hooks: canremove, canrename, rename. (intrigeri) + * rename: Refactor subpage rename handling code into rename hook. (intrigeri) + * po: New plugin, suporting translation of wiki pages using po files. + (intrigeri) + * Add build machinery to build po files to translate the underlay wikis, + * Add further build machinery to generate translated underlays from + the po file, for use by wikis whose primary language is not English. + * Add Danish basewiki translation by Jonas Smedegaard. + * img: Fix adding of dependency from page to the image. + * pagestats: add `among` parameter, which only counts links from specified + pages (smcv) + * pagestats: when making a tag cloud, don't emit links where the tag is + unused (smcv) + * map: Avoid emitting an unclosed ul element if the map is empty. (harishcm) + * inline: Add pagenames parameter that can be used to list a set of + pages to inline, in a specific order, without using a PageSpec. (smcv) + * Add getsource plugin (Will, smcv)"""]] \ No newline at end of file -- cgit v1.2.3 From fc5c5df60ec6d30c1a284f4194f5ea8e2f5fa2c1 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 11 Aug 2009 16:24:28 -0400 Subject: releasing version 3.141592 --- debian/changelog | 2 +- doc/news/version_3.15.mdwn | 19 ------------------- 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 doc/news/version_3.15.mdwn diff --git a/debian/changelog b/debian/changelog index d02ce888e..2cbf1403e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -ikiwiki (3.15) unstable; urgency=low +ikiwiki (3.141592) unstable; urgency=low * Add new hooks: canremove, canrename, rename. (intrigeri) * rename: Refactor subpage rename handling code into rename hook. (intrigeri) diff --git a/doc/news/version_3.15.mdwn b/doc/news/version_3.15.mdwn deleted file mode 100644 index 30a66ea23..000000000 --- a/doc/news/version_3.15.mdwn +++ /dev/null @@ -1,19 +0,0 @@ -ikiwiki 3.15 released with [[!toggle text="these changes"]] -[[!toggleable text=""" - * Add new hooks: canremove, canrename, rename. (intrigeri) - * rename: Refactor subpage rename handling code into rename hook. (intrigeri) - * po: New plugin, suporting translation of wiki pages using po files. - (intrigeri) - * Add build machinery to build po files to translate the underlay wikis, - * Add further build machinery to generate translated underlays from - the po file, for use by wikis whose primary language is not English. - * Add Danish basewiki translation by Jonas Smedegaard. - * img: Fix adding of dependency from page to the image. - * pagestats: add `among` parameter, which only counts links from specified - pages (smcv) - * pagestats: when making a tag cloud, don't emit links where the tag is - unused (smcv) - * map: Avoid emitting an unclosed ul element if the map is empty. (harishcm) - * inline: Add pagenames parameter that can be used to list a set of - pages to inline, in a specific order, without using a PageSpec. (smcv) - * Add getsource plugin (Will, smcv)"""]] \ No newline at end of file -- cgit v1.2.3 From 55e062f2d1ba5505caf0eadd95240348ac05ec0e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 11 Aug 2009 16:27:32 -0400 Subject: add news item for ikiwiki 3.141592 --- doc/news/version_3.141592.mdwn | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 doc/news/version_3.141592.mdwn diff --git a/doc/news/version_3.141592.mdwn b/doc/news/version_3.141592.mdwn new file mode 100644 index 000000000..5911e07f9 --- /dev/null +++ b/doc/news/version_3.141592.mdwn @@ -0,0 +1,19 @@ +ikiwiki 3.141592 released with [[!toggle text="these changes"]] +[[!toggleable text=""" + * Add new hooks: canremove, canrename, rename. (intrigeri) + * rename: Refactor subpage rename handling code into rename hook. (intrigeri) + * po: New plugin, suporting translation of wiki pages using po files. + (intrigeri) + * Add build machinery to build po files to translate the underlay wikis, + * Add further build machinery to generate translated underlays from + the po file, for use by wikis whose primary language is not English. + * Add Danish basewiki translation by Jonas Smedegaard. + * img: Fix adding of dependency from page to the image. + * pagestats: add `among` parameter, which only counts links from specified + pages (smcv) + * pagestats: when making a tag cloud, don't emit links where the tag is + unused (smcv) + * map: Avoid emitting an unclosed ul element if the map is empty. (harishcm) + * inline: Add pagenames parameter that can be used to list a set of + pages to inline, in a specific order, without using a PageSpec. (smcv) + * Add getsource plugin (Will, smcv)"""]] \ No newline at end of file -- cgit v1.2.3 From b4d7dfcbe1e7ea62f1c25e0534feee58720397ac Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 12 Aug 2009 12:26:07 -0400 Subject: po: Detect if nowrapi18n can't be passed to po4a, and warn about the old version, but continue. Closes: #541205 --- IkiWiki/Plugin/po.pm | 7 ++++++- debian/changelog | 7 +++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm index e9dc9dd8c..52677076e 100644 --- a/IkiWiki/Plugin/po.pm +++ b/IkiWiki/Plugin/po.pm @@ -10,7 +10,12 @@ use warnings; use strict; use IkiWiki 3.00; use Encode; -use Locale::Po4a::Common qw(nowrapi18n !/.*/); +eval q{use Locale::Po4a::Common qw(nowrapi18n !/.*/)}; +if ($@) { + print STDERR gettext("warning: Old po4a detected! Recommend upgrade to 0.35.")."\n"; + eval q{use Locale::Po4a::Common qw(!/.*/)}; + die $@ if $@; +} use Locale::Po4a::Chooser; use Locale::Po4a::Po; use File::Basename; diff --git a/debian/changelog b/debian/changelog index 2cbf1403e..95e3905a3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +ikiwiki (3.141593) UNRELEASED; urgency=low + + * po: Detect if nowrapi18n can't be passed to po4a, and warn about + the old version, but continue. Closes: #541205 + + -- Joey Hess Wed, 12 Aug 2009 12:25:30 -0400 + ikiwiki (3.141592) unstable; urgency=low * Add new hooks: canremove, canrename, rename. (intrigeri) -- cgit v1.2.3 From 04014e47755312bb500b28fc10153dd38eeb7131 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 12 Aug 2009 12:33:02 -0400 Subject: inline: Avoid use of my $_ as it fails with older perls. Closes: #541215 --- IkiWiki/Plugin/inline.pm | 6 ++---- debian/changelog | 2 ++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index e7d6f250e..04ad6ed23 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -186,7 +186,6 @@ sub preprocess_inline (@) { my @list; if (exists $params{pagenames}) { - foreach my $p (qw(sort pages)) { if (exists $params{$p}) { error sprintf(gettext("the %s and %s parameters cannot be used together"), @@ -194,9 +193,8 @@ sub preprocess_inline (@) { } } - @list = split ' ', $params{pagenames}; - my $_; - @list = map { bestlink($params{page}, $_) } @list; + @list = map { bestlink($params{page}, $_) } + split ' ', $params{pagenames}; $params{pages} = join(" or ", @list); } diff --git a/debian/changelog b/debian/changelog index 95e3905a3..ed7854e8a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ ikiwiki (3.141593) UNRELEASED; urgency=low * po: Detect if nowrapi18n can't be passed to po4a, and warn about the old version, but continue. Closes: #541205 + * inline: Avoid use of my $_ as it fails with older perls. + Closes: #541215 -- Joey Hess Wed, 12 Aug 2009 12:25:30 -0400 -- cgit v1.2.3 From 906c8f6e5837a1de5e032d40eba0856b9918bbee Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 12 Aug 2009 12:43:57 -0400 Subject: use a more idiomatic foreach my --- IkiWiki/Plugin/monotone.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/IkiWiki/Plugin/monotone.pm b/IkiWiki/Plugin/monotone.pm index bdb564a71..05c5a514d 100644 --- a/IkiWiki/Plugin/monotone.pm +++ b/IkiWiki/Plugin/monotone.pm @@ -575,13 +575,12 @@ sub rcs_recentchanges ($) { } my @changed_files = get_changed_files($automator, $rev); - my $file; my ($out, $err) = $automator->call("parents", $rev); my @parents = ($out =~ m/^($sha1_pattern)$/); my $parent = $parents[0]; - foreach $file (@changed_files) { + foreach my $file (@changed_files) { next unless length $file; if (defined $config{diffurl} and (@parents == 1)) { -- cgit v1.2.3 From 63ce4459f58b69ac8bac418b85b789486ac775b1 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 12 Aug 2009 12:49:16 -0400 Subject: fix some more foreaches that clal functions to not use $_ --- IkiWiki/Render.pm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index 5cb67ea07..fc8f287ce 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -379,12 +379,13 @@ sub refresh () { $links{$page}=[]; $renderedfiles{$page}=[]; $pagemtime{$page}=0; - prune($config{destdir}."/".$_) - foreach @{$oldrenderedfiles{$page}}; + foreach my $old (@{$oldrenderedfiles{$page}}) { + prune($config{destdir}."/".$old); + } delete $pagesources{$page}; - foreach (keys %destsources) { - if ($destsources{$_} eq $page) { - delete $destsources{$_}; + foreach my $source (keys %destsources) { + if ($destsources{$source} eq $page) { + delete $destsources{$source}; } } } -- cgit v1.2.3 From 4971f873a0ed64dc3eb4d9ddd5c4977d72317a14 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 12 Aug 2009 12:49:40 -0400 Subject: more idiomatic use of foreach --- IkiWiki/Plugin/darcs.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/IkiWiki/Plugin/darcs.pm b/IkiWiki/Plugin/darcs.pm index 9b62e70e4..2448673ac 100644 --- a/IkiWiki/Plugin/darcs.pm +++ b/IkiWiki/Plugin/darcs.pm @@ -318,9 +318,9 @@ sub rcs_recentchanges ($) { my $hash=$patch->{hash}; my $when=str2time($date); my (@pages, @files, @pg); - push @pages, $_ for (@{$patch->{summary}->[0]->{modify_file}}); - push @pages, $_ for (@{$patch->{summary}->[0]->{add_file}}); - push @pages, $_ for (@{$patch->{summary}->[0]->{remove_file}}); + push @pages, $_ foreach (@{$patch->{summary}->[0]->{modify_file}}); + push @pages, $_ foreach (@{$patch->{summary}->[0]->{add_file}}); + push @pages, $_ foreach (@{$patch->{summary}->[0]->{remove_file}}); foreach my $f (@pages) { $f = $f->{content} if ref $f; $f =~ s,^\s+,,; $f =~ s,\s+$,,; # cut whitespace -- cgit v1.2.3 From 6f4e9f38b866559af9e644a95093b3ed08019c8c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 12 Aug 2009 16:15:59 -0400 Subject: version po4a build-dep to 0.34 0.35 is much better, but 0.34 is the minimum version that will work --- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index db86aa909..96ba221ff 100644 --- a/debian/control +++ b/debian/control @@ -6,7 +6,7 @@ Build-Depends-Indep: dpkg-dev (>= 1.9.0), libxml-simple-perl, libtext-markdown-perl | markdown, libtimedate-perl, libhtml-template-perl, libhtml-scrubber-perl, wdg-html-validator, - libhtml-parser-perl, liburi-perl, perlmagick, po4a + libhtml-parser-perl, liburi-perl, perlmagick, po4a (>= 0.34) Maintainer: Joey Hess Uploaders: Josh Triplett Standards-Version: 3.8.1 -- cgit v1.2.3 From 92d185093c952c075d9b4040d8f3d1fa071449c9 Mon Sep 17 00:00:00 2001 From: dave Date: Wed, 12 Aug 2009 23:48:45 -0400 Subject: --- doc/ikiwiki/markdown/discussion.mdwn | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/ikiwiki/markdown/discussion.mdwn diff --git a/doc/ikiwiki/markdown/discussion.mdwn b/doc/ikiwiki/markdown/discussion.mdwn new file mode 100644 index 000000000..d3affec34 --- /dev/null +++ b/doc/ikiwiki/markdown/discussion.mdwn @@ -0,0 +1 @@ +Is anyone else having trouble using the definition list feature of multimarkdown? If not, then I could use some help figuring out why it's not working on my text site. Version is 3.141~bpo50+1 (debian backports), multimarkdown and mdwn support enabled in preferences. Any pointers to the obvious thing I'm missing would be appreciated. - dave -- cgit v1.2.3 From da1d046f61a51c9a2bb00f96d510f953fe73db9f Mon Sep 17 00:00:00 2001 From: lnussel Date: Thu, 13 Aug 2009 11:07:59 -0400 Subject: yes please --- doc/todo/Configurable_minimum_length_of_log_message_for_web_edits.mdwn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/todo/Configurable_minimum_length_of_log_message_for_web_edits.mdwn b/doc/todo/Configurable_minimum_length_of_log_message_for_web_edits.mdwn index 7870281ae..74a4fb1b1 100644 --- a/doc/todo/Configurable_minimum_length_of_log_message_for_web_edits.mdwn +++ b/doc/todo/Configurable_minimum_length_of_log_message_for_web_edits.mdwn @@ -1,3 +1,5 @@ It would be nice to specify a minimum length for the change log for web edits, and if it's only required vs. non-required. I realise this is not going to solve the problem of crap log messages, but it helps guard against accidental submissions which one would have logged. Mediawiki/wikipedia has that option, and I find it a useful reminder. --[[madduck]] +> +1 --[[lnussel]] + [[!tag wishlist]] -- cgit v1.2.3 From 1c2bdf835217f7424383e881380ec51f2bff2dff Mon Sep 17 00:00:00 2001 From: lnussel Date: Thu, 13 Aug 2009 11:45:38 -0400 Subject: add comment about automenu plugin --- doc/todo/a_navbar_based_on_page_properties.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/todo/a_navbar_based_on_page_properties.mdwn b/doc/todo/a_navbar_based_on_page_properties.mdwn index 09be409ac..091e0a39b 100644 --- a/doc/todo/a_navbar_based_on_page_properties.mdwn +++ b/doc/todo/a_navbar_based_on_page_properties.mdwn @@ -38,4 +38,11 @@ well. There is a problem though if this navbar were included in a sidebar (the logical place): if a page is updated, the navbar needs to be rebuilt which causes the sidebar to be rebuilt, which causes the whole site to be rebuilt. Unless we can subscribe only to title changes, this will be pretty bad... --[[madduck]] + +> I've just written a plugin for a automatically created menu for use +> [here](http://www.ff-egersdorf-wachendorf.de/). The source is at +> [gitorious](http://gitorious.org/ikiwiki-plugins/automenu). The problem with +> rebuilding remains unsolved but doesn't matter that much for me as I always +> generate the web site myself, ie it's not really a wiki. --[[lnussel]] + [[!tag wishlist]] -- cgit v1.2.3 From 3c06e9497838bb4dd57dbf5b9c0c5f61a240b629 Mon Sep 17 00:00:00 2001 From: "91.105.86.99" <91.105.86.99@web> Date: Thu, 13 Aug 2009 14:05:59 -0400 Subject: poll vote (Accept only OpenID for logins) --- doc/news/openid.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/news/openid.mdwn b/doc/news/openid.mdwn index cc13a6548..7a6f84518 100644 --- a/doc/news/openid.mdwn +++ b/doc/news/openid.mdwn @@ -10,4 +10,4 @@ log back in, try out the OpenID signup process if you don't already have an OpenID, and see how OpenID works for you. And let me know your feelings about making such a switch. --[[Joey]] -[[!poll 62 "Accept only OpenID for logins" 19 "Accept only password logins" 36 "Accept both"]] +[[!poll 63 "Accept only OpenID for logins" 19 "Accept only password logins" 36 "Accept both"]] -- cgit v1.2.3 From 7b3b0dabb309794bb1d7c9191b7236d2c87c389b Mon Sep 17 00:00:00 2001 From: lludwig Date: Thu, 13 Aug 2009 14:14:50 -0400 Subject: --- doc/forum/google_openid_broken__63__.mdwn | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 doc/forum/google_openid_broken__63__.mdwn diff --git a/doc/forum/google_openid_broken__63__.mdwn b/doc/forum/google_openid_broken__63__.mdwn new file mode 100644 index 000000000..2ca339c3c --- /dev/null +++ b/doc/forum/google_openid_broken__63__.mdwn @@ -0,0 +1,5 @@ +when I login via to this wiki (or ours) via Google's OpenID, I get this error: + +Error: OpenID failure: no_identity_server: The provided URL doesn't declare its OpenID identity server. + +Any idea how to fix this?? -- cgit v1.2.3 From 2b7a003794537ebf8e02f122cc2743834b47a396 Mon Sep 17 00:00:00 2001 From: Amitai Schlair Date: Thu, 13 Aug 2009 16:56:26 -0400 Subject: Add my CVS plugin and related patches. --- IkiWiki.pm | 2 +- IkiWiki/Plugin/cvs.pm | 423 ++++++++++++++++++++++++++++++++++++++++++++++++++ ikiwiki-makerepo | 52 ++++++- t/file_pruned.t | 5 +- 4 files changed, 479 insertions(+), 3 deletions(-) create mode 100644 IkiWiki/Plugin/cvs.pm diff --git a/IkiWiki.pm b/IkiWiki.pm index a11b330f2..2355c0780 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -329,7 +329,7 @@ sub getsetup () { qr/\.x?html?$/, qr/\.ikiwiki-new$/, qr/(^|\/).svn\//, qr/.arch-ids\//, qr/{arch}\//, qr/(^|\/)_MTN\//, qr/(^|\/)_darcs\//, - qr/\.dpkg-tmp$/], + qr/(^|\/)CVS\//, qr/\.dpkg-tmp$/], description => "regexps of source files to ignore", safe => 0, rebuild => 1, diff --git a/IkiWiki/Plugin/cvs.pm b/IkiWiki/Plugin/cvs.pm new file mode 100644 index 000000000..c09e4f9aa --- /dev/null +++ b/IkiWiki/Plugin/cvs.pm @@ -0,0 +1,423 @@ +#!/usr/pkg/bin/perl +package IkiWiki::Plugin::cvs; + +use warnings; +use strict; +use IkiWiki; + +sub import { + hook(type => "checkconfig", id => "cvs", call => \&checkconfig); + hook(type => "getsetup", id => "cvs", call => \&getsetup); + hook(type => "rcs", id => "rcs_update", call => \&rcs_update); + hook(type => "rcs", id => "rcs_prepedit", call => \&rcs_prepedit); + hook(type => "rcs", id => "rcs_commit", call => \&rcs_commit); + hook(type => "rcs", id => "rcs_commit_staged", call => \&rcs_commit_staged); + hook(type => "rcs", id => "rcs_add", call => \&rcs_add); + hook(type => "rcs", id => "rcs_remove", call => \&rcs_remove); + hook(type => "rcs", id => "rcs_rename", call => \&rcs_rename); + hook(type => "rcs", id => "rcs_recentchanges", call => \&rcs_recentchanges); + hook(type => "rcs", id => "rcs_diff", call => \&rcs_diff); + hook(type => "rcs", id => "rcs_getctime", call => \&rcs_getctime); +} + +sub checkconfig () { + if (! defined $config{cvspath}) { + $config{cvspath}="ikiwiki"; + } + if (exists $config{cvspath}) { + # code depends on the path not having extraneous slashes + $config{cvspath}=~tr#/#/#s; + $config{cvspath}=~s/\/$//; + $config{cvspath}=~s/^\///; + } + if (defined $config{cvs_wrapper} && length $config{cvs_wrapper}) { + push @{$config{wrappers}}, { + wrapper => $config{cvs_wrapper}, + wrappermode => (defined $config{cvs_wrappermode} ? $config{cvs_wrappermode} : "04755"), + }; + } +} + +sub getsetup () { + return + plugin => { + safe => 0, # rcs plugin + rebuild => undef, + }, + cvsrepo => { + type => "string", + example => "/cvs/wikirepo", + description => "cvs repository location", + safe => 0, # path + rebuild => 0, + }, + cvspath => { + type => "string", + example => "ikiwiki", + description => "path inside repository where the wiki is located", + safe => 0, # paranoia + rebuild => 0, + }, + cvs_wrapper => { + type => "string", + example => "/cvs/wikirepo/CVSROOT/post-commit", + description => "cvs post-commit hook to generate (triggered by CVSROOT/loginfo entry", + safe => 0, # file + rebuild => 0, + }, + cvs_wrappermode => { + type => "string", + example => '04755', + description => "mode for cvs_wrapper (can safely be made suid)", + safe => 0, + rebuild => 0, + }, + historyurl => { + type => "string", + example => "http://cvs.example.org/cvsweb.cgi/ikiwiki/[[file]]", + description => "cvsweb url to show file history ([[file]] substituted)", + safe => 1, + rebuild => 1, + }, + diffurl => { + type => "string", + example => "http://cvs.example.org/cvsweb.cgi/ikiwiki/[[file]].diff?r1=text&tr1=[[r1]]&r2=text&tr2=[[r2]]", + description => "cvsweb url to show a diff ([[file]], [[r1]], and [[r2]] substituted)", + safe => 1, + rebuild => 1, + }, +} + +sub cvs_info ($$) { + my $field=shift; + my $file=shift; + + chdir $config{srcdir} || error("Cannot chdir to $config{srcdir}: $!"); + + my $info=`cvs status $file`; + my ($ret)=$info=~/^\s*$field:\s*(\S+)/m; + return $ret; +} + +sub cvs_runcvs(@) { + my ($cmd) = @_; + unshift @$cmd, 'cvs', '-Q'; + + eval q{ + use IPC::Cmd; + }; + error($@) if $@; + + chdir $config{srcdir} || error("Cannot chdir to $config{srcdir}: $!"); + + debug("runcvs: " . join(" ", @$cmd)); + + my ($success, $error_code, $full_buf, $stdout_buf, $stderr_buf) = + IPC::Cmd::run(command => $cmd, verbose => 0); + if (! $success) { + warn(join(" ", @$cmd) . " exited with code $error_code\n"); + warn(join "", @$stderr_buf); + } + return $success; +} + +sub cvs_shquote_commit ($) { + my $message = shift; + + eval q{ + use String::ShellQuote; + }; + error($@) if $@; + + return shell_quote(IkiWiki::possibly_foolish_untaint($message)); +} + +sub cvs_is_controlling { + my $dir=shift; + $dir=$config{srcdir} unless defined($dir); + return (-d "$dir/CVS") ? 1 : 0; +} + +sub rcs_update () { + return unless cvs_is_controlling; + cvs_runcvs(['update', '-dP']); +} + +sub rcs_prepedit ($) { + # Prepares to edit a file under revision control. Returns a token + # that must be passed into rcs_commit when the file is ready + # for committing. + # The file is relative to the srcdir. + my $file=shift; + + return unless cvs_is_controlling; + + # For cvs, return the revision of the file when + # editing begins. + my $rev=cvs_info("Repository revision", "$file"); + return defined $rev ? $rev : ""; +} + +sub rcs_commit ($$$;$$) { + # Tries to commit the page; returns undef on _success_ and + # a version of the page with the rcs's conflict markers on failure. + # The file is relative to the srcdir. + my $file=shift; + my $message=shift; + my $rcstoken=shift; + my $user=shift; + my $ipaddr=shift; + + return unless cvs_is_controlling; + + if (defined $user) { + $message="web commit by $user".(length $message ? ": $message" : ""); + } + elsif (defined $ipaddr) { + $message="web commit from $ipaddr".(length $message ? ": $message" : ""); + } + + # Check to see if the page has been changed by someone + # else since rcs_prepedit was called. + my ($oldrev)=$rcstoken=~/^([0-9]+)$/; # untaint + my $rev=cvs_info("Repository revision", "$config{srcdir}/$file"); + if (defined $rev && defined $oldrev && $rev != $oldrev) { + # Merge their changes into the file that we've + # changed. + cvs_runcvs(['update', $file]) || + warn("cvs merge from $oldrev to $rev failed\n"); + } + + if (! cvs_runcvs(['commit', '-m', cvs_shquote_commit $message])) { + my $conflict=readfile("$config{srcdir}/$file"); + cvs_runcvs(['update', '-C', $file]) || + warn("cvs revert failed\n"); + return $conflict; + } + + return undef # success +} + +sub rcs_commit_staged ($$$) { + # Commits all staged changes. Changes can be staged using rcs_add, + # rcs_remove, and rcs_rename. + my ($message, $user, $ipaddr)=@_; + + if (defined $user) { + $message="web commit by $user".(length $message ? ": $message" : ""); + } + elsif (defined $ipaddr) { + $message="web commit from $ipaddr".(length $message ? ": $message" : ""); + } + + if (! cvs_runcvs(['commit', '-m', cvs_shquote_commit $message])) { + warn "cvs staged commit failed\n"; + return 1; # failure + } + return undef # success +} + +sub rcs_add ($) { + # filename is relative to the root of the srcdir + my $file=shift; + my $parent=IkiWiki::dirname($file); + my @files_to_add = ($file); + + until ((length($parent) == 0) || cvs_is_controlling("$config{srcdir}/$parent")){ + push @files_to_add, $parent; + $parent = IkiWiki::dirname($parent); + } + + while ($file = pop @files_to_add) { + cvs_runcvs(['add', $file]) || + warn("cvs add $file failed\n"); + } +} + +sub rcs_remove ($) { + # filename is relative to the root of the srcdir + my $file=shift; + + return unless cvs_is_controlling; + + cvs_runcvs(['rm', '-f', $file]) || + warn("cvs rm $file failed\n"); +} + +sub rcs_rename ($$) { + # filenames relative to the root of the srcdir + my ($src, $dest)=@_; + + return unless cvs_is_controlling; + + chdir $config{srcdir} || error("Cannot chdir to $config{srcdir}: $!"); + + if (system("mv", "$src", "$dest") != 0) { + warn("filesystem rename failed\n"); + } + + rcs_add($dest); + rcs_remove($src); +} + +sub rcs_recentchanges($) { + my $num = shift; + my @ret; + + return unless cvs_is_controlling; + + eval q{ + use Date::Parse; + }; + error($@) if $@; + + chdir $config{srcdir} || error("Cannot chdir to $config{srcdir}: $!"); + + open CVSPS, "env TZ=UTC cvsps -q --cvs-direct -z 30 -x |" || error "couldn't get cvsps output: $!\n"; + my @spsvc = reverse ; # is this great? no it is not + close CVSPS || error "couldn't close cvsps output: $!\n"; + + while (my $line = shift @spsvc) { + $line =~ /^$/ || error "expected blank line, got $line"; + + my ($rev, $user, $committype, $when); + my (@message, @pages); + + # We're reading backwards. + # Forwards, an entry looks like so: + # --------------------- + # PatchSet $rev + # Date: $when + # Author: $user (or user CGI runs as, for web commits) + # Branch: branch + # Tag: tag + # Log: + # @message_lines + # Members: + # @pages (and revisions) + # + + while ($line = shift @spsvc) { + last if ($line =~ /^Members:/); + for ($line) { + s/^\s+//; + s/\s+$//; + } + my ($page, $revs) = split(/:/, $line); + my ($oldrev, $newrev) = split(/->/, $revs); + $oldrev =~ s/INITIAL/0/; + $newrev =~ s/\(DEAD\)//; + my $diffurl = defined $config{diffurl} ? $config{diffurl} : ""; + $diffurl=~s/\[\[file\]\]/$page/g; + $diffurl=~s/\[\[r1\]\]/$oldrev/g; + $diffurl=~s/\[\[r2\]\]/$newrev/g; + unshift @pages, { + page => pagename($page), + diffurl => $diffurl, + } if length $page; + } + + while ($line = shift @spsvc) { + last if ($line =~ /^Log:$/); + chomp $line; + unshift @message, { line => $line }; + } + $committype = "web"; + if (defined $message[0] && + $message[0]->{line}=~/$config{web_commit_regexp}/) { + $user=defined $2 ? "$2" : "$3"; + $message[0]->{line}=$4; + } else { + $committype="cvs"; + } + + $line = shift @spsvc; # Tag + $line = shift @spsvc; # Branch + + $line = shift @spsvc; + if ($line =~ /^Author: (.*)$/) { + $user = $1 unless defined $user && length $user; + } else { + error "expected Author, got $line"; + } + + $line = shift @spsvc; + if ($line =~ /^Date: (.*)$/) { + $when = str2time($1, 'UTC'); + } else { + error "expected Date, got $line"; + } + + $line = shift @spsvc; + if ($line =~ /^PatchSet (.*)$/) { + $rev = $1; + } else { + error "expected PatchSet, got $line"; + } + + $line = shift @spsvc; # --------------------- + + push @ret, { + rev => $rev, + user => $user, + committype => $committype, + when => $when, + message => [@message], + pages => [@pages], + } if @pages; + return @ret if @ret >= $num; + } + + return @ret; +} + +sub rcs_diff ($) { + my $rev=IkiWiki::possibly_foolish_untaint(int(shift)); + + chdir $config{srcdir} || error("Cannot chdir to $config{srcdir}: $!"); + + # diff output is unavoidably preceded by the cvsps PatchSet entry + my @cvsps = `env TZ=UTC cvsps -q --cvs-direct -z 30 -g -s $rev`; + my $blank_lines_seen = 0; + + while (my $line = shift @cvsps) { + $blank_lines_seen++ if ($line =~ /^$/); + last if $blank_lines_seen == 2; + } + + if (wantarray) { + return @cvsps; + } else { + return join("", @cvsps); + } +} + +sub rcs_getctime ($) { + my $file=shift; + + my $cvs_log_infoline=qr/^date: (.+);\s+author/; + + open CVSLOG, "cvs -Q log -r1.1 '$file' |" + || error "couldn't get cvs log output: $!\n"; + + my $date; + while () { + if (/$cvs_log_infoline/) { + $date=$1; + } + } + close CVSLOG || warn "cvs log $file exited $?"; + + if (! defined $date) { + warn "failed to parse cvs log for $file\n"; + return 0; + } + + eval q{use Date::Parse}; + error($@) if $@; + $date=str2time($date, 'UTC'); + debug("found ctime ".localtime($date)." for $file"); + return $date; +} + +1 diff --git a/ikiwiki-makerepo b/ikiwiki-makerepo index 7f82e7177..bf33a3a80 100755 --- a/ikiwiki-makerepo +++ b/ikiwiki-makerepo @@ -6,7 +6,7 @@ srcdir="$2" repository="$3" usage () { - echo "usage: ikiwiki-makerepo svn|git|monotone|darcs srcdir repository" >&2 + echo "usage: ikiwiki-makerepo cvs|svn|git|monotone|darcs srcdir repository" >&2 echo " ikiwiki-makerepo bzr|mercurial srcdir" >&2 exit 1 } @@ -39,6 +39,56 @@ fi echo "Importing $srcdir into $rcs" case "$rcs" in +cvs) + if [ -e "$srcdir/CVS" ]; then + echo "$srcdir already seems to be a cvs working copy" >&2 + exit 1 + fi + cvs -Q -d "$repository" init + cat > "$repository/CVSROOT/post-commit-wrapper" </dev/null 2>&1 +} + +main() { + exists_ikiwiki_post_commit_hook || exit 0 + called_with_exactly_one_dir "\$@" && exit 0 + # Return from commit and relinquish write lock. ikiwiki post-commit + # wants to "cvs update", which wants to take a read lock. + \$IKIWIKI_POST_COMMIT_HOOK & + return 0 +} + +main "\$@" +exit \$? +EOF + chmod +x "$repository/CVSROOT/post-commit-wrapper" + cd "$srcdir"/.. + cvs -Q -d "$repository" get -P CVSROOT + cd CVSROOT + echo .ikiwiki >> cvsignore + cvs -Q add cvsignore + echo "^ikiwiki $repository/CVSROOT/post-commit-wrapper %{sVv}" >> loginfo + cvs -Q commit -m "ikiwiki-makerepo setup" cvsignore loginfo + cd .. + rm -rf CVSROOT + cd "$srcdir" + cvs -Q -d "$repository" import -m "initial import" ikiwiki IKIWIKI PRE_CVS + cd .. + mv "$srcdir" "$srcdir.orig" + cvs -Q -d "$repository" get -P -d "$(basename "$srcdir")" ikiwiki + [ -d "$srcdir.orig/.ikiwiki" ] && mv "$srcdir.orig/.ikiwiki" "$srcdir" + rm -rf "$srcdir.orig" + echo "Directory $srcdir is now a checkout of $rcs repository $repository" +;; svn) if [ -e "$srcdir/.svn" ]; then echo "$srcdir already seems to be a svn working copy" >&2 diff --git a/t/file_pruned.t b/t/file_pruned.t index 7d46c4b7f..a05ad548f 100755 --- a/t/file_pruned.t +++ b/t/file_pruned.t @@ -1,7 +1,7 @@ #!/usr/bin/perl use warnings; use strict; -use Test::More tests => 24; +use Test::More tests => 27; BEGIN { use_ok("IkiWiki"); } @@ -9,6 +9,9 @@ BEGIN { use_ok("IkiWiki"); } ok(IkiWiki::file_pruned("src/.ikiwiki/", "src")); ok(IkiWiki::file_pruned("src/.ikiwiki/index", "src")); +ok(IkiWiki::file_pruned("src/CVS", "src")); +ok(IkiWiki::file_pruned("src/subdir/CVS", "src")); +ok(IkiWiki::file_pruned("src/subdir/CVS/foo", "src")); ok(IkiWiki::file_pruned("src/.svn", "src")); ok(IkiWiki::file_pruned("src/subdir/.svn", "src")); ok(IkiWiki::file_pruned("src/subdir/.svn/foo", "src")); -- cgit v1.2.3 From 9e2c8a96cd3f54644f38d43d7beb347edda0684c Mon Sep 17 00:00:00 2001 From: "http://schmonz.livejournal.com/" Date: Thu, 13 Aug 2009 17:14:32 -0400 Subject: add me new repo, yarrr --- doc/git.mdwn | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/git.mdwn b/doc/git.mdwn index 18fbd238b..1cd91e532 100644 --- a/doc/git.mdwn +++ b/doc/git.mdwn @@ -46,6 +46,7 @@ into [[Joey]]'s working tree. This is recommended. :-) * [[arpitjain]] `git://github.com/arpitjain11/ikiwiki.git` * [[chrysn]] `git://github.com/github076986099/ikiwiki.git` * [[simonraven]] `git://github.com/kjikaqawej/ikiwiki-simon.git` +* [[schmonz]] `git://github.com/schmonz/ikiwiki.git` ## branches -- cgit v1.2.3 From d512d5802273faac184d133d64965336a68cd603 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 13 Aug 2009 17:48:36 -0400 Subject: response --- doc/forum/google_openid_broken__63__.mdwn | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/forum/google_openid_broken__63__.mdwn b/doc/forum/google_openid_broken__63__.mdwn index 2ca339c3c..890bba4d9 100644 --- a/doc/forum/google_openid_broken__63__.mdwn +++ b/doc/forum/google_openid_broken__63__.mdwn @@ -3,3 +3,8 @@ when I login via to this wiki (or ours) via Google's OpenID, I get this error: Error: OpenID failure: no_identity_server: The provided URL doesn't declare its OpenID identity server. Any idea how to fix this?? + +> Google is [doing things with openid that are not in the spec](http://googledataapis.blogspot.com/2008/10/federated-login-for-google-account.html) +> and it's not clear to me that they intend regular openid to work at all. +> What is your google openid URL so I can take a look at the data they are +> providing? --[[Joey]] -- cgit v1.2.3 From b137edd0e7aebe47b771a4dffcb4d1c68b59b530 Mon Sep 17 00:00:00 2001 From: Amitai Schlair Date: Thu, 13 Aug 2009 17:53:07 -0400 Subject: Life is simpler on a git branch. --- doc/plugins/contrib/cvs.mdwn | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/doc/plugins/contrib/cvs.mdwn b/doc/plugins/contrib/cvs.mdwn index f466b9399..23e00201f 100644 --- a/doc/plugins/contrib/cvs.mdwn +++ b/doc/plugins/contrib/cvs.mdwn @@ -1,14 +1,11 @@ [[!template id=plugin name=cvs core=0 author="[[schmonz]]"]] +[[!template id=gitbranch branch=schmonz author="[[schmonz]]"]] + This plugin allows ikiwiki to use [[!wikipedia desc="CVS" Concurrent Versions System]] as an [[rcs]]. -### Installation and usage -7. Apply patches to [`IkiWiki.pm`](http://www.netbsd.org/~schmonz/ikiwiki-cvs/cvs-IkiWiki.pm.diff) -and [`ikiwiki-makerepo`](http://www.netbsd.org/~schmonz/ikiwiki-cvs/cvs-ikiwiki-makerepo.diff). -7. Rebuild and install ikiwiki. +### Usage 7. Install [cvsps](http://www.cobite.com/cvsps/), [[!cpan IPC::Cmd]], [[!cpan String::ShellQuote]], and [cvsweb](http://www.freebsd.org/projects/cvsweb.html) or the like. -7. Download [`cvs.pm`](http://www.netbsd.org/~schmonz/ikiwiki-cvs/cvs.pm) into a suitable `$libdir/IkiWiki/Plugin`. -7. While setting up a wiki [[by hand|setup/byhand]], also specify `--libdir` until you get to the point where you have a setup file. (This ensures the CVS plugin is found and its settings stanza included.) 7. Adjust CVS-related parameters in your setup file. Consider creating `$HOME/.cvsrc` if you don't have one already; the plugin doesn't need it, but you yourself might. Here's a good general-purpose one: @@ -20,7 +17,7 @@ Consider creating `$HOME/.cvsrc` if you don't have one already; the plugin doesn rdiff -u ### Implementation details -* Diffs are against [[3.14159|news/version_3.14159]]. `cvs.pm` started life as a copy of `svn.pm`. +* `cvs.pm` started life as a copy of [[3.14159|news/version_3.14159]]'s `svn.pm`. * `IkiWiki.pm:wiki_file_prune_regexps` avoids copying CVS metadata into `$DESTDIR`. * [[ikiwiki-makerepo]]: * creates a repository, @@ -30,7 +27,7 @@ Consider creating `$HOME/.cvsrc` if you don't have one already; the plugin doesn * 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 -* Add automated tests. ([Blindly adding svn-like tests to `t/file_pruned.t`](http://www.netbsd.org/~schmonz/ikiwiki-cvs/cvs-t-file_pruned.t.diff) doesn't do the trick.) +* Add automated tests. (Blindly adding svn-like tests to `t/file_pruned.t` doesn't do the trick.) * If the argument to `cvs add` smells like a binary file, `cvs add -kb` it (for [[plugins/attachment]] support). * Don't slurp the entire `cvsps` output into memory (!). * 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. -- cgit v1.2.3 From 8ba32abaf27110d86a52720bcb738402bf90fadb Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 13 Aug 2009 17:55:01 -0400 Subject: review: question --- doc/plugins/contrib/cvs/discussion | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 doc/plugins/contrib/cvs/discussion diff --git a/doc/plugins/contrib/cvs/discussion b/doc/plugins/contrib/cvs/discussion new file mode 100644 index 000000000..e2411af63 --- /dev/null +++ b/doc/plugins/contrib/cvs/discussion @@ -0,0 +1,5 @@ +I've started reviewing this, and the main thing I don't like is the +post-commit wrapper wrapper that ikiwiki-makerepo is patched to set up. +That just seems unnecessarily complicated. Why can't ikiwiki itself detect +the "cvs add " call and avoid doing anything in that case? +--[[Joey]] -- cgit v1.2.3 From 3401dc6110ac785c1df3f447d2f1de017be92538 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 13 Aug 2009 18:12:28 -0400 Subject: fix name --- doc/plugins/contrib/cvs/discussion | 5 ----- doc/plugins/contrib/cvs/discussion.mdwn | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 doc/plugins/contrib/cvs/discussion create mode 100644 doc/plugins/contrib/cvs/discussion.mdwn diff --git a/doc/plugins/contrib/cvs/discussion b/doc/plugins/contrib/cvs/discussion deleted file mode 100644 index e2411af63..000000000 --- a/doc/plugins/contrib/cvs/discussion +++ /dev/null @@ -1,5 +0,0 @@ -I've started reviewing this, and the main thing I don't like is the -post-commit wrapper wrapper that ikiwiki-makerepo is patched to set up. -That just seems unnecessarily complicated. Why can't ikiwiki itself detect -the "cvs add " call and avoid doing anything in that case? ---[[Joey]] diff --git a/doc/plugins/contrib/cvs/discussion.mdwn b/doc/plugins/contrib/cvs/discussion.mdwn new file mode 100644 index 000000000..e2411af63 --- /dev/null +++ b/doc/plugins/contrib/cvs/discussion.mdwn @@ -0,0 +1,5 @@ +I've started reviewing this, and the main thing I don't like is the +post-commit wrapper wrapper that ikiwiki-makerepo is patched to set up. +That just seems unnecessarily complicated. Why can't ikiwiki itself detect +the "cvs add " call and avoid doing anything in that case? +--[[Joey]] -- cgit v1.2.3 From 46c2d66fd37b12c2d02466118cb206000174f1b4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 13 Aug 2009 19:05:27 -0400 Subject: disable pagecount here, sorta of excessive since the bug has been done --- doc/bugs/pagecount_is_broken.mdwn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/bugs/pagecount_is_broken.mdwn b/doc/bugs/pagecount_is_broken.mdwn index 101230d94..57df6b75d 100644 --- a/doc/bugs/pagecount_is_broken.mdwn +++ b/doc/bugs/pagecount_is_broken.mdwn @@ -1,3 +1,4 @@ -The [[plugins/pagecount]] plugin seems to be broken, as it claims there are [[!pagecount ]] pages in this wiki. (if it's not 0, the bug is fixed) +The [[plugins/pagecount]] plugin seems to be broken, as it claims there are +\[[!pagecount ]] pages in this wiki. (if it's not 0, the bug is fixed) [[fixed|done]] --[[Joey]] -- cgit v1.2.3 From 159c0c043cdd4009562087144a37fdda38eb6409 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 13 Aug 2009 21:04:19 -0400 Subject: optimise gettext calls --- IkiWiki/Plugin/brokenlinks.pm | 2 +- IkiWiki/Plugin/inline.pm | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/IkiWiki/Plugin/brokenlinks.pm b/IkiWiki/Plugin/brokenlinks.pm index cf8f25281..f8d44892b 100644 --- a/IkiWiki/Plugin/brokenlinks.pm +++ b/IkiWiki/Plugin/brokenlinks.pm @@ -28,9 +28,9 @@ sub preprocess (@) { add_depends($params{page}, $params{pages}); my %broken; + my $discussion=gettext("Discussion"); foreach my $page (pagespec_match_list([keys %links], $params{pages}, location => $params{page})) { - my $discussion=gettext("Discussion"); my %seen; foreach my $link (@{$links{$page}}) { next if $seen{$link}; diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index 04ad6ed23..2fbb45e02 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -348,6 +348,9 @@ sub preprocess_inline (@) { } my $template=HTML::Template->new(@params) unless $raw; + my $discussionlink=lc(gettext("Discussion")) + if $config{discussion}; + foreach my $page (@list) { my $file = $pagesources{$page}; my $type = pagetype($file); @@ -371,7 +374,6 @@ sub preprocess_inline (@) { my $file = $pagesources{$page}; my $type = pagetype($file); if ($config{discussion}) { - my $discussionlink=lc(gettext("Discussion")); if ($page !~ /.*\/\Q$discussionlink\E$/ && (length $config{cgiurl} || exists $links{$page."/".$discussionlink})) { -- cgit v1.2.3 From fed73d8d922ec4d52457a99f652c1d0d26ba67c3 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 13 Aug 2009 21:05:07 -0400 Subject: change PROFILE to use Devel::NYTProf --- Makefile.PL | 2 +- README | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index 602d8fb5c..020813177 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -27,7 +27,7 @@ PROBABLE_INST_LIB=$(shell \\ W3M_CGI_BIN?=$(PREFIX)/lib/w3m/cgi-bin tflag=$(shell if [ -n "$$NOTAINT" ] && [ "$$NOTAINT" != 1 ]; then printf -- "-T"; fi) -extramodules=$(shell if [ "$$PROFILE" = 1 ]; then printf -- "-d:Profile"; fi) +extramodules=$(shell if [ "$$PROFILE" = 1 ]; then printf -- "-d:NYTProf"; fi) ikiwiki.out: ikiwiki.in ./pm_filter $(PREFIX) $(VER) $(PROBABLE_INST_LIB) < ikiwiki.in > ikiwiki.out diff --git a/README b/README index 408ab666a..a4dc0d641 100644 --- a/README +++ b/README @@ -8,7 +8,7 @@ available online at 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) + (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 -- cgit v1.2.3 From 2007005cd2497ff10defa3e3e9cc91890df1c5d8 Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 13 Aug 2009 21:09:24 -0400 Subject: removed --- doc/ikiwiki/markdown/discussion.mdwn | 1 - 1 file changed, 1 deletion(-) delete mode 100644 doc/ikiwiki/markdown/discussion.mdwn diff --git a/doc/ikiwiki/markdown/discussion.mdwn b/doc/ikiwiki/markdown/discussion.mdwn deleted file mode 100644 index d3affec34..000000000 --- a/doc/ikiwiki/markdown/discussion.mdwn +++ /dev/null @@ -1 +0,0 @@ -Is anyone else having trouble using the definition list feature of multimarkdown? If not, then I could use some help figuring out why it's not working on my text site. Version is 3.141~bpo50+1 (debian backports), multimarkdown and mdwn support enabled in preferences. Any pointers to the obvious thing I'm missing would be appreciated. - dave -- cgit v1.2.3 From 830c9e59b2c4d5c90e4316d8e81558e1aeb132f2 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 13 Aug 2009 21:41:33 -0400 Subject: Add discussionpage configuration setting By adding this setting, we get both more configurability, and a minor optimisation too, since gettext does not need to be called continually to get the Discussion value. --- IkiWiki.pm | 7 +++++++ IkiWiki/Plugin/brokenlinks.pm | 3 +-- IkiWiki/Plugin/editpage.pm | 5 +++-- IkiWiki/Plugin/inline.pm | 9 +++------ IkiWiki/Plugin/opendiscussion.pm | 3 +-- IkiWiki/Plugin/orphans.pm | 3 +-- IkiWiki/Render.pm | 9 ++++----- debian/changelog | 2 ++ 8 files changed, 22 insertions(+), 19 deletions(-) diff --git a/IkiWiki.pm b/IkiWiki.pm index a11b330f2..b47da966e 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -220,6 +220,13 @@ sub getsetup () { safe => 1, rebuild => 1, }, + discussionpage => { + type => "string", + default => gettext("Discussion"), + description => "name of Discussion pages", + safe => 1, + rebuild => 1, + }, sslcookie => { type => "boolean", default => 0, diff --git a/IkiWiki/Plugin/brokenlinks.pm b/IkiWiki/Plugin/brokenlinks.pm index f8d44892b..5ad4c917c 100644 --- a/IkiWiki/Plugin/brokenlinks.pm +++ b/IkiWiki/Plugin/brokenlinks.pm @@ -28,14 +28,13 @@ sub preprocess (@) { add_depends($params{page}, $params{pages}); my %broken; - my $discussion=gettext("Discussion"); foreach my $page (pagespec_match_list([keys %links], $params{pages}, location => $params{page})) { my %seen; foreach my $link (@{$links{$page}}) { next if $seen{$link}; $seen{$link}=1; - next if $link =~ /.*\/\Q$discussion\E/i && $config{discussion}; + next if $link =~ /.*\/\Q$config{discussionpage}\E/i && $config{discussion}; my $bestlink=bestlink($page, $link); next if length $bestlink; push @{$broken{$link}}, $page; diff --git a/IkiWiki/Plugin/editpage.pm b/IkiWiki/Plugin/editpage.pm index 467cd9ed5..fca970c60 100644 --- a/IkiWiki/Plugin/editpage.pm +++ b/IkiWiki/Plugin/editpage.pm @@ -229,8 +229,9 @@ sub cgi_editpage ($$) { my $dir=$from."/"; $dir=~s![^/]+/+$!!; - if ((defined $form->field('subpage') && length $form->field('subpage')) || - $page eq lc(gettext('Discussion'))) { + if ((defined $form->field('subpage') && + length $form->field('subpage')) || + $page eq lc($config{discussionpage})) { $best_loc="$from/$page"; } else { diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index 2fbb45e02..704fa711d 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -348,9 +348,6 @@ sub preprocess_inline (@) { } my $template=HTML::Template->new(@params) unless $raw; - my $discussionlink=lc(gettext("Discussion")) - if $config{discussion}; - foreach my $page (@list) { my $file = $pagesources{$page}; my $type = pagetype($file); @@ -374,14 +371,14 @@ sub preprocess_inline (@) { my $file = $pagesources{$page}; my $type = pagetype($file); if ($config{discussion}) { - if ($page !~ /.*\/\Q$discussionlink\E$/ && + if ($page !~ /.*\/\Q$config{discussionpage}\E$/ && (length $config{cgiurl} || - exists $links{$page."/".$discussionlink})) { + exists $links{$page."/".$config{discussionpage}})) { $template->param(have_actions => 1); $template->param(discussionlink => htmllink($page, $params{destpage}, - gettext("Discussion"), + $config{discussionpage}, noimageinline => 1, forcesubpage => 1)); } diff --git a/IkiWiki/Plugin/opendiscussion.pm b/IkiWiki/Plugin/opendiscussion.pm index 60b193eca..1bec4b013 100644 --- a/IkiWiki/Plugin/opendiscussion.pm +++ b/IkiWiki/Plugin/opendiscussion.pm @@ -23,8 +23,7 @@ sub canedit ($$) { my $cgi=shift; my $session=shift; - my $discussion=lc(gettext("Discussion")); - return "" if $page=~/(\/|^)\Q$discussion\E$/; + return "" if $page=~/(\/|^)\Q$config{discussionpage}\E$/; return undef; } diff --git a/IkiWiki/Plugin/orphans.pm b/IkiWiki/Plugin/orphans.pm index 7c938ef74..02f5d2524 100644 --- a/IkiWiki/Plugin/orphans.pm +++ b/IkiWiki/Plugin/orphans.pm @@ -34,7 +34,6 @@ sub preprocess (@) { } my @orphans; - my $discussion=lc(gettext("Discussion")); foreach my $page (pagespec_match_list( [ grep { ! $linkedto{$_} && $_ ne 'index' } keys %pagesources ], @@ -43,7 +42,7 @@ sub preprocess (@) { # indirectly linked to a page via that page's backlinks. next if grep { length $_ && - ($_ !~ /\/\Q$discussion\E$/i || ! $config{discussion}) && + ($_ !~ /\/\Q$config{discussionpage}\E$/i || ! $config{discussion}) && bestlink($page, $_) !~ /^(\Q$page\E|)$/ } @{$links{$page}}; push @orphans, $page; diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index fc8f287ce..d5e81f1b9 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -83,11 +83,10 @@ sub genpage ($$) { $actions++; } if ($config{discussion}) { - my $discussionlink=lc(gettext("Discussion")); - if ($page !~ /.*\/\Q$discussionlink\E$/ && + if ($page !~ /.*\/\Q$config{discussionpage}\E$/ && (length $config{cgiurl} || - exists $links{$page."/".$discussionlink})) { - $template->param(discussionlink => htmllink($page, $page, gettext("Discussion"), noimageinline => 1, forcesubpage => 1)); + exists $links{$page."/".$config{discussionpage}})) { + $template->param(discussionlink => htmllink($page, $page, $config{discussionpage}, noimageinline => 1, forcesubpage => 1)); $actions++; } } @@ -153,7 +152,7 @@ sub scan ($) { if ($config{discussion}) { # Discussion links are a special case since they're # not in the text of the page, but on its template. - $links{$page}=[ $page."/".lc(gettext("Discussion")) ]; + $links{$page}=[ $page."/".lc($config{discussionpage}) ]; } else { $links{$page}=[]; diff --git a/debian/changelog b/debian/changelog index ed7854e8a..5e5149927 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,8 @@ ikiwiki (3.141593) UNRELEASED; urgency=low the old version, but continue. Closes: #541205 * inline: Avoid use of my $_ as it fails with older perls. Closes: #541215 + * Add discussionpage configuration setting. + * Small optimisations. -- Joey Hess Wed, 12 Aug 2009 12:25:30 -0400 -- cgit v1.2.3 From 949eb252e9f918bd57e58b75479ed3b4c017f87d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 13 Aug 2009 21:41:48 -0400 Subject: po: use discussionpage config setting This was tricky. $links{$page/discussion} must be checked; with it in lowercase. --- IkiWiki/Plugin/po.pm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm index 52677076e..b8967058e 100644 --- a/IkiWiki/Plugin/po.pm +++ b/IkiWiki/Plugin/po.pm @@ -284,17 +284,16 @@ sub pagetemplate (@) { map add_depends($page, $_), (values %{otherlanguages($page)}); } if ($config{discussion} && istranslation($page)) { - my $discussionlink=gettext("discussion"); - if ($page !~ /.*\/\Q$discussionlink\E$/i && + if ($page !~ /.*\/\Q$config{discussionpage}\E$/i && (length $config{cgiurl} || - exists $links{$masterpage."/".$discussionlink})) { + exists $links{$masterpage."/".lc($config{discussionpage})})) { $template->param('discussionlink' => htmllink( $page, $destpage, - $masterpage . '/' . gettext("Discussion"), + $masterpage . '/' . $config{discussionpage}, noimageinline => 1, forcesubpage => 0, - linktext => gettext("Discussion"), + linktext => $config{discussionpage}, )); } } -- cgit v1.2.3 From f486271009142ec7e04e1a62c1e94ad9e51b6d39 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 14 Aug 2009 00:51:52 -0400 Subject: orphans: Reuse backlinks info This plugin was building essentially the same data that is built to handle backlinks, so reuse that as an optimisation. --- IkiWiki/Plugin/orphans.pm | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/IkiWiki/Plugin/orphans.pm b/IkiWiki/Plugin/orphans.pm index 02f5d2524..711226772 100644 --- a/IkiWiki/Plugin/orphans.pm +++ b/IkiWiki/Plugin/orphans.pm @@ -27,15 +27,9 @@ sub preprocess (@) { # register a dependency. add_depends($params{page}, $params{pages}); - my %linkedto; - foreach my $p (keys %links) { - map { $linkedto{bestlink($p, $_)}=1 if length $_ } - @{$links{$p}}; - } - my @orphans; foreach my $page (pagespec_match_list( - [ grep { ! $linkedto{$_} && $_ ne 'index' } + [ grep { ! IkiWiki::backlink_pages($_) && $_ ne 'index' } keys %pagesources ], $params{pages}, location => $params{page})) { # If the page has a link to some other page, it's -- cgit v1.2.3 From 82bb3af579db809b884c7be5f49012469902bf52 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 14 Aug 2009 01:11:53 -0400 Subject: optimise brokenlinks by gathering the data when calculating backlinks During backlink calulation, all links are examined and broken links can be detected for free, so store a list of broken links and have brokenlinks use it. Exposing the %brokenlinks structure is a bit ugly, but the speedup seems worth it: Around 1 second for wikis the size of the doc wiki that use brokenlinks. --- IkiWiki/Plugin/brokenlinks.pm | 30 +++++++++++++----------------- IkiWiki/Render.pm | 23 ++++++++++++++--------- debian/changelog | 3 ++- 3 files changed, 29 insertions(+), 27 deletions(-) diff --git a/IkiWiki/Plugin/brokenlinks.pm b/IkiWiki/Plugin/brokenlinks.pm index 5ad4c917c..eb698b0be 100644 --- a/IkiWiki/Plugin/brokenlinks.pm +++ b/IkiWiki/Plugin/brokenlinks.pm @@ -27,31 +27,27 @@ sub preprocess (@) { # register a dependency. add_depends($params{page}, $params{pages}); - my %broken; - foreach my $page (pagespec_match_list([keys %links], - $params{pages}, location => $params{page})) { - my %seen; - foreach my $link (@{$links{$page}}) { - next if $seen{$link}; - $seen{$link}=1; - next if $link =~ /.*\/\Q$config{discussionpage}\E/i && $config{discussion}; - my $bestlink=bestlink($page, $link); - next if length $bestlink; - push @{$broken{$link}}, $page; + my @broken; + foreach my $link (keys %IkiWiki::brokenlinks) { + next if $link =~ /.*\/\Q$config{discussionpage}\E/i && $config{discussion}; + + my @pages; + foreach my $page (@{$IkiWiki::brokenlinks{$link}}) { + push @pages, $page + if pagespec_match($page, $params{pages}, location => $params{page}); } - } + next unless @pages; - my @broken; - foreach my $link (keys %broken) { - my $page=$broken{$link}->[0]; + my $page=$IkiWiki::brokenlinks{$link}->[0]; push @broken, sprintf(gettext("%s from %s"), htmllink($page, $params{destpage}, $link, noimageinline => 1), join(", ", map { htmllink($params{page}, $params{destpage}, $_, noimageinline => 1) - } @{$broken{$link}})); + } @pages) + ); } - return gettext("There are no broken links!") unless %broken; + return gettext("There are no broken links!") unless @broken; return "