".
- gettext("Your comment will be posted after moderator review"),
+ gettext("Your comment will be posted after moderator review").
"
");
exit;
}
--
cgit v1.2.3
From c1befe5d871dba4776f6bb2742ba97f93e814eb3 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Mon, 26 Jan 2009 20:39:12 -0500
Subject: update
---
debian/changelog | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 4d57b0e13..6a64a0c49 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,7 +8,8 @@ ikiwiki (3.03) UNRELEASED; urgency=low
config settings.
* comments: If comment content checks fail, store the comment
(in .ikiwiki/comments_pending) for moderator review.
- * comments: Add a moderation web interface.
+ * comments: Add a moderation web interface, which admins can
+ access via their Preferences page.
* git: Fix malformed utf8 recieved from git.
* meta: New "updated" metadata specifies a fake modification time for a
page, to be output into RSS and Atom feeds. (smcv)
--
cgit v1.2.3
From c8ce3ed4404d37d7c2361f30466c7961f4e1418b Mon Sep 17 00:00:00 2001
From: intrigeri
Date: Tue, 27 Jan 2009 17:22:38 +0100
Subject: rename hook: fixed half, added proposal for the other half
Signed-off-by: intrigeri
---
doc/todo/need_global_renamepage_hook.mdwn | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/doc/todo/need_global_renamepage_hook.mdwn b/doc/todo/need_global_renamepage_hook.mdwn
index 62e91eee4..906bf1220 100644
--- a/doc/todo/need_global_renamepage_hook.mdwn
+++ b/doc/todo/need_global_renamepage_hook.mdwn
@@ -80,3 +80,18 @@ rename hashes it wants to add. Or, if the ability to modify existing
hashes is desired, it could return the full set of hashes.
--[[Joey]]
+
+> I fixed the last part, i.e. a rename hook function now returns the
+> full set of hashes. As I also converted it to take named parameters,
+> such a function still is passed a reference to the original array,
+> though, because one can't build a hash containing an array of hashes
+> as a value, without passing this array as a reference.
+>
+> I'm not entirely sure about your first concern. Calling the hook
+> before or after the subpages addition both have their own problems.
+>
+> What about running the hook before *and* after the subpages
+> addition, with an additional `when` named parameter, so that
+> a given hook function can choose to act only before or after, or both?
+>
+> --[[intrigeri]]
--
cgit v1.2.3
From af5b9b90c4f3d694ac0d8394eeee4fa45f23f843 Mon Sep 17 00:00:00 2001
From: intrigeri
Date: Tue, 27 Jan 2009 18:16:56 +0100
Subject: contrib/po: misc answers and questions
Step by step... :)
Signed-off-by: intrigeri
---
doc/plugins/contrib/po.mdwn | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/doc/plugins/contrib/po.mdwn b/doc/plugins/contrib/po.mdwn
index f2d46c391..7eff8fa1c 100644
--- a/doc/plugins/contrib/po.mdwn
+++ b/doc/plugins/contrib/po.mdwn
@@ -248,6 +248,18 @@ finish it at some point in the first quarter of 2009. --[[intrigeri]]
>>
>>> My wording was unclear, I meant exposing. --[[Joey]]
>>>
+>>>> I guess I still don't know Perl's `our` enough to understand clearly.
+>>>> No matter whether these variables are declared with `my` or `our`,
+>>>> any plugin can `use IkiWiki::Render` and then access
+>>>> `$IkiWiki::backlinks`, as already does e.g. the pagestat plugin.
+>>>> So I guess your problem is not with letting plugins use these
+>>>> variables, but with them being visible for every piece of
+>>>> (possibly external) code called from `Render.pm`. Am I right?
+>>>> If I understand clearly, using a brace block to lexically enclose
+>>>> these two `our` declarations, alongside with the `calculate_backlinks`
+>>>> and `backlinks` subs definitions, would be a proper solution, wouldn't
+>>>> it? --[[intrigeri]]
+>>>>
> * What is this `IkiWiki::nicepagetitle` and why are you
> injecting it into that namespace when only your module uses it?
> Actually, I can't even find a caller of it in your module.
@@ -258,7 +270,16 @@ finish it at some point in the first quarter of 2009. --[[intrigeri]]
>>
>>> It would probably be good if I could merge this branch without
>>> having to worry about also immediatly merging that one. --[[Joey]]
->>
+>>>
+>>>> I removed all dependencies on my `meta` branch from the `po` one.
+>>>> This implied removing the `po_translation_status_in_links` and
+>>>> `po_strictly_refresh_backlinks` features, and every link text is now
+>>>> displayed in the master language. I believe the removed features really
+>>>> enhance user experience of a translatable wiki, that's why I was
+>>>> initially supposing the `meta` branch would be merged first.
+>>>> IMHO, we'll need to come back to this quite soon after `po` is merged.
+>>>> --[[intrigeri]]
+>>>
> * I'm very fearful of the `add_depends` in `postscan`.
> Does this make every page depend on every page that links
> to it? Won't this absurdly bloat the dependency pagespecs
@@ -277,6 +298,9 @@ finish it at some point in the first quarter of 2009. --[[intrigeri]]
>> help having a nice and consistent translated wiki, but as it can
>> also involve problems, I just turned it into an option.
>>
+>>> This has been completely removed for now due to the removal of
+>>> the dependency on my `meta` branch. --[[intrigeri]]
+>>
> * The po4a Suggests should be versioned to the first version
> that can be used safely, and that version documented in
> `plugins/po.mdwn`.
--
cgit v1.2.3
From 94c932ee3d13924e3d916e859c2c9efa8e07ae31 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Tue, 27 Jan 2009 13:14:53 -0500
Subject: thought
---
debian/changelog | 6 ++----
doc/todo/need_global_renamepage_hook.mdwn | 8 ++++++++
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 6a64a0c49..785681ff4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,9 @@
ikiwiki (3.03) UNRELEASED; urgency=low
- * Avoid feeding decoded unicode to Term::ReadLine.
- Closes: 512169
+ * Avoid feeding decoded unicode to Term::ReadLine. Closes: 512169
* blogspam: Log spam info on failure in debug mode.
* Remove nonstandard css. Closes: #512378
- * blogspam: Fix use of blogspam_options and blogspam_server
- config settings.
+ * blogspam: Fix use of blogspam_options and blogspam_server config settings.
* comments: If comment content checks fail, store the comment
(in .ikiwiki/comments_pending) for moderator review.
* comments: Add a moderation web interface, which admins can
diff --git a/doc/todo/need_global_renamepage_hook.mdwn b/doc/todo/need_global_renamepage_hook.mdwn
index 906bf1220..9c987aac4 100644
--- a/doc/todo/need_global_renamepage_hook.mdwn
+++ b/doc/todo/need_global_renamepage_hook.mdwn
@@ -87,6 +87,8 @@ hashes is desired, it could return the full set of hashes.
> though, because one can't build a hash containing an array of hashes
> as a value, without passing this array as a reference.
>
+>> Sure.
+>
> I'm not entirely sure about your first concern. Calling the hook
> before or after the subpages addition both have their own problems.
>
@@ -95,3 +97,9 @@ hashes is desired, it could return the full set of hashes.
> a given hook function can choose to act only before or after, or both?
>
> --[[intrigeri]]
+>>
+>> Have you thought about making the hook be run once *per* file that is
+>> selected to be renamed? This would even handle the case where two
+>> plugins use the hook; plugin A would see when plugin B adds a new file
+>> to be renamed. And the subpage renaming stuff could probably be moved
+>> into the rename hook too. --[[Joey]]
--
cgit v1.2.3
From be63bed593877db0f9a511182ea8329993d3d019 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Tue, 27 Jan 2009 13:20:33 -0500
Subject: response
---
doc/plugins/contrib/po.mdwn | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/doc/plugins/contrib/po.mdwn b/doc/plugins/contrib/po.mdwn
index 7eff8fa1c..6cd097e94 100644
--- a/doc/plugins/contrib/po.mdwn
+++ b/doc/plugins/contrib/po.mdwn
@@ -259,6 +259,10 @@ finish it at some point in the first quarter of 2009. --[[intrigeri]]
>>>> these two `our` declarations, alongside with the `calculate_backlinks`
>>>> and `backlinks` subs definitions, would be a proper solution, wouldn't
>>>> it? --[[intrigeri]]
+>>>>
+>>>>> No, %backlinks and the backlinks() function are not the same thing.
+>>>>> The variable is lexically scoped; only accessible from inside
+>>>>> `Render.pm` --[[Joey]]
>>>>
> * What is this `IkiWiki::nicepagetitle` and why are you
> injecting it into that namespace when only your module uses it?
@@ -279,6 +283,10 @@ finish it at some point in the first quarter of 2009. --[[intrigeri]]
>>>> initially supposing the `meta` branch would be merged first.
>>>> IMHO, we'll need to come back to this quite soon after `po` is merged.
>>>> --[[intrigeri]]
+>>>>
+>>>> Maybe you should keep those features in a meta-po branch?
+>>>> I did a cursory review of your meta last night, have some issues with it,
+>>>> but this page isn't the place for a detailed review. --[[Joey]]
>>>
> * I'm very fearful of the `add_depends` in `postscan`.
> Does this make every page depend on every page that links
--
cgit v1.2.3
From 4db549721da28fb7aca3863af72675324fb5fb43 Mon Sep 17 00:00:00 2001
From: intrigeri
Date: Tue, 27 Jan 2009 19:45:12 +0100
Subject: contrib/po: announce my meta-po integration branch
Signed-off-by: intrigeri
---
doc/plugins/contrib/po.mdwn | 2 ++
1 file changed, 2 insertions(+)
diff --git a/doc/plugins/contrib/po.mdwn b/doc/plugins/contrib/po.mdwn
index 6cd097e94..8b19afae6 100644
--- a/doc/plugins/contrib/po.mdwn
+++ b/doc/plugins/contrib/po.mdwn
@@ -287,6 +287,8 @@ finish it at some point in the first quarter of 2009. --[[intrigeri]]
>>>> Maybe you should keep those features in a meta-po branch?
>>>> I did a cursory review of your meta last night, have some issues with it,
>>>> but this page isn't the place for a detailed review. --[[Joey]]
+>>>>
+>>>>> Done. --[[intrigeri]]
>>>
> * I'm very fearful of the `add_depends` in `postscan`.
> Does this make every page depend on every page that links
--
cgit v1.2.3
From deea2f42aabf7e2e2bf8f2c9ec552caebd52f03d Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Wed, 28 Jan 2009 16:51:19 -0500
Subject: close this, we have comments now
---
doc/todo/discussion_page_as_blog.mdwn | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/todo/discussion_page_as_blog.mdwn b/doc/todo/discussion_page_as_blog.mdwn
index c7a3d6ac9..990b7ddb3 100644
--- a/doc/todo/discussion_page_as_blog.mdwn
+++ b/doc/todo/discussion_page_as_blog.mdwn
@@ -30,4 +30,4 @@ I don't think that the nesting is very clear, I found it confusing..
Would each page be its own individual blog? Or its own blog post? To me it seems like an entire wiki can be viewed as a blog, with threaded or unthreaded comments underneath.
-[[!tag soc]]
+[[!tag soc done]]
--
cgit v1.2.3
From bbad5127a0f766d888f2339a2934e9cf10023796 Mon Sep 17 00:00:00 2001
From: "http://weakish.int.eu.org/"
Date: Thu, 29 Jan 2009 09:39:56 -0500
Subject: use mercurial instead of hg when set rcs option
---
doc/setup/byhand.mdwn | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/doc/setup/byhand.mdwn b/doc/setup/byhand.mdwn
index 9a2e1f3e9..0184d3d2a 100644
--- a/doc/setup/byhand.mdwn
+++ b/doc/setup/byhand.mdwn
@@ -171,11 +171,12 @@ about using the git repositories.
Once your wiki is checked in to the revision control system, you should
configure ikiwiki to use revision control. Edit your ikiwiki.setup, set
-`rcs` to the the revision control system you chose to use. Be sure to set
-`svnrepo` to the directory for your repository, if using subversion.
-Uncomment the configuration for the wrapper for your revision control
-system, and configure the wrapper path appropriately (for Git, it should be
-the path to `hooks/post-update` inside the bare git repository).
+`rcs` to the the revision control system you chose to use. Be careful,
+you may need to use the 'fullname'. For example, 'hg' doesn't work, you
+should use mercurial. Be sure to set `svnrepo` to the directory for your
+repository, if using subversion. Uncomment the configuration for the wrapper
+for your revision control system, and configure the wrapper path appropriately
+(for Git, it should be the path to `hooks/post-update` inside the bare git repository).
Once it's all set up, run `ikiwiki --setup ikiwiki.setup` once more.
Now you should be able to edit files in $SRCDIR, and use your revision
--
cgit v1.2.3
From a46cf100f01b5db96980737b1c2b25deff68e5a0 Mon Sep 17 00:00:00 2001
From: "http://weakish.int.eu.org/"
Date: Thu, 29 Jan 2009 10:28:32 -0500
Subject: removed
---
doc/plugins/textile/discussion.mdwn | 1 -
1 file changed, 1 deletion(-)
delete mode 100644 doc/plugins/textile/discussion.mdwn
diff --git a/doc/plugins/textile/discussion.mdwn b/doc/plugins/textile/discussion.mdwn
deleted file mode 100644
index 945c9b46d..000000000
--- a/doc/plugins/textile/discussion.mdwn
+++ /dev/null
@@ -1 +0,0 @@
-.
\ No newline at end of file
--
cgit v1.2.3
From 78529b335c786a2e988e71a31827929a84da2b6d Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Thu, 29 Jan 2009 14:44:48 -0500
Subject: releasing version 3.03
---
debian/changelog | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 785681ff4..82a23212b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-ikiwiki (3.03) UNRELEASED; urgency=low
+ikiwiki (3.03) unstable; urgency=low
* Avoid feeding decoded unicode to Term::ReadLine. Closes: 512169
* blogspam: Log spam info on failure in debug mode.
@@ -8,13 +8,13 @@ ikiwiki (3.03) UNRELEASED; urgency=low
(in .ikiwiki/comments_pending) for moderator review.
* comments: Add a moderation web interface, which admins can
access via their Preferences page.
- * git: Fix malformed utf8 recieved from git.
+ * git: Fix malformed utf8 received from git.
* meta: New "updated" metadata specifies a fake modification time for a
page, to be output into RSS and Atom feeds. (smcv)
* underlay: New plugin, allows pulling in additional files not
in version control. (smcv)
- -- Joey Hess Sun, 18 Jan 2009 14:50:57 -0500
+ -- Joey Hess Thu, 29 Jan 2009 14:36:58 -0500
ikiwiki (3.02) unstable; urgency=low
--
cgit v1.2.3
From c244e13d6b3afcf0ac6bc54d6cdce556e70e1f83 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Thu, 29 Jan 2009 14:47:11 -0500
Subject: add news item for ikiwiki 3.03
---
doc/news/version_3.02.mdwn | 24 ------------------------
doc/news/version_3.03.mdwn | 15 +++++++++++++++
2 files changed, 15 insertions(+), 24 deletions(-)
delete mode 100644 doc/news/version_3.02.mdwn
create mode 100644 doc/news/version_3.03.mdwn
diff --git a/doc/news/version_3.02.mdwn b/doc/news/version_3.02.mdwn
deleted file mode 100644
index f4e17a375..000000000
--- a/doc/news/version_3.02.mdwn
+++ /dev/null
@@ -1,24 +0,0 @@
-ikiwiki 3.02 released with [[!toggle text="these changes"]]
-[[!toggleable text="""
- * blogspam: New plugin, adding spam filtering for page editing / comment
- posting using the BlogSpam.net API.
- * Add auto-blog.setup, which will set up an ikiwiki instance tuned for use
- in blogging.
- * checkcontent: New hook, can be used to implement arbitrary content
- filters, including spam filters.
- * table: Fix misparsed links in external files.
- * table: Find links in external files in scan pass.
- * rename: Show full names of affected pages.
- * comments: Fix cache avoidance hack.
- * repolist: New plugin to support the rel=vcs-* microformat.
- * goodstuff: Include repolist by default. (But it does nothing until
- configured with the repository locations.)
- * comments: Add support for removing comments via web interface. (smcv)
- * Consistently allow use of relative paths in all PageSpecs
- that take a page name parameter. Previously, match\_created\_before(),
- match\_created\_after(), match\_sourcepage(), and match\_destpage()
- did not support that, and the docs were not clear.
- * pinger: Get whole url, don't just head, avoids problems on
- the nostromo web server.
- * Recommend libterm-readline-gnu-perl since that makes auto.setup
- behave better."""]]
\ No newline at end of file
diff --git a/doc/news/version_3.03.mdwn b/doc/news/version_3.03.mdwn
new file mode 100644
index 000000000..b999344e1
--- /dev/null
+++ b/doc/news/version_3.03.mdwn
@@ -0,0 +1,15 @@
+ikiwiki 3.03 released with [[!toggle text="these changes"]]
+[[!toggleable text="""
+ * Avoid feeding decoded unicode to Term::ReadLine. Closes: [512169](http://bugs.debian.org/512169)
+ * blogspam: Log spam info on failure in debug mode.
+ * Remove nonstandard css. Closes: #[512378](http://bugs.debian.org/512378)
+ * blogspam: Fix use of blogspam\_options and blogspam\_server config settings.
+ * comments: If comment content checks fail, store the comment
+ (in .ikiwiki/comments\_pending) for moderator review.
+ * comments: Add a moderation web interface, which admins can
+ access via their Preferences page.
+ * git: Fix malformed utf8 received from git.
+ * meta: New "updated" metadata specifies a fake modification time for a
+ page, to be output into RSS and Atom feeds. (smcv)
+ * underlay: New plugin, allows pulling in additional files not
+ in version control. (smcv)"""]]
\ No newline at end of file
--
cgit v1.2.3
From 9c519bd74e2b30a4feae1bd4a3ecb6ca2cb76798 Mon Sep 17 00:00:00 2001
From: Víctor Moral
Date: Fri, 30 Jan 2009 18:15:22 +0100
Subject: - Update spanish translation.
---
po/es.po | 107 ++++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 62 insertions(+), 45 deletions(-)
diff --git a/po/es.po b/po/es.po
index db8fce8da..4ffd6ee65 100644
--- a/po/es.po
+++ b/po/es.po
@@ -1,20 +1,21 @@
-# translation of es.po to spanish
+# translation of es.po to
# ikiwiki spanish translation
# Copyright (C) 2007, 2009 The Free Software Foundation, Inc
# This file is distributed under the same license as the ikiwiki package.
#
# Víctor Moral , 2007, 2009.
+# Victor Moral , 2009.
msgid ""
msgstr ""
"Project-Id-Version: es\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-01-17 18:19-0500\n"
-"PO-Revision-Date: 2009-01-19 08:58+0100\n"
-"Language-Team: spanish \n"
+"POT-Creation-Date: 2009-01-30 17:48+0100\n"
+"PO-Revision-Date: 2009-01-30 18:01+0100\n"
+"Last-Translator: Victor Moral \n"
+"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Last-Translator: Víctor Moral \n"
"X-Generator: KBabel 1.11.4\n"
#: ../IkiWiki/CGI.pm:113
@@ -172,17 +173,15 @@ msgstr "enviado el adjunto"
msgid "automatic index generation"
msgstr "creación de índice automática"
-#: ../IkiWiki/Plugin/blogspam.pm:102
+#: ../IkiWiki/Plugin/blogspam.pm:105
msgid ""
"Sorry, but that looks like spam to blogspam: "
-msgstr "Lo siento, pero el analizador blogspam dice que el texto puede ser spam."
-
-#: ../IkiWiki/Plugin/blogspam.pm:105
-msgid "blogspam server failure: "
-msgstr "fallo del servidor blogspam: "
+msgstr ""
+"Lo siento, pero el analizador blogspam "
+"dice que el texto puede ser spam."
-#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:296
+#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:297
#: ../IkiWiki/Plugin/inline.pm:354 ../IkiWiki/Plugin/opendiscussion.pm:26
#: ../IkiWiki/Plugin/orphans.pm:37 ../IkiWiki/Render.pm:79
#: ../IkiWiki/Render.pm:149
@@ -198,47 +197,55 @@ msgstr "%s desde la página %s"
msgid "There are no broken links!"
msgstr "¡ No hay enlaces rotos !"
-#: ../IkiWiki/Plugin/comments.pm:120 ../IkiWiki/Plugin/format.pm:23
+#: ../IkiWiki/Plugin/comments.pm:121 ../IkiWiki/Plugin/format.pm:23
#, perl-format
msgid "unsupported page format %s"
msgstr "formato de página %s no soportado"
-#: ../IkiWiki/Plugin/comments.pm:125
+#: ../IkiWiki/Plugin/comments.pm:126
msgid "comment must have content"
msgstr "Un comentario debe tener algún contenido"
-#: ../IkiWiki/Plugin/comments.pm:181
+#: ../IkiWiki/Plugin/comments.pm:182
msgid "Anonymous"
msgstr "Anónimo"
-#: ../IkiWiki/Plugin/comments.pm:252 ../IkiWiki/Plugin/recentchanges.pm:110
+#: ../IkiWiki/Plugin/comments.pm:253 ../IkiWiki/Plugin/recentchanges.pm:110
msgid "missing page"
msgstr "página no encontrada"
-#: ../IkiWiki/Plugin/comments.pm:254 ../IkiWiki/Plugin/recentchanges.pm:112
+#: ../IkiWiki/Plugin/comments.pm:255 ../IkiWiki/Plugin/recentchanges.pm:112
#, perl-format
msgid "The page %s does not exist."
msgstr "No existe la página %s."
-#: ../IkiWiki/Plugin/comments.pm:343 ../IkiWiki/Plugin/editpage.pm:160
+#: ../IkiWiki/Plugin/comments.pm:354 ../IkiWiki/Plugin/editpage.pm:161
msgid "bad page name"
msgstr "nombre de página erróneo"
-#: ../IkiWiki/Plugin/comments.pm:348
+#: ../IkiWiki/Plugin/comments.pm:359
#, perl-format
msgid "commenting on %s"
msgstr "creando comentarios en la página %s"
-#: ../IkiWiki/Plugin/comments.pm:366
+#: ../IkiWiki/Plugin/comments.pm:377
#, perl-format
msgid "page '%s' doesn't exist, so you can't comment"
msgstr "la página '%s' no existe, así que no se puede comentar sobre ella"
-#: ../IkiWiki/Plugin/comments.pm:373
+#: ../IkiWiki/Plugin/comments.pm:384
#, perl-format
msgid "comments on page '%s' are closed"
msgstr "los comentarios para la página '%s' están cerrados"
+#: ../IkiWiki/Plugin/comments.pm:478
+msgid "comment stored for moderation"
+msgstr "comentario guardado a la espera de aprobación"
+
+#: ../IkiWiki/Plugin/comments.pm:480
+msgid "Your comment will be posted after moderator review"
+msgstr "Su comentario será publicado después de que el moderador lo revise"
+
#: ../IkiWiki/Plugin/comments.pm:493
msgid "Added a comment"
msgstr "Añadir un comentario"
@@ -248,7 +255,19 @@ msgstr "Añadir un comentario"
msgid "Added a comment: %s"
msgstr "Comentario añadido: %s"
-#: ../IkiWiki/Plugin/comments.pm:611
+#: ../IkiWiki/Plugin/comments.pm:538 ../IkiWiki/Plugin/websetup.pm:236
+msgid "you are not logged in as an admin"
+msgstr "No está registrado como un administrador"
+
+#: ../IkiWiki/Plugin/comments.pm:589
+msgid "Comment moderation"
+msgstr "Aprobación de comentarios"
+
+#: ../IkiWiki/Plugin/comments.pm:628
+msgid "comment moderation"
+msgstr "aprobación de comentarios"
+
+#: ../IkiWiki/Plugin/comments.pm:778
msgid "Comments"
msgstr "Comentarios"
@@ -273,19 +292,19 @@ msgstr "no se ha copiado ningún texto con el identificador %s en esta pagina"
msgid "removing old preview %s"
msgstr "eliminando la antigua previsualización %s"
-#: ../IkiWiki/Plugin/editpage.pm:176
+#: ../IkiWiki/Plugin/editpage.pm:177
#, perl-format
msgid "%s is not an editable page"
msgstr "la página %s no es modificable"
-#: ../IkiWiki/Plugin/editpage.pm:352
+#: ../IkiWiki/Plugin/editpage.pm:353
#, perl-format
msgid "creating %s"
msgstr "creando página %s"
-#: ../IkiWiki/Plugin/editpage.pm:370 ../IkiWiki/Plugin/editpage.pm:389
-#: ../IkiWiki/Plugin/editpage.pm:399 ../IkiWiki/Plugin/editpage.pm:443
-#: ../IkiWiki/Plugin/editpage.pm:482
+#: ../IkiWiki/Plugin/editpage.pm:371 ../IkiWiki/Plugin/editpage.pm:390
+#: ../IkiWiki/Plugin/editpage.pm:400 ../IkiWiki/Plugin/editpage.pm:444
+#: ../IkiWiki/Plugin/editpage.pm:483
#, perl-format
msgid "editing %s"
msgstr "modificando página %s"
@@ -315,18 +334,18 @@ msgstr "se deben especificar tanto el formato como el texto"
msgid "fortune failed"
msgstr "el programa fortune ha fallado"
-#: ../IkiWiki/Plugin/git.pm:618 ../IkiWiki/Plugin/git.pm:636
+#: ../IkiWiki/Plugin/git.pm:624 ../IkiWiki/Plugin/git.pm:642
#: ../IkiWiki/Receive.pm:129
#, perl-format
msgid "you are not allowed to change %s"
msgstr "No puede cambiar %s"
-#: ../IkiWiki/Plugin/git.pm:658
+#: ../IkiWiki/Plugin/git.pm:664
#, perl-format
msgid "you cannot act on a file with mode %s"
msgstr "no puede actuar sobre un archivo con permisos %s"
-#: ../IkiWiki/Plugin/git.pm:662
+#: ../IkiWiki/Plugin/git.pm:668
msgid "you are not allowed to change file modes"
msgstr "No puede cambiar los permisos de acceso de un archivo"
@@ -367,7 +386,7 @@ msgstr "no puedo leer de %s: %s "
#: ../IkiWiki/Plugin/img.pm:87
#, perl-format
msgid "failed to resize: %s"
-msgstr "redimensionado fallido: %s"
+msgstr "dimensionamiento fallido: %s"
#: ../IkiWiki/Plugin/img.pm:118
#, perl-format
@@ -406,7 +425,7 @@ msgstr "la plantilla %s no existe "
msgid "Discussion"
msgstr "Comentarios"
-#: ../IkiWiki/Plugin/inline.pm:587
+#: ../IkiWiki/Plugin/inline.pm:593
msgid "RPC::XML::Client not found, not pinging"
msgstr "No he encontrado el componente RPC::XML::Client, no envío señal alguna"
@@ -430,15 +449,15 @@ msgstr ""
"no he podido cargar el módulo Perl Markdown.pm (%s) ó no he podido ejecutar "
"el programa /usr/bin/markdown (%s)"
-#: ../IkiWiki/Plugin/meta.pm:151
+#: ../IkiWiki/Plugin/meta.pm:158
msgid "stylesheet not found"
msgstr "hoja de estilo no encontrada "
-#: ../IkiWiki/Plugin/meta.pm:185
+#: ../IkiWiki/Plugin/meta.pm:192
msgid "redir page not found"
msgstr "falta la página a donde redirigir"
-#: ../IkiWiki/Plugin/meta.pm:198
+#: ../IkiWiki/Plugin/meta.pm:205
msgid "redir cycle is not allowed"
msgstr "ciclo de redirección no permitido"
@@ -495,7 +514,7 @@ msgstr "No he podido enviar el mensaje de correo electrónico"
#: ../IkiWiki/Plugin/passwordauth.pm:293
msgid "You have been mailed password reset instructions."
msgstr ""
-"Las instrucciones para reinicar la contraseña se le han enviado por correo "
+"Las instrucciones para reiniciar la contraseña se le han enviado por correo "
"electrónico"
#: ../IkiWiki/Plugin/passwordauth.pm:328
@@ -829,10 +848,6 @@ msgstr "complemento"
msgid "enable %s?"
msgstr "¿ activar %s ?"
-#: ../IkiWiki/Plugin/websetup.pm:236
-msgid "you are not logged in as an admin"
-msgstr "No está registrado como un administrador"
-
#: ../IkiWiki/Plugin/websetup.pm:240
msgid "setup file for this wiki is not known"
msgstr "El archivo de configuración para este wiki es desconocido"
@@ -933,7 +948,7 @@ msgstr "eliminando la página %s puesto que ya no se deriva de %s"
#: ../IkiWiki/Render.pm:522
#, perl-format
msgid "ikiwiki: cannot render %s"
-msgstr "ikwiki: no puedo convertir la página %s"
+msgstr "ikiwiki: no puedo convertir la página %s"
#. translators: The first parameter is a filename, and the second
#. translators: is a (probably not translated) error message.
@@ -942,16 +957,16 @@ msgstr "ikwiki: no puedo convertir la página %s"
msgid "cannot read %s: %s"
msgstr "no puedo leer el archivo %s: %s"
-#: ../IkiWiki/Setup/Automator.pm:33
+#: ../IkiWiki/Setup/Automator.pm:34
msgid "you must enter a wikiname (that contains alphanumerics)"
msgstr "debe escribir un nombre wiki (que contiene caracteres alfanuméricos)"
-#: ../IkiWiki/Setup/Automator.pm:67
+#: ../IkiWiki/Setup/Automator.pm:68
#, perl-format
msgid "unsupported revision control system %s"
msgstr "el sistema de control de versiones %s no está soportado"
-#: ../IkiWiki/Setup/Automator.pm:93
+#: ../IkiWiki/Setup/Automator.pm:94
msgid "failed to set up the repository with ikiwiki-makerepo"
msgstr "no he podido crear un repositorio con el programa ikiwiki-makerepo"
@@ -1051,7 +1066,9 @@ msgstr "¿ Qué sistema de control de versiones empleará ?"
#: ../auto.setup:20
msgid "What wiki user (or openid) will be admin?"
-msgstr "¿ Qué usuario del wiki (ó qué identificador openid) será el empleado como administrador ? "
+msgstr ""
+"¿ Qué usuario del wiki (ó qué identificador openid) será el empleado como "
+"administrador ? "
#: ../auto.setup:23
msgid "What is the domain name of the web server?"
--
cgit v1.2.3
From 0d58f263214183b4667987da48077d5e8e8a41c1 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Fri, 30 Jan 2009 14:07:03 -0500
Subject: merge dups
---
...itle_function_does_not_respect_meta_titles.mdwn | 123 ++++++++++++++++++++-
doc/todo/using_meta_titles_for_parentlinks.html | 122 --------------------
2 files changed, 121 insertions(+), 124 deletions(-)
delete mode 100644 doc/todo/using_meta_titles_for_parentlinks.html
diff --git a/doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn b/doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn
index cccd53d05..11735f770 100644
--- a/doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn
+++ b/doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn
@@ -2,8 +2,127 @@ The `IkiWiki::pagetitle` function does not respect title changes via `meta.title
--[[madduck]]
-> Agreed. [[todo/using_meta_titles_for_parentlinks]] contains a beginning of
-> solution. A few quick notes about it:
+----
+
+It is possible to set a Page-Title in the meta-plugin, but that one isn't
+reused in parentlinks. This [[patch]] may fix it.
+
+
+
I give pagetitle the full path to a page.
+
I redefine the 'pagetitle'-sub to deal with it.
+
to maintain compatibility for IkiWikis without the meta-plugin, i added a 'basename' to the Original-pagetitle.
+
+
+--
+
+> A few quick notes about it:
> - Using inline would avoid the redefinition + code duplication.
> - A few plugins would need to be upgraded.
diff --git a/doc/todo/using_meta_titles_for_parentlinks.html b/doc/todo/using_meta_titles_for_parentlinks.html
deleted file mode 100644
index 6da40a415..000000000
--- a/doc/todo/using_meta_titles_for_parentlinks.html
+++ /dev/null
@@ -1,122 +0,0 @@
-It is possible to set a Page-Title in the meta-plugin, but that one isn't
-reused in parentlinks. This [[patch]] may fix it.
-
-
-
I give pagetitle the full path to a page.
-
I redefine the 'pagetitle'-sub to deal with it.
-
to maintain compatibility for IkiWikis without the meta-plugin, i added a 'basename' to the Original-pagetitle.
-
-This is actually a duplicate for
-[[bugs/pagetitle_function_does_not_respect_meta_titles]], where I'm
-following up a bit. --[[intrigeri]]
-
\ No newline at end of file
--
cgit v1.2.3
From ec5194feb8c25711eae762c59ec518dfa5f48993 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Fri, 30 Jan 2009 15:15:36 -0500
Subject: review=
---
...itle_function_does_not_respect_meta_titles.mdwn | 52 +++++++++++++++++++++-
1 file changed, 51 insertions(+), 1 deletion(-)
diff --git a/doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn b/doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn
index 11735f770..48fd7c647 100644
--- a/doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn
+++ b/doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn
@@ -120,7 +120,7 @@ diff -c /usr/share/perl5/IkiWiki/Plugin/meta.pm.distrib /usr/share/perl5/IkiWiki
---
+----
> A few quick notes about it:
@@ -135,3 +135,53 @@ diff -c /usr/share/perl5/IkiWiki/Plugin/meta.pm.distrib /usr/share/perl5/IkiWiki
>> Thus tagging [[patch]]. --[[intrigeri]]
>>
>>> Joey, please consider merging my `meta` branch. --[[intrigeri]]
+
+So, looking at your meta branch: --[[Joey]]
+
+* Inter-page dependencies. If page A links to page B, and page B currently
+ has no title, then A will display the link as "B". Now page B is modified
+ and a title is added. Nothing updates "A".
+ The added overhead of rebuilding every page that links to B when B is
+ changed (as the `postscan` hook of the po plugin does) is IMHO a killer.
+ That could be hundreds or thousands of pages, making interactive editing
+ way slow. This is probably the main reason I had not attempted this whole
+ thing myself. IMHO this calls for some kind of intellegent dependency
+ handler that can detect when B's title has changed and only rebuild pages
+ that link to B in that case.
+* Looks like some plugins that use `pagetitle` to format it for display
+ were not changed to use `nicepagetitle` (for example, rename).
+ But most of those callers intend to display the page name
+ as a title, but including the parent directories in the path. (Ie,
+ "renaming foo/page title to bar/page title" --
+ you want to know it's moved from foo to bar.) `nicepagetitle` does not
+ allow doing that since it always takes the `basename`.
+* I don't like the name `nicepagetitle`. It's not very descriptive, is it?
+ And it seems very confusing to choose whether to use the "nice" or original
+ version. My hope is that adding a second function is unnecessary.
+ As I understand it, you added a new function for two reasons:
+ 1) It needs the full page name, not basename.
+ 2) `titlepage(pagetitle($page))` reversability.
+
+ #1: If you look at all the callers
+ Of `pagetitle` most of them pass a complete page name, not just the
+ basename. In most cases `pagetitle` is used to display the full name
+ of the page, including any subdirectory it's in. So why not just make
+ it consitently be given the full name of the page, with another argument
+ specifying if we want to get back just the base name.
+
+ #2: I can't find any code that actually uses the reversability like that.
+ The value passed to `titlepage` always comes from some external
+ source. Unless I missed one.
+* The use of `File::Spec->rel2abs` is a bit scary.
+* Does it really make sense to call `pagetitle` on the meta title
+ in meta's `nicepagetitle`? What if the meta title is something like
+ "foo_bar" -- that would be changed to "foo bar".
+* parentlinks is changed to use `nicepagetitle(bestlink($page, $path))`.
+ Won't `bestlink` return "" if the parent page in question does not exist?
+* `backlinks()` is changed to add an additional `title` field
+ to the hash returned, but AFAICS this is not used in the template.
+* Shouldn't `Render.pm` use nicepagetitle when getting the title for the
+ page template? Then meta would not need to override the title in the
+ `pagetemplate` hook. (Although this would eliminate handling of
+ `title_overridden` -- but that is little used and would not catch
+ all the other ways titles can be overridden with this patch anyway.)
--
cgit v1.2.3
From 013a5e4ca74108bf9206be25d3ffdad985ce266f Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Fri, 30 Jan 2009 15:17:53 -0500
Subject: formatting
---
doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn b/doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn
index 48fd7c647..cdd8a03b1 100644
--- a/doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn
+++ b/doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn
@@ -162,14 +162,14 @@ So, looking at your meta branch: --[[Joey]]
1) It needs the full page name, not basename.
2) `titlepage(pagetitle($page))` reversability.
- #1: If you look at all the callers
+ 1) If you look at all the callers
Of `pagetitle` most of them pass a complete page name, not just the
basename. In most cases `pagetitle` is used to display the full name
of the page, including any subdirectory it's in. So why not just make
it consitently be given the full name of the page, with another argument
specifying if we want to get back just the base name.
- #2: I can't find any code that actually uses the reversability like that.
+ 2) I can't find any code that actually uses the reversability like that.
The value passed to `titlepage` always comes from some external
source. Unless I missed one.
* The use of `File::Spec->rel2abs` is a bit scary.
--
cgit v1.2.3
From c2dafcb4e5e8c9f654c0ad5719607366cf84b75a Mon Sep 17 00:00:00 2001
From: Simon McVittie
Date: Sat, 31 Jan 2009 14:36:23 +0000
Subject: CGI: add cgi_goto(CGI, [page])
This redirects to the given page (or if none is given, the page parameter
given to the CGI), or displays an error with a create link if the page
doesn't exist.
---
IkiWiki/CGI.pm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm
index 3fadc462e..a6b485edb 100644
--- a/IkiWiki/CGI.pm
+++ b/IkiWiki/CGI.pm
@@ -291,6 +291,47 @@ sub cgi_savesession ($) {
umask($oldmask);
}
+# cgi_goto(CGI, [page])
+# Redirect to a specified page, or display "not found". If not specified,
+# the page param from the CGI object is used.
+sub cgi_goto ($;$) {
+ my $q = shift;
+ my $page = shift;
+
+ if (!defined $page) {
+ $page = decode_utf8($q->param("page"));
+
+ if (!defined $page) {
+ error("missing page parameter");
+ }
+ }
+
+ loadindex();
+
+ # If the page is internal (like a comment), see if it has a
+ # permalink. Comments do.
+ if (isinternal($page) &&
+ defined $pagestate{$page}{meta}{permalink}) {
+ redirect($q, $pagestate{$page}{meta}{permalink});
+ }
+
+ my $link = bestlink("", $page);
+
+ if (! length $link) {
+ print "Content-type: text/html\n\n";
+ print misctemplate(gettext("missing page"),
+ "
".
+ sprintf(gettext("The page %s does not exist."),
+ htmllink("", "", $page)).
+ "
");
+ }
+ else {
+ redirect($q, urlto($link, undef, 1));
+ }
+
+ exit;
+}
+
sub cgi (;$$) {
my $q=shift;
my $session=shift;
--
cgit v1.2.3
From 18f4aeffb1841f8b455a5e31811695102262a06a Mon Sep 17 00:00:00 2001
From: Simon McVittie
Date: Sat, 31 Jan 2009 14:48:44 +0000
Subject: CGI: if the "do" parameter is goto, recentchanges_link or commenter,
redirect to a page
This can replace equivalent functionality in comments and recentchanges.
---
IkiWiki/CGI.pm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm
index a6b485edb..949390e68 100644
--- a/IkiWiki/CGI.pm
+++ b/IkiWiki/CGI.pm
@@ -358,7 +358,12 @@ sub cgi (;$$) {
error("\"do\" parameter missing");
}
}
-
+
+ if ($do eq 'goto' || $do eq 'recentchanges_link' ||
+ $do eq 'commenter') {
+ cgi_goto($q);
+ }
+
# Need to lock the wiki before getting a session.
lockwiki();
loadindex();
--
cgit v1.2.3
From 4e92548ebc39c083e7ed8b870f4c13ba229127cd Mon Sep 17 00:00:00 2001
From: Simon McVittie
Date: Sat, 31 Jan 2009 14:49:12 +0000
Subject: comments: delete cgi hook in favour of the global one
---
IkiWiki/Plugin/comments.pm | 32 +-------------------------------
1 file changed, 1 insertion(+), 31 deletions(-)
diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm
index cbb3374c2..995d1f4eb 100644
--- a/IkiWiki/Plugin/comments.pm
+++ b/IkiWiki/Plugin/comments.pm
@@ -25,7 +25,6 @@ sub import {
hook(type => "sessioncgi", id => 'comment', call => \&sessioncgi);
hook(type => "htmlize", id => "_comment", call => \&htmlize);
hook(type => "pagetemplate", id => "comments", call => \&pagetemplate);
- hook(type => "cgi", id => "comments", call => \&linkcgi);
hook(type => "formbuilder_setup", id => "comments", call => \&formbuilder_setup);
IkiWiki::loadplugin("inline");
}
@@ -167,7 +166,7 @@ sub preprocess {
}
else {
$commentauthorurl = IkiWiki::cgiurl(
- do => 'commenter',
+ do => 'goto',
page => (length $config{userdir}
? "$config{userdir}/$commentuser"
: "$commentuser"));
@@ -235,35 +234,6 @@ sub preprocess {
return $content;
}
-# This is exactly the same as recentchanges_link :-(
-sub linkcgi ($) {
- my $cgi=shift;
- if (defined $cgi->param('do') && $cgi->param('do') eq "commenter") {
-
- my $page=decode_utf8($cgi->param("page"));
- if (! defined $page) {
- error("missing page parameter");
- }
-
- IkiWiki::loadindex();
-
- my $link=bestlink("", $page);
- if (! length $link) {
- print "Content-type: text/html\n\n";
- print IkiWiki::misctemplate(gettext(gettext("missing page")),
- "
".
- sprintf(gettext("The page %s does not exist."),
- htmllink("", "", $page)).
- "
");
- }
- else {
- IkiWiki::redirect($cgi, urlto($link, undef, 1));
- }
-
- exit;
- }
-}
-
sub sessioncgi ($$) {
my $cgi=shift;
my $session=shift;
--
cgit v1.2.3
From a981d6857f1eab350460116c1b5d868ed0215d29 Mon Sep 17 00:00:00 2001
From: Simon McVittie
Date: Sat, 31 Jan 2009 14:49:25 +0000
Subject: recentchanges: delete CGI hook in favour of the global one
---
IkiWiki/Plugin/recentchanges.pm | 45 +----------------------------------------
1 file changed, 1 insertion(+), 44 deletions(-)
diff --git a/IkiWiki/Plugin/recentchanges.pm b/IkiWiki/Plugin/recentchanges.pm
index ef108b3f0..56e80e7b8 100644
--- a/IkiWiki/Plugin/recentchanges.pm
+++ b/IkiWiki/Plugin/recentchanges.pm
@@ -13,7 +13,6 @@ sub import {
hook(type => "refresh", id => "recentchanges", call => \&refresh);
hook(type => "pagetemplate", id => "recentchanges", call => \&pagetemplate);
hook(type => "htmlize", id => "_change", call => \&htmlize);
- hook(type => "cgi", id => "recentchanges", call => \&cgi);
}
sub getsetup () {
@@ -79,48 +78,6 @@ sub htmlize (@) {
return $params{content};
}
-sub cgi ($) {
- my $cgi=shift;
- if (defined $cgi->param('do') && $cgi->param('do') eq "recentchanges_link") {
- # This is a link from a change page to some
- # other page. Since the change pages are only generated
- # once, statically, links on them won't be updated if the
- # page they link to is deleted, or newly created, or
- # changes for whatever reason. So this CGI handles that
- # dynamic linking stuff.
- my $page=decode_utf8($cgi->param("page"));
- if (!defined $page) {
- error("missing page parameter");
- }
-
- IkiWiki::loadindex();
-
- # If the page is internal (like a comment), see if it has a
- # permalink. Comments do.
- if (IkiWiki::isinternal($page) &&
- defined $pagestate{$page}{meta}{permalink}) {
- IkiWiki::redirect($cgi,
- $pagestate{$page}{meta}{permalink});
- exit;
- }
-
- my $link=bestlink("", $page);
- if (! length $link) {
- print "Content-type: text/html\n\n";
- print IkiWiki::misctemplate(gettext(gettext("missing page")),
- "
".
- sprintf(gettext("The page %s does not exist."),
- htmllink("", "", $page)).
- "
".
- sprintf(gettext("The page %s does not exist."),
- htmllink("", "", $page)).
- "
".
- # Internet Explorer won't show custom 404 responses
- # unless they're >= 512 bytes
- (" " x 512));
- }
- else {
- redirect($q, urlto($link, undef, 1));
- }
-
- exit;
-}
-
sub cgi (;$$) {
my $q=shift;
my $session=shift;
@@ -365,13 +321,6 @@ sub cgi (;$$) {
}
}
- # goto is the preferred name for this; recentchanges_link and
- # commenter are for compatibility with any saved URLs
- if ($do eq 'goto' || $do eq 'recentchanges_link' ||
- $do eq 'commenter') {
- cgi_goto($q);
- }
-
# Need to lock the wiki before getting a session.
lockwiki();
loadindex();
diff --git a/IkiWiki/Plugin/apache404.pm b/IkiWiki/Plugin/apache404.pm
index 3ac6b3af5..e7ce70435 100644
--- a/IkiWiki/Plugin/apache404.pm
+++ b/IkiWiki/Plugin/apache404.pm
@@ -10,6 +10,7 @@ use IkiWiki 3.00;
sub import {
hook(type => "cgi", id => 'apache404', call => \&cgi);
+ IkiWiki::loadplugin("goto");
}
sub getsetup () {
@@ -69,7 +70,7 @@ sub cgi ($) {
if ($ENV{REDIRECT_STATUS} eq '404') {
my $page = cgi_page_from_404($ENV{REDIRECT_URL},
$config{url}, $config{usedirs});
- IkiWiki::cgi_goto($cgi, $page);
+ IkiWiki::Plugin::goto::cgi_goto($cgi, $page);
}
}
diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm
index 995d1f4eb..3cdffe856 100644
--- a/IkiWiki/Plugin/comments.pm
+++ b/IkiWiki/Plugin/comments.pm
@@ -26,6 +26,8 @@ sub import {
hook(type => "htmlize", id => "_comment", call => \&htmlize);
hook(type => "pagetemplate", id => "comments", call => \&pagetemplate);
hook(type => "formbuilder_setup", id => "comments", call => \&formbuilder_setup);
+ # Load goto to fix up user page links for logged-in commenters
+ IkiWiki::loadplugin("goto");
IkiWiki::loadplugin("inline");
}
diff --git a/IkiWiki/Plugin/goto.pm b/IkiWiki/Plugin/goto.pm
new file mode 100644
index 000000000..9e7a2621f
--- /dev/null
+++ b/IkiWiki/Plugin/goto.pm
@@ -0,0 +1,76 @@
+#!/usr/bin/perl
+package IkiWiki::Plugin::goto;
+
+use warnings;
+use strict;
+use IkiWiki 3.00;
+
+sub import {
+ hook(type => "cgi", id => 'goto', call => \&cgi);
+}
+
+sub getsetup () {
+ return
+ plugin => {
+ safe => 1,
+ rebuild => 0,
+ }
+}
+
+# cgi_goto(CGI, [page])
+# Redirect to a specified page, or display "not found". If not specified,
+# the page param from the CGI object is used.
+sub cgi_goto ($;$) {
+ my $q = shift;
+ my $page = shift;
+
+ if (!defined $page) {
+ $page = IkiWiki::decode_utf8($q->param("page"));
+
+ if (!defined $page) {
+ error("missing page parameter");
+ }
+ }
+
+ IkiWiki::loadindex();
+
+ # If the page is internal (like a comment), see if it has a
+ # permalink. Comments do.
+ if (IkiWiki::isinternal($page) &&
+ defined $pagestate{$page}{meta}{permalink}) {
+ redirect($q, $pagestate{$page}{meta}{permalink});
+ }
+
+ my $link = bestlink("", $page);
+
+ if (! length $link) {
+ print $q->header(-status => "404 Not Found");
+ print IkiWiki::misctemplate(gettext("missing page"),
+ "
".
+ sprintf(gettext("The page %s does not exist."),
+ htmllink("", "", $page)).
+ "
".
+ # Internet Explorer won't show custom 404 responses
+ # unless they're >= 512 bytes
+ (" " x 512));
+ }
+ else {
+ IkiWiki::redirect($q, urlto($link, undef, 1));
+ }
+
+ exit;
+}
+
+sub cgi ($) {
+ my $cgi=shift;
+ my $do = $cgi->param('do');
+
+ if (defined $do && ($do eq 'goto' || $do eq 'commenter' ||
+ $do eq 'recentchanged_link')) {
+ # goto is the preferred name for this; recentchanges_link and
+ # commenter are for compatibility with any saved URLs
+ cgi_goto($cgi);
+ }
+}
+
+1;
diff --git a/IkiWiki/Plugin/recentchanges.pm b/IkiWiki/Plugin/recentchanges.pm
index 56e80e7b8..329dd6f32 100644
--- a/IkiWiki/Plugin/recentchanges.pm
+++ b/IkiWiki/Plugin/recentchanges.pm
@@ -13,6 +13,8 @@ sub import {
hook(type => "refresh", id => "recentchanges", call => \&refresh);
hook(type => "pagetemplate", id => "recentchanges", call => \&pagetemplate);
hook(type => "htmlize", id => "_change", call => \&htmlize);
+ # Load goto to fix up links from recentchanges
+ IkiWiki::loadplugin("goto");
}
sub getsetup () {
diff --git a/doc/plugins/goto.mdwn b/doc/plugins/goto.mdwn
new file mode 100644
index 000000000..21dda16b2
--- /dev/null
+++ b/doc/plugins/goto.mdwn
@@ -0,0 +1,10 @@
+[[!template id=plugin name=goto author="[[Simon_McVittie|smcv]]"]]
+[[!tag type/useful]]
+
+This plugin adds a `do=goto` mode for the IkiWiki CGI script. It's mainly
+for internal use by the [[apache404]], [[comments]] and [[recentchanges]]
+plugins, which enable it automatically.
+
+With this plugin enabled you can link to `ikiwiki.cgi?do=goto&page=some/where`
+to make a link that will redirect to the page `/some/where` if it exists, or
+offer a link to create it if it doesn't.
--
cgit v1.2.3
From 0fe92602496210294e71c28ba459f06277a8c2ac Mon Sep 17 00:00:00 2001
From: Simon McVittie
Date: Sat, 31 Jan 2009 23:08:48 +0000
Subject: Respond with updated goto branch
---
doc/todo/generic___39__do__61__goto__39___for_CGI.mdwn | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/doc/todo/generic___39__do__61__goto__39___for_CGI.mdwn b/doc/todo/generic___39__do__61__goto__39___for_CGI.mdwn
index f48702bfa..4bf3fb449 100644
--- a/doc/todo/generic___39__do__61__goto__39___for_CGI.mdwn
+++ b/doc/todo/generic___39__do__61__goto__39___for_CGI.mdwn
@@ -13,6 +13,12 @@ something, and moved to `IkiWiki/CGI.pm`?
>> * Should it be a separate plugin? In particular `cgi_page_from_404()` is
>> pretty big, and only works if apache is configured so seems somewhat
>> pluginaable.
+
+>>> I've split out `goto` and `apache404` plugins in the branch. I think
+>>> you're right that apache404 should be a plugin. If you think goto is small
+>>> and general enough to not be a plugin, just don't merge my most recent
+>>> patch! --[[smcv]]
+
>> * I wish there were some way to generalize the workaround for the stupid
>> MSIE behavior. Actually, I wish we could ignore the MSIE stupidity,
>> as I tend to do, but perhaps it's too stupid in this case for that to
@@ -22,3 +28,6 @@ something, and moved to `IkiWiki/CGI.pm`?
>> out of the enclosing if block, the apache 404 handler could
>> be set direct to the cgi, which seems simpler to remember.
>> --[[Joey]]
+
+>>> No, good point - the `REDIRECT_STATUS` check is sufficiently unambiguous
+>>> already. Fixed. --[[smcv]]
--
cgit v1.2.3
From b0361b8efde26fbf4f3207be6c3c8f39eb16a9f3 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Sat, 31 Jan 2009 19:02:50 -0500
Subject: factor out IE stupididy workaround
---
IkiWiki/CGI.pm | 23 +++++++++++++++++------
IkiWiki/Plugin/goto.pm | 17 ++++++++---------
2 files changed, 25 insertions(+), 15 deletions(-)
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm
index c91914564..3000ed100 100644
--- a/IkiWiki/CGI.pm
+++ b/IkiWiki/CGI.pm
@@ -229,6 +229,20 @@ sub cgi_prefs ($$) {
showform($form, $buttons, $session, $q);
}
+sub cgi_custom_failure ($$) {
+ my $header=shift;
+ my $message=shift;
+
+ print $header;
+ print $message;
+
+ # Internet Explod^Hrer won't show custom 404 responses
+ # unless they're >= 512 bytes
+ print ' ' x 512;
+
+ exit;
+}
+
sub check_banned ($$) {
my $q=shift;
my $session=shift;
@@ -236,14 +250,11 @@ sub check_banned ($$) {
my $name=$session->param("name");
if (defined $name) {
if (grep { $name eq $_ } @{$config{banned_users}}) {
- print $q->header(-status => "403 Forbidden");
$session->delete();
- print gettext("You are banned.");
- # Internet Explorer won't show custom 404 responses
- # unless they're >= 512 bytes
- print " " x 512;
cgi_savesession($session);
- exit;
+ cgi_custom_failure(
+ $q->header(-status => "403 Forbidden"),
+ gettext("You are banned."));
}
}
}
diff --git a/IkiWiki/Plugin/goto.pm b/IkiWiki/Plugin/goto.pm
index 9e7a2621f..7cc8cb484 100644
--- a/IkiWiki/Plugin/goto.pm
+++ b/IkiWiki/Plugin/goto.pm
@@ -44,15 +44,14 @@ sub cgi_goto ($;$) {
my $link = bestlink("", $page);
if (! length $link) {
- print $q->header(-status => "404 Not Found");
- print IkiWiki::misctemplate(gettext("missing page"),
- "
".
- sprintf(gettext("The page %s does not exist."),
- htmllink("", "", $page)).
- "
".
- # Internet Explorer won't show custom 404 responses
- # unless they're >= 512 bytes
- (" " x 512));
+ IkiWiki::cgi_custom_failure(
+ $q->header(-status => "404 Not Found"),
+ IkiWiki::misctemplate(gettext("missing page"),
+ "
".
+ sprintf(gettext("The page %s does not exist."),
+ htmllink("", "", $page)).
+ "
--
cgit v1.2.3
From 3dd796e6377d20cd3ecd63ee486aa4933fa1baee Mon Sep 17 00:00:00 2001
From: Svend Sorensen
Date: Thu, 5 Feb 2009 13:03:32 -0800
Subject: Add wishlist
---
doc/todo/RecentChanges_page_links_without_cgi_wrapper.mdwn | 5 +++++
1 file changed, 5 insertions(+)
create mode 100644 doc/todo/RecentChanges_page_links_without_cgi_wrapper.mdwn
diff --git a/doc/todo/RecentChanges_page_links_without_cgi_wrapper.mdwn b/doc/todo/RecentChanges_page_links_without_cgi_wrapper.mdwn
new file mode 100644
index 000000000..164d12f12
--- /dev/null
+++ b/doc/todo/RecentChanges_page_links_without_cgi_wrapper.mdwn
@@ -0,0 +1,5 @@
+Links to the changed page on RecentChanges only show up if the cgi wrapper is
+enabled. It would be nice if links were also generated on wikis that do not use
+the cgi. [[svend]]
+
+[[!tag wishlist]]
--
cgit v1.2.3
From c8ca79a403bbab14fe19b01b8a2526f187a9abc6 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Thu, 5 Feb 2009 16:10:30 -0500
Subject: response
---
...ecentChanges_page_links_without_cgi_wrapper.mdwn | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/doc/todo/RecentChanges_page_links_without_cgi_wrapper.mdwn b/doc/todo/RecentChanges_page_links_without_cgi_wrapper.mdwn
index 164d12f12..b37109032 100644
--- a/doc/todo/RecentChanges_page_links_without_cgi_wrapper.mdwn
+++ b/doc/todo/RecentChanges_page_links_without_cgi_wrapper.mdwn
@@ -2,4 +2,25 @@ Links to the changed page on RecentChanges only show up if the cgi wrapper is
enabled. It would be nice if links were also generated on wikis that do not use
the cgi. [[svend]]
+> It would be, but doing so would make updating the recentchanges page for
+> each commit a lot slower, or would result in there often being broken
+> links there.
+>
+> The broken links would happen if a page is removed.
+>
+> The speed issue is that currently each individual change in the
+> recentchanges page is built just once, when the change is made, and the
+> html for it is reused thereafter. To avoid broken links, it would need to
+> regenerate each change's html on each commit. That's 100x the overhead.
+> (Perhaps it's possible to be smarter about which need generation tho.)
+>
+> The best way to approach this that I can see ATM is to use the
+> [[plugins/404]] plugin to handle the broken links and then recentchanges
+> could avoid explicitly using the CGI. But this doesn't meet your use case
+> of having no CGI.
+>
+> If you're willing to live with broken links to removed pages, I suppose
+> that could be made an option..
+> --[[Joey]]
+
[[!tag wishlist]]
--
cgit v1.2.3
From af5758049140265b22c17375ee195f6dcfbffa7b Mon Sep 17 00:00:00 2001
From: "http://taozhyn.myopenid.com/"
Date: Fri, 6 Feb 2009 14:36:04 -0500
Subject:
---
doc/plugins/tag/discussion.mdwn | 97 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 97 insertions(+)
diff --git a/doc/plugins/tag/discussion.mdwn b/doc/plugins/tag/discussion.mdwn
index 7e7b88bc5..e478ec564 100644
--- a/doc/plugins/tag/discussion.mdwn
+++ b/doc/plugins/tag/discussion.mdwn
@@ -22,3 +22,100 @@ AOLMODE=true echo "I too would really like this feature, which would make cgi fr
better" --[[DavidBremner]]
Please make the actual text used a template some way or another. I may want `map` instead of `inline`. --[[madduck]]
+
+---
+
+I have create a patch to tag.pm for add the option for auto create tag pages.
+A new setting is used to enable or disable auto-create tag pages, `tag_autocreate`.
+The new tag file is created during the preprocess phase.
+The new tag file is then complied during the change phase.
+
+ --- tag.pm 2009-02-06 10:26:03.000000000 -0700
+ +++ tag_new.pm 2009-02-06 12:17:19.000000000 -0700
+ @@ -14,6 +14,7 @@
+ hook(type => "preprocess", id => "tag", call => \&preprocess_tag, scan => 1);
+ hook(type => "preprocess", id => "taglink", call => \&preprocess_taglink, scan => 1);
+ hook(type => "pagetemplate", id => "tag", call => \&pagetemplate);
+ + hook(type => "change", id => "tag", call => \&change);
+ }
+
+ sub getopt () {
+ @@ -36,6 +37,36 @@
+ safe => 1,
+ rebuild => 1,
+ },
+ + tag_autocreate => {
+ + type => "boolean",
+ + example => 0,
+ + description => "Auto-create the new tag pages, uses autotagpage.tmpl ",
+ + safe => 1,
+ + rebulid => 1,
+ + },
+ +}
+ +
+ +my $autocreated_page = 0;
+ +
+ +sub gen_tag_page($) {
+ + my $tag=shift;
+ +
+ + my $tag_file=$tag.'.'.$config{default_pageext};
+ + return if (-f $config{srcdir}.$tag_file);
+ +
+ + my $template=template("autotagpage.tmpl");
+ + $template->param(tag => $tag);
+ + writefile($tag_file, $config{srcdir}, $template->output);
+ + $autocreated_page = 1;
+ +
+ + if ($config{rcs}) {
+ + IkiWiki::disable_commit_hook();
+ + IkiWiki::rcs_add($tag_file);
+ + IkiWiki::rcs_commit_staged(
+ + gettext("Automatic tag page generation"),
+ + undef, undef);
+ + IkiWiki::enable_commit_hook();
+ + }
+ }
+
+ sub tagpage ($) {
+ @@ -47,6 +78,10 @@
+ $tag=~y#/#/#s; # squash dups
+ }
+
+ + if (defined $config{tag_autocreate} && $config{tag_autocreate} ) {
+ + gen_tag_page($tag);
+ + }
+ +
+ return $tag;
+ }
+
+ @@ -125,4 +160,18 @@
+ }
+ }
+
+ +sub change(@) {
+ + return unless($autocreated_page);
+ + $autocreated_page = 0;
+ +
+ + # This refresh/saveindex is to complie the autocreated tag pages
+ + IkiWiki::refresh();
+ + IkiWiki::saveindex();
+ +
+ + # This refresh/saveindex is to fix the Tags link
+ + # With out this additional refresh/saveindex the tag link displays ?tag
+ + IkiWiki::refresh();
+ + IkiWiki::saveindex();
+ +}
+ +
+
+
+This uses a template called `autotagpage.tmpl`, here is my template file:
+
+ \[[!inline pages="link()" archive="yes"]]
+
+
+A quirk I have not figured out is during the `sub change`, see my comments in the code.
+I am not sure if that is the best way to handle it.
+
+[[!tag patch]]
+-- Jeremy Schultz
+
--
cgit v1.2.3
From fd94834c72f0682001603d01dda659ea4a4d8792 Mon Sep 17 00:00:00 2001
From: cfm
Date: Fri, 6 Feb 2009 20:08:47 -0500
Subject: Filed.
---
doc/bugs/PNG_triggers_UTF-8_error_in_MimeInfo.pm.mdwn | 5 +++++
1 file changed, 5 insertions(+)
create mode 100644 doc/bugs/PNG_triggers_UTF-8_error_in_MimeInfo.pm.mdwn
diff --git a/doc/bugs/PNG_triggers_UTF-8_error_in_MimeInfo.pm.mdwn b/doc/bugs/PNG_triggers_UTF-8_error_in_MimeInfo.pm.mdwn
new file mode 100644
index 000000000..e9aba88cc
--- /dev/null
+++ b/doc/bugs/PNG_triggers_UTF-8_error_in_MimeInfo.pm.mdwn
@@ -0,0 +1,5 @@
+When including a PNG image in a blog, [[ikiwiki/directive/inline]] directives throw an error:
+
+> \[[!inline Error: Malformed UTF-8 character (fatal) at /usr/local/lib/perl5/site_perl/5.8.8/File/MimeInfo.pm line 120.]]
+
+Individual posts display fine.
--
cgit v1.2.3
From f444d1206a75e597f65092e12dfbb061caa34ebd Mon Sep 17 00:00:00 2001
From: "http://www.cse.unsw.edu.au/~willu/"
Date: Sat, 7 Feb 2009 05:47:32 -0500
Subject: Note todo with patch attached to solve listed problem
---
doc/plugins/contrib/sourcehighlight.mdwn | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/doc/plugins/contrib/sourcehighlight.mdwn b/doc/plugins/contrib/sourcehighlight.mdwn
index df480f325..07ac2086f 100644
--- a/doc/plugins/contrib/sourcehighlight.mdwn
+++ b/doc/plugins/contrib/sourcehighlight.mdwn
@@ -10,7 +10,9 @@ where foo and bar are the (source-supported) languages you want to
highlight
### Issues
-- I would like to have a link to the raw source; using will_render() and then copying the file should work.
+- I would like to have a link to the raw source; using will_render() and then copying the file should work.
+
+> You might also like to look at the [[todo/source_link]] todo. -- [[Will]]
- Is there a way to configure the colors used by source-highlight (other than editing the globally installed "default.style" file)? It would help if I could pass the command arbitrary command-line arguments; then I could configure which config file it's supposed to use. For instance, I'm not a fan of hard-coding the colors into the HTML output. IMHO, css-style formatting should be preferred. All that can be set via the command line ... --Peter
--
cgit v1.2.3
From 9ad4065633a7ecab8c9b62edb0d0e3f5cd3813e0 Mon Sep 17 00:00:00 2001
From: "http://www.cse.unsw.edu.au/~willu/"
Date: Sat, 7 Feb 2009 05:56:18 -0500
Subject: Ask for more detail with issue
---
.../discussion.mdwn | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/doc/todo/automatic_use_of_syntax_plugin_on_source_code_files/discussion.mdwn b/doc/todo/automatic_use_of_syntax_plugin_on_source_code_files/discussion.mdwn
index 59c1a245b..a998afa77 100644
--- a/doc/todo/automatic_use_of_syntax_plugin_on_source_code_files/discussion.mdwn
+++ b/doc/todo/automatic_use_of_syntax_plugin_on_source_code_files/discussion.mdwn
@@ -8,6 +8,9 @@ Updated to use fix noted in [[bugs/multiple_pages_with_same_name]].
I was trying to replace sourcehighlight with sourcecode. I had to modify the
htmlize call slightly so that it would work in a format directive.
([modified version](http://pivot.cs.unb.ca/git/?p=ikiplugins.git;a=blob_plain;f=IkiWiki/Plugin/sourcecode.pm;hb=21fc57091edb9))
+
+> I haven't tested them, but those changes look sensible to me. -- [[Will]]
+
I hit a wall the following example (the last commit in the above repo).
\[[!meta title="Solutions to assignment 1"]]
@@ -17,6 +20,9 @@ I hit a wall the following example (the last commit in the above repo).
"""]]
+> I haven't actually tested this to see what the problem is. How does this fail?
+> Does source-highlight barf on the non-c++ content? Is there a wiki URL that shows the failure? -- [[Will]]
+
----
#!/usr/bin/perl
--
cgit v1.2.3
From f8d24df4c40dc958649aafeb6646d876f290dbb7 Mon Sep 17 00:00:00 2001
From: "http://jcftang.myopenid.com/"
Date: Sat, 7 Feb 2009 06:11:37 -0500
Subject:
---
doc/ikiwikiusers.mdwn | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/ikiwikiusers.mdwn b/doc/ikiwikiusers.mdwn
index 7ce4c3895..7003294a9 100644
--- a/doc/ikiwikiusers.mdwn
+++ b/doc/ikiwikiusers.mdwn
@@ -40,6 +40,7 @@ Projects
* [The Walden Effect](http://www.waldeneffect.org/)
* The [Fortran Wiki](http://fortranwiki.org/)
* [Monotone](http://monotone.ca/wiki/FrontPage/)
+* The support pages for [Trinity Centre for High Performance Computing](http://www.tchpc.tcd.ie/support/)
Personal sites and blogs
========================
--
cgit v1.2.3
From 3aab99fae5f7681154a35a3e75d8e225424e2d8b Mon Sep 17 00:00:00 2001
From: "http://weakish.int.eu.org/"
Date: Sat, 7 Feb 2009 14:19:28 -0500
Subject: --post-commit won't delete pages and --refresh seems no deadlock
---
doc/todo/mercurial.mdwn | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/doc/todo/mercurial.mdwn b/doc/todo/mercurial.mdwn
index f0dbf9806..c0af10719 100644
--- a/doc/todo/mercurial.mdwn
+++ b/doc/todo/mercurial.mdwn
@@ -29,6 +29,25 @@ This should update the working directory and run ikiwiki every time a change is
> It can deadlock if the post-commit hook runs with --refresh in the
> former case. --[[Joey]]
+The problem with --post-commit is that if you delete some pages in $SRC, ikiwiki --setup setupfile --post-commit will not delete them in $DEST.
+
+I add the following to .hg/hgrc:
+
+ [hooks]
+ changegroup = hg update >&2 && ikiwiki --setup path.to.setup.file --refresh
+ post-commit = ikiwiki --setup path.to.setup.file --refresh
+
+I tried the follwing commands in $SRC:
+
+ touch deadlocktest.mdwn
+ hg add
+ hg ci
+
+No deadlock happens. (Also I push to the $SRC from another machine, again, no deadlock.)
+
+Of course these tests are too simple. The problem is I have no idea when the deadlock will happen. If someone is kind enough to point out, I will run more test.
+
+
***
I have a few notes on mercurial usage after trying it out for a while:
--
cgit v1.2.3
From 2cc6a07f5492912f35d103bcc57753f21ee09ecf Mon Sep 17 00:00:00 2001
From: "http://weakish.int.eu.org/"
Date: Sat, 7 Feb 2009 14:22:01 -0500
Subject: (tiny) markdown syntax
---
doc/todo/mercurial.mdwn | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/doc/todo/mercurial.mdwn b/doc/todo/mercurial.mdwn
index c0af10719..26888131e 100644
--- a/doc/todo/mercurial.mdwn
+++ b/doc/todo/mercurial.mdwn
@@ -33,15 +33,15 @@ The problem with --post-commit is that if you delete some pages in $SRC, ikiwiki
I add the following to .hg/hgrc:
- [hooks]
- changegroup = hg update >&2 && ikiwiki --setup path.to.setup.file --refresh
- post-commit = ikiwiki --setup path.to.setup.file --refresh
+ [hooks]
+ changegroup = hg update >&2 && ikiwiki --setup path.to.setup.file --refresh
+ post-commit = ikiwiki --setup path.to.setup.file --refresh
I tried the follwing commands in $SRC:
- touch deadlocktest.mdwn
- hg add
- hg ci
+ touch deadlocktest.mdwn
+ hg add
+ hg ci
No deadlock happens. (Also I push to the $SRC from another machine, again, no deadlock.)
--
cgit v1.2.3
From dc0409b4a717da9926e618341cbd96ab1c4cb763 Mon Sep 17 00:00:00 2001
From: "http://weakish.int.eu.org/"
Date: Sat, 7 Feb 2009 14:49:06 -0500
Subject: I guess changegroup is better than incoming
---
doc/todo/mercurial.mdwn | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/doc/todo/mercurial.mdwn b/doc/todo/mercurial.mdwn
index 26888131e..9635b6880 100644
--- a/doc/todo/mercurial.mdwn
+++ b/doc/todo/mercurial.mdwn
@@ -31,7 +31,7 @@ This should update the working directory and run ikiwiki every time a change is
The problem with --post-commit is that if you delete some pages in $SRC, ikiwiki --setup setupfile --post-commit will not delete them in $DEST.
-I add the following to .hg/hgrc:
+I add the following to .hg/hgrc:(I use changegroup since I don't think we need refresh per changeset, please point out if I am wrong.)
[hooks]
changegroup = hg update >&2 && ikiwiki --setup path.to.setup.file --refresh
@@ -43,7 +43,9 @@ I tried the follwing commands in $SRC:
hg add
hg ci
-No deadlock happens. (Also I push to the $SRC from another machine, again, no deadlock.)
+No deadlock happens. (Also I push to the $SRC from another machine, again, no deadlock. If there is conflicts between $SRC and my own repo, hg pull will abort. You have to pull, merge and push again.)
+
+
Of course these tests are too simple. The problem is I have no idea when the deadlock will happen. If someone is kind enough to point out, I will run more test.
--
cgit v1.2.3
From 8ed097beb1e01e7cb6530650277b62645e848d4e Mon Sep 17 00:00:00 2001
From: "http://weakish.int.eu.org/"
Date: Sun, 8 Feb 2009 07:59:09 -0500
Subject: add item
---
doc/ikiwikiusers.mdwn | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/ikiwikiusers.mdwn b/doc/ikiwikiusers.mdwn
index 7003294a9..dd9fb01f3 100644
--- a/doc/ikiwikiusers.mdwn
+++ b/doc/ikiwikiusers.mdwn
@@ -110,6 +110,7 @@ Personal sites and blogs
* [[Simon_McVittie|smcv]]'s [website](http://www.pseudorandom.co.uk/) and
[blog](http://smcv.pseudorandom.co.uk/)
* Svend's [website](http://www.ciffer.net/~svend/) and [blog](http://www.ciffer.net/~svend/blog/)
+* [Pigro Network](http://www.pigro.net) is running a hg based ikiwiki. (And provides ikiwiki hosting for $10/m.)
Schools
=======
--
cgit v1.2.3
From 73b168079a32123b2b6979772fbe611d4dc580a7 Mon Sep 17 00:00:00 2001
From: cfm
Date: Sun, 8 Feb 2009 11:18:51 -0500
Subject: Expanded report to mention PageSpec and workaround.
---
doc/bugs/PNG_triggers_UTF-8_error_in_MimeInfo.pm.mdwn | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/bugs/PNG_triggers_UTF-8_error_in_MimeInfo.pm.mdwn b/doc/bugs/PNG_triggers_UTF-8_error_in_MimeInfo.pm.mdwn
index e9aba88cc..041f63a62 100644
--- a/doc/bugs/PNG_triggers_UTF-8_error_in_MimeInfo.pm.mdwn
+++ b/doc/bugs/PNG_triggers_UTF-8_error_in_MimeInfo.pm.mdwn
@@ -1,5 +1,5 @@
-When including a PNG image in a blog, [[ikiwiki/directive/inline]] directives throw an error:
+If a PNG image matches the [[ikiwiki/PageSpec]] of an [[ikiwiki/directive/inline]] directive, the page throws the following error:
> \[[!inline Error: Malformed UTF-8 character (fatal) at /usr/local/lib/perl5/site_perl/5.8.8/File/MimeInfo.pm line 120.]]
-Individual posts display fine.
+Individual posts display fine, and moving the offending image outside the scope of the [[ikiwiki/directive/inline]] directive's PageSpec eliminates the error.
--
cgit v1.2.3
From 1de639aded7ca8d7b9ecd200351ad04a3dd08446 Mon Sep 17 00:00:00 2001
From: "http://dmarti.myopenid.com/"
Date: Sun, 8 Feb 2009 13:32:12 -0500
Subject: fix typo
---
doc/tips/github.mdwn | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/tips/github.mdwn b/doc/tips/github.mdwn
index cd1b479d1..974d572f1 100644
--- a/doc/tips/github.mdwn
+++ b/doc/tips/github.mdwn
@@ -1,5 +1,5 @@
Here's how to set up a static wiki or blog using ikiwiki with no hosting
-feeds. Everything is hosted on github, both the git repository and the web
+fees. Everything is hosted on github, both the git repository and the web
site. Your laptop is used to generate and publish changes to it.
This is possible because github now supports
--
cgit v1.2.3
From cdf7dcfc6ed392de4f4b8a3b2f95f121435ebacf Mon Sep 17 00:00:00 2001
From: muammar
Date: Sun, 8 Feb 2009 21:58:45 -0500
Subject:
---
doc/ikiwikiusers.mdwn | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/ikiwikiusers.mdwn b/doc/ikiwikiusers.mdwn
index dd9fb01f3..7f196909d 100644
--- a/doc/ikiwikiusers.mdwn
+++ b/doc/ikiwikiusers.mdwn
@@ -111,6 +111,7 @@ Personal sites and blogs
[blog](http://smcv.pseudorandom.co.uk/)
* Svend's [website](http://www.ciffer.net/~svend/) and [blog](http://www.ciffer.net/~svend/blog/)
* [Pigro Network](http://www.pigro.net) is running a hg based ikiwiki. (And provides ikiwiki hosting for $10/m.)
+* [muammar's site](http://muammar.me)
Schools
=======
--
cgit v1.2.3
From aedc7ba9800e94b162d3459ac023365ba7df3cfd Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Mon, 9 Feb 2009 14:23:10 -0500
Subject: reorg
---
doc/ikiwikiusers.mdwn | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/doc/ikiwikiusers.mdwn b/doc/ikiwikiusers.mdwn
index 7f196909d..f7a4cfca7 100644
--- a/doc/ikiwikiusers.mdwn
+++ b/doc/ikiwikiusers.mdwn
@@ -1,5 +1,5 @@
-Projects
-========
+Projects & Organizations
+========================
* [This wiki](http://ikiwiki.info) (of course!)
* [Planet Debian upstream](http://updo.debian.net/)
@@ -41,6 +41,8 @@ Projects
* The [Fortran Wiki](http://fortranwiki.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 Primary School in Surrey](http://hugh.vm.bytemark.co.uk/)
+* [Pigro Network](http://www.pigro.net) is running a hg based ikiwiki. (And provides ikiwiki hosting for $10/m.)
Personal sites and blogs
========================
@@ -110,13 +112,9 @@ Personal sites and blogs
* [[Simon_McVittie|smcv]]'s [website](http://www.pseudorandom.co.uk/) and
[blog](http://smcv.pseudorandom.co.uk/)
* Svend's [website](http://www.ciffer.net/~svend/) and [blog](http://www.ciffer.net/~svend/blog/)
-* [Pigro Network](http://www.pigro.net) is running a hg based ikiwiki. (And provides ikiwiki hosting for $10/m.)
* [muammar's site](http://muammar.me)
-Schools
-=======
-* [St Hugh of Lincoln Primary School in Surrey](http://hugh.vm.bytemark.co.uk/)
-
+
Please feel free to add your own ikiwiki site!
See also: [Debian ikiwiki popcon graph](http://popcon.debian.org/~igloo/popcon-graphs/index.php?packages=ikiwiki)
--
cgit v1.2.3
From 6b41a240969d8e5b043f811c1d471402746ff0a5 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Mon, 9 Feb 2009 14:34:24 -0500
Subject: seems to be fixed in current File::MimeInfo versions
---
.../PNG_triggers_UTF-8_error_in_MimeInfo.pm.mdwn | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/doc/bugs/PNG_triggers_UTF-8_error_in_MimeInfo.pm.mdwn b/doc/bugs/PNG_triggers_UTF-8_error_in_MimeInfo.pm.mdwn
index 041f63a62..0a1299993 100644
--- a/doc/bugs/PNG_triggers_UTF-8_error_in_MimeInfo.pm.mdwn
+++ b/doc/bugs/PNG_triggers_UTF-8_error_in_MimeInfo.pm.mdwn
@@ -3,3 +3,23 @@ If a PNG image matches the [[ikiwiki/PageSpec]] of an [[ikiwiki/directive/inline
> \[[!inline Error: Malformed UTF-8 character (fatal) at /usr/local/lib/perl5/site_perl/5.8.8/File/MimeInfo.pm line 120.]]
Individual posts display fine, and moving the offending image outside the scope of the [[ikiwiki/directive/inline]] directive's PageSpec eliminates the error.
+
+> I tried to reproduce this with a random png and File::MimeInfo
+> version 0.15, but could not. The png was included in the generated feed
+> via an enclosure, as it should be; no warnings or errors.
+>
+> Looking at the source to File::MimeInfo and its changelog,
+> I'm pretty sure that this problem was fixed in version
+> 0.14:
+>> - Fixed bug with malformed utf8 chars in default() method
+>
+> The code involved in that fix looks like this:
+>
+>> no warnings; # warnings can be thrown when input not ascii
+>> if ($] < 5.008 or ! utf8::valid($line)) {
+>> use bytes; # avoid invalid utf8 chars
+>
+> I guess that your locally installed version of File::MimeInfo is older than
+> this. So closing this bug [[done]]. If you still see the problem with a current
+> version of File::MimeInfo, please reopen and include where I can get a png file
+> that triggers the problem. --[[Joey]]
--
cgit v1.2.3
From 6605764c523787141272fe83c3d46a65aea7649d Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Mon, 9 Feb 2009 14:58:10 -0500
Subject: Fix unusual --setup --post-commit command line option combo.
---
debian/changelog | 1 +
doc/todo/mercurial.mdwn | 25 +++++++++++++++++++++++++
ikiwiki.in | 6 ++++--
3 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index c9878c719..d2b701db7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ ikiwiki (3.04) UNRELEASED; urgency=low
* Work around XML::Atom strangeness that results in double-encoded posts.
(smcv)
* Updated German translation (Kai Wasserbäch). Closes: #514251
+ * Fix unusual --setup --post-commit command line option combo.
-- Joey Hess Sat, 31 Jan 2009 19:04:45 -0500
diff --git a/doc/todo/mercurial.mdwn b/doc/todo/mercurial.mdwn
index 9635b6880..e45629102 100644
--- a/doc/todo/mercurial.mdwn
+++ b/doc/todo/mercurial.mdwn
@@ -31,6 +31,13 @@ This should update the working directory and run ikiwiki every time a change is
The problem with --post-commit is that if you delete some pages in $SRC, ikiwiki --setup setupfile --post-commit will not delete them in $DEST.
+> You should really be using a setup file that has `mercurial_wrapper`
+> set, and running the wrapper generated by that from your hook.
+> That will work. I think that the `--setup --post-commit` on the command
+> line is currently broken and does the same expensive rebuild process as --setup
+> alone (which doesn't delete files from $DEST either). Will fix that.
+> --[[Joey]]
+
I add the following to .hg/hgrc:(I use changegroup since I don't think we need refresh per changeset, please point out if I am wrong.)
[hooks]
@@ -49,6 +56,24 @@ No deadlock happens. (Also I push to the $SRC from another machine, again, no d
Of course these tests are too simple. The problem is I have no idea when the deadlock will happen. If someone is kind enough to point out, I will run more test.
+> For the deadlock to occur, a edit has to be made via the web.
+>
+> Ikiwiki,
+> running as a CGI, takes a lock on the wiki, and commits the edit,
+> continuing to run in the background, with the lock still held.
+> When the edit is committed, the hg hook runs, running `ikwiki --refresh`.
+> Nearly the first thing that process does it try to lock the wiki..
+> which is already locked. This lock is taken in a blocking manner,
+> thus the deadlock -- the cgi is waiting for the commit to finish before
+> dropping the lock, and the commit is blocked waiting for the lock to be
+> released.
+>
+> --post-commit avoids this problem by checking if the cgi is running
+> and avoiding doing anything in that case. (While still handing the
+> refresh if the commit was not made by the CGI.)
+> So in that case, the commit finishes w/o ikiwiki doing anything,
+> and the ikiwiki CGI handles the wiki refresh.
+> --[[Joey]]
***
diff --git a/ikiwiki.in b/ikiwiki.in
index 32a24af84..c79a2bfef 100755
--- a/ikiwiki.in
+++ b/ikiwiki.in
@@ -135,7 +135,8 @@ sub main () {
if (@{$config{wrappers}} &&
! $config{render} && ! $config{dumpsetup} &&
- (! $config{refresh} || $config{genwrappers})) {
+ ((! $config{refresh} && ! $config{post_commit})
+ || $config{genwrappers})) {
debug(gettext("generating wrappers.."));
require IkiWiki::Wrapper;
my %origconfig=(%config);
@@ -157,7 +158,8 @@ sub main () {
}
# setup implies a wiki rebuild by default
- if (! $config{refresh} && ! $config{render}) {
+ if (! $config{refresh} && ! $config{render} &&
+ ! $config{post_commit}) {
$config{rebuild}=1;
}
}
--
cgit v1.2.3
From badc6c229f47964f5750a55a26204d847b33b32a Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Mon, 9 Feb 2009 15:13:12 -0500
Subject: Create any missing directory necessary to put the wrapper file into.
Closes: #514384
---
IkiWiki/Wrapper.pm | 5 +----
debian/changelog | 2 ++
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/IkiWiki/Wrapper.pm b/IkiWiki/Wrapper.pm
index 7b54caf99..6555fe625 100644
--- a/IkiWiki/Wrapper.pm
+++ b/IkiWiki/Wrapper.pm
@@ -93,10 +93,7 @@ EOF
$configstring=~s/"/\\"/g;
$configstring=~s/\n/\\n/g;
- #translators: The first parameter is a filename, and the second is
- #translators: a (probably not translated) error message.
- open(OUT, ">$wrapper.c") || error(sprintf(gettext("failed to write %s: %s"), "$wrapper.c", $!));
- print OUT <<"EOF";
+ writefile(basename("$wrapper.c"), dirname($wrapper), <<"EOF");
/* A wrapper for ikiwiki, can be safely made suid. */
#include
#include
diff --git a/debian/changelog b/debian/changelog
index d2b701db7..294d23197 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ ikiwiki (3.04) UNRELEASED; urgency=low
(smcv)
* Updated German translation (Kai Wasserbäch). Closes: #514251
* Fix unusual --setup --post-commit command line option combo.
+ * Create any missing directory necessary to put the wrapper
+ file into. Closes: #514384
-- Joey Hess Sat, 31 Jan 2009 19:04:45 -0500
--
cgit v1.2.3
From 9a84181ad9bbef5bdc4a9ecb3160994f79d8b9cb Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Mon, 9 Feb 2009 16:04:33 -0500
Subject: document writefile symlink checks
---
doc/plugins/write.mdwn | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn
index 99eea3d16..1a119b99b 100644
--- a/doc/plugins/write.mdwn
+++ b/doc/plugins/write.mdwn
@@ -629,6 +629,16 @@ A failure to write the file will result in it dying with an error.
If the destination directory doesn't exist, it will first be created.
+The filename and directory are separate parameters because of
+some security checks done to avoid symlink attacks. Before writing a file,
+it checks to make sure there's not a symlink with its name, to avoid
+following the symlink. If the filename parameter includes a subdirectory
+to put the file in, it also checks if that subdirectory is a symlink, etc.
+The directory parameter, however, is not checked for symlinks. So,
+generally the directory parameter is a trusted toplevel directory like
+the srcdir or destdir, and any subdirectories of this are included in the
+filename parameter.
+
#### `will_render($$)`
Given a page name and a destination file name (not including the base
--
cgit v1.2.3
From ff5d52b0d2dc025cedadb3b9d06f46e8954d7a38 Mon Sep 17 00:00:00 2001
From: "http://weakish.int.eu.org/"
Date: Tue, 10 Feb 2009 04:38:14 -0500
Subject: del wrong hook & ikiwiki --post-commit --a-lot-of-switches
---
doc/todo/mercurial.mdwn | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/doc/todo/mercurial.mdwn b/doc/todo/mercurial.mdwn
index e45629102..2f844db03 100644
--- a/doc/todo/mercurial.mdwn
+++ b/doc/todo/mercurial.mdwn
@@ -29,7 +29,7 @@ This should update the working directory and run ikiwiki every time a change is
> It can deadlock if the post-commit hook runs with --refresh in the
> former case. --[[Joey]]
-The problem with --post-commit is that if you delete some pages in $SRC, ikiwiki --setup setupfile --post-commit will not delete them in $DEST.
+The problem with --post-commit is that if you delete some pages in $SRC, ikiwiki --setup setupfile --post-commit will not delete them in $DEST. --[[weakish]]
> You should really be using a setup file that has `mercurial_wrapper`
> set, and running the wrapper generated by that from your hook.
@@ -38,23 +38,23 @@ The problem with --post-commit is that if you delete some pages in $SRC, ikiwiki
> alone (which doesn't delete files from $DEST either). Will fix that.
> --[[Joey]]
+>> Mercurial doesn't support put hooks in .hg/hooks/* (like git). In Mercurial, the only way to run
+>> your own hooks is specifying them in the hgrc file. (Or write a new extension.)
+>> I guess use a very long command will work.
+>> (e.g. ikiwiki --post-commit --a-lot-of-switches --set var=value $SRC $DEST)
+>> (Fortunately ikiwiki supports --set var=value so without --setup works.)
+>>
+>> Alternative is always editing via cgi or pushing. Never work on the $SRC/repo directly.
+>> --[[weakish]]
+
I add the following to .hg/hgrc:(I use changegroup since I don't think we need refresh per changeset, please point out if I am wrong.)
[hooks]
changegroup = hg update >&2 && ikiwiki --setup path.to.setup.file --refresh
- post-commit = ikiwiki --setup path.to.setup.file --refresh
-
-I tried the follwing commands in $SRC:
-
- touch deadlocktest.mdwn
- hg add
- hg ci
-No deadlock happens. (Also I push to the $SRC from another machine, again, no deadlock. If there is conflicts between $SRC and my own repo, hg pull will abort. You have to pull, merge and push again.)
+
post-commit = ikiwiki --setup path.to.setup.file --refreshThis will cause deadlock! See bleow!
-
-
-Of course these tests are too simple. The problem is I have no idea when the deadlock will happen. If someone is kind enough to point out, I will run more test.
+I have no idea when the deadlock will happen. --[[weakish]]
> For the deadlock to occur, a edit has to be made via the web.
>
@@ -75,6 +75,7 @@ Of course these tests are too simple. The problem is I have no idea when the de
> and the ikiwiki CGI handles the wiki refresh.
> --[[Joey]]
+
***
I have a few notes on mercurial usage after trying it out for a while:
--
cgit v1.2.3
From 4004959dc21939cd6acbf21d317a201190bc15ed Mon Sep 17 00:00:00 2001
From: "http://weakish.int.eu.org/"
Date: Tue, 10 Feb 2009 04:40:37 -0500
Subject: add a email.
---
doc/todo/weakish.mdwn | 1 +
1 file changed, 1 insertion(+)
create mode 100644 doc/todo/weakish.mdwn
diff --git a/doc/todo/weakish.mdwn b/doc/todo/weakish.mdwn
new file mode 100644
index 000000000..ccd5665ad
--- /dev/null
+++ b/doc/todo/weakish.mdwn
@@ -0,0 +1 @@
+email: weakish@gmail.com
--
cgit v1.2.3
From b96bab0449d6f326a7e847fba3488100ad84bead Mon Sep 17 00:00:00 2001
From: "http://weakish.int.eu.org/"
Date: Tue, 10 Feb 2009 04:42:02 -0500
Subject: rename todo/weakish.mdwn to users/weakish.mdwn
---
doc/todo/weakish.mdwn | 1 -
doc/users/weakish.mdwn | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
delete mode 100644 doc/todo/weakish.mdwn
create mode 100644 doc/users/weakish.mdwn
diff --git a/doc/todo/weakish.mdwn b/doc/todo/weakish.mdwn
deleted file mode 100644
index ccd5665ad..000000000
--- a/doc/todo/weakish.mdwn
+++ /dev/null
@@ -1 +0,0 @@
-email: weakish@gmail.com
diff --git a/doc/users/weakish.mdwn b/doc/users/weakish.mdwn
new file mode 100644
index 000000000..ccd5665ad
--- /dev/null
+++ b/doc/users/weakish.mdwn
@@ -0,0 +1 @@
+email: weakish@gmail.com
--
cgit v1.2.3
From 12a72e758382c8efb9cdd6c66e06d9de094a4b29 Mon Sep 17 00:00:00 2001
From: "http://weakish.int.eu.org/"
Date: Tue, 10 Feb 2009 04:42:03 -0500
Subject: update for rename of todo/weakish.mdwn to users/weakish.mdwn
---
doc/todo/mercurial.mdwn | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/todo/mercurial.mdwn b/doc/todo/mercurial.mdwn
index 2f844db03..89f5337ab 100644
--- a/doc/todo/mercurial.mdwn
+++ b/doc/todo/mercurial.mdwn
@@ -29,7 +29,7 @@ This should update the working directory and run ikiwiki every time a change is
> It can deadlock if the post-commit hook runs with --refresh in the
> former case. --[[Joey]]
-The problem with --post-commit is that if you delete some pages in $SRC, ikiwiki --setup setupfile --post-commit will not delete them in $DEST. --[[weakish]]
+The problem with --post-commit is that if you delete some pages in $SRC, ikiwiki --setup setupfile --post-commit will not delete them in $DEST. --[[users/weakish]]
> You should really be using a setup file that has `mercurial_wrapper`
> set, and running the wrapper generated by that from your hook.
@@ -45,7 +45,7 @@ The problem with --post-commit is that if you delete some pages in $SRC, ikiwiki
>> (Fortunately ikiwiki supports --set var=value so without --setup works.)
>>
>> Alternative is always editing via cgi or pushing. Never work on the $SRC/repo directly.
->> --[[weakish]]
+>> --[[users/weakish]]
I add the following to .hg/hgrc:(I use changegroup since I don't think we need refresh per changeset, please point out if I am wrong.)
@@ -54,7 +54,7 @@ I add the following to .hg/hgrc:(I use changegroup since I don't think we need r
post-commit = ikiwiki --setup path.to.setup.file --refreshThis will cause deadlock! See bleow!
-I have no idea when the deadlock will happen. --[[weakish]]
+I have no idea when the deadlock will happen. --[[users/weakish]]
> For the deadlock to occur, a edit has to be made via the web.
>
--
cgit v1.2.3
From 42b16cf8f3fb82f3c66100df46f92a4cf4a51d1b Mon Sep 17 00:00:00 2001
From: "http://weakish.int.eu.org/"
Date: Tue, 10 Feb 2009 06:21:55 -0500
Subject: ikiwiki deb (3.0.3) doesn't suggests libtext-wikicreole-perl
---
doc/plugins/creole/discussion.mdwn | 2 ++
1 file changed, 2 insertions(+)
diff --git a/doc/plugins/creole/discussion.mdwn b/doc/plugins/creole/discussion.mdwn
index 36b7ba869..9d58fffbf 100644
--- a/doc/plugins/creole/discussion.mdwn
+++ b/doc/plugins/creole/discussion.mdwn
@@ -8,4 +8,6 @@ I've installed Text::WikiCreole 0.05 and enabled the plugin, but I get an error
>> I've added the patch to pkgsrc as well. Thanks. --[[schmonz]]
+>> Currently the creole plugin is included in ikiwiki but the ikiwiki deb (3.0.3) doesn't suggests libtext-wikicreole-perl. Why? --[[weakish]]
+
I'm moving over a really stinkingly old UseMod and creole seems the nearest match. I've worked out that Bare /Subpage links need to become \[\[Subpage\]\], and Top/Sub links need to be \[\[Top/Sub\]\] (or \[\[Top/Sub|Top/Sub\]\], to display in exactly the same way), but I'm stuck on generic hyperlinks. The creole cheat sheet says I should be able to do \[\[http://url.path/foo|LinkText\]\], but that comes out as a link to create the "linktext" page, and Markdown-style \[Link Text\](http://url.path/foo) just gets rendered as is. Any suggestions? --[[schmonz]]
--
cgit v1.2.3
From 2d989db76ae10552dc7406b23a9aceda167f4b1c Mon Sep 17 00:00:00 2001
From: "http://weakish.int.eu.org/"
Date: Tue, 10 Feb 2009 08:10:13 -0500
Subject: more details on ikiwiki directives
---
doc/plugins/creole.mdwn | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/doc/plugins/creole.mdwn b/doc/plugins/creole.mdwn
index c6491f754..6961e8d1d 100644
--- a/doc/plugins/creole.mdwn
+++ b/doc/plugins/creole.mdwn
@@ -13,4 +13,10 @@ wiki markup formats, so should be fairly easy to guess at. There is also a
Links are standard [[WikiLinks|ikiwiki/WikiLink]]. Links and
[[directives|ikiwiki/directive]] inside `{{{ }}}` blocks are still expanded,
-since this happens before the creole format is processed.
+since this happens before the creole format is processed. (You need to escape
+them manually, via \\\[[directives]], the ~ escaping of creole doesn't work on
+this.)
+
+The standard ikiwiki [[WikiLinks|ikiwiki/WikiLink]] is almost the same as Creole link, except that creole uses \[[pagename|description]] while ikiwiki uses \[[description|pagename]].
+
+
--
cgit v1.2.3
From fc2ec9255a0557ab461d933ad787cbe71aecf675 Mon Sep 17 00:00:00 2001
From: "http://weakish.int.eu.org/"
Date: Wed, 11 Feb 2009 01:56:01 -0500
Subject: add instruction of lighttpd
---
doc/plugins/404.mdwn | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/doc/plugins/404.mdwn b/doc/plugins/404.mdwn
index 8a7ccd7d6..ad332ee04 100644
--- a/doc/plugins/404.mdwn
+++ b/doc/plugins/404.mdwn
@@ -12,3 +12,9 @@ file:
(The path here needs to be whatever the path is to the ikiwiki.cgi from
the root of your web server.)
+
+Or put something like this in the wiki's Lighttpd (>=1.4.17) configuration file:
+
+ server.error-handler-404 = "/ikiwiki.cgi"
+
+
--
cgit v1.2.3
From 80781387fc5f0c797f6e1b8678db2f253af4b7f8 Mon Sep 17 00:00:00 2001
From: "http://weakish.int.eu.org/"
Date: Wed, 11 Feb 2009 03:08:33 -0500
Subject: [tiny] add a link to meta plugin page
---
...fault_content_for___42__copyright__42___and___42__license__42__.mdwn | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/plugins/contrib/default_content_for___42__copyright__42___and___42__license__42__.mdwn b/doc/plugins/contrib/default_content_for___42__copyright__42___and___42__license__42__.mdwn
index 3efc68418..adb414ffb 100644
--- a/doc/plugins/contrib/default_content_for___42__copyright__42___and___42__license__42__.mdwn
+++ b/doc/plugins/contrib/default_content_for___42__copyright__42___and___42__license__42__.mdwn
@@ -20,7 +20,7 @@ template variable somebody wants to use.
--[[bma]]
Copyright and license values are not "template values", they are values
-tracked by the meta plugin, and that various code compares and uses to fill
+tracked by the [[meta]] plugin, and that various code compares and uses to fill
out the templates. Something like varioki cannot do that. --[[Joey]]
Somewhat more detailed usage documentation would be appreciated. I tried to setup
--
cgit v1.2.3
From 1998b3c2d666461985131e6d24212035daee88eb Mon Sep 17 00:00:00 2001
From: "http://weakish.int.eu.org/"
Date: Wed, 11 Feb 2009 05:14:06 -0500
Subject: redirect automatically after rename
---
doc/todo/redirect_automatically_after_rename.mdwn | 10 ++++++++++
1 file changed, 10 insertions(+)
create mode 100644 doc/todo/redirect_automatically_after_rename.mdwn
diff --git a/doc/todo/redirect_automatically_after_rename.mdwn b/doc/todo/redirect_automatically_after_rename.mdwn
new file mode 100644
index 000000000..6a6d4f05f
--- /dev/null
+++ b/doc/todo/redirect_automatically_after_rename.mdwn
@@ -0,0 +1,10 @@
+In some wikis, (e.g. Mediawiki) after [[renaming|rename]]
+a page, the old page still exist but only redirect to the
+new page. This is convenient since external sites may
+have links pointing to the old url.
+
+If [[meta]] plugin is enabled, users can manually edit the
+page, and put in '\[[!meta redir=newpage]]', but this is
+not very convenient.
+
+
--
cgit v1.2.3
From 011a45229a52bd63426a0d2d056bfec874a81a2a Mon Sep 17 00:00:00 2001
From: "http://weakish.int.eu.org/"
Date: Wed, 11 Feb 2009 05:15:33 -0500
Subject: fix broken links
---
doc/todo/redirect_automatically_after_rename.mdwn | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/todo/redirect_automatically_after_rename.mdwn b/doc/todo/redirect_automatically_after_rename.mdwn
index 6a6d4f05f..1cbb824d2 100644
--- a/doc/todo/redirect_automatically_after_rename.mdwn
+++ b/doc/todo/redirect_automatically_after_rename.mdwn
@@ -1,9 +1,9 @@
-In some wikis, (e.g. Mediawiki) after [[renaming|rename]]
+In some wikis, (e.g. Mediawiki) after [[renaming|plugins/rename]]
a page, the old page still exist but only redirect to the
new page. This is convenient since external sites may
have links pointing to the old url.
-If [[meta]] plugin is enabled, users can manually edit the
+If [[plugins/meta]] plugin is enabled, users can manually edit the
page, and put in '\[[!meta redir=newpage]]', but this is
not very convenient.
--
cgit v1.2.3
From 4d25fce92a8c00951db9623eb98cf6e7de3c2121 Mon Sep 17 00:00:00 2001
From: "http://weakish.int.eu.org/"
Date: Wed, 11 Feb 2009 05:32:51 -0500
Subject: removed
---
doc/plugins/shortcut/discussion.mdwn | 1 -
1 file changed, 1 deletion(-)
delete mode 100644 doc/plugins/shortcut/discussion.mdwn
diff --git a/doc/plugins/shortcut/discussion.mdwn b/doc/plugins/shortcut/discussion.mdwn
deleted file mode 100644
index 8b1378917..000000000
--- a/doc/plugins/shortcut/discussion.mdwn
+++ /dev/null
@@ -1 +0,0 @@
-
--
cgit v1.2.3
From 5e2e95a516e7f967654108bbc4d8e9ab71a6820f Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Wed, 11 Feb 2009 12:29:39 -0500
Subject: doubled semicolons
---
IkiWiki/Plugin/graphviz.pm | 2 +-
IkiWiki/Plugin/sparkline.pm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/IkiWiki/Plugin/graphviz.pm b/IkiWiki/Plugin/graphviz.pm
index b43e96a73..32e994d6b 100644
--- a/IkiWiki/Plugin/graphviz.pm
+++ b/IkiWiki/Plugin/graphviz.pm
@@ -45,7 +45,7 @@ sub render_graph (\%) {
if (! -e "$config{destdir}/$dest") {
my $pid;
- my $sigpipe=0;;
+ my $sigpipe=0;
$SIG{PIPE}=sub { $sigpipe=1 };
$pid=open2(*IN, *OUT, "$params{prog} -Tpng");
diff --git a/IkiWiki/Plugin/sparkline.pm b/IkiWiki/Plugin/sparkline.pm
index 1ed65e5b7..458192695 100644
--- a/IkiWiki/Plugin/sparkline.pm
+++ b/IkiWiki/Plugin/sparkline.pm
@@ -130,7 +130,7 @@ sub preprocess (@) {
if (! -e "$config{destdir}/$fn") {
my $pid;
- my $sigpipe=0;;
+ my $sigpipe=0;
$SIG{PIPE}=sub { $sigpipe=1 };
$pid=open2(*IN, *OUT, "php");
--
cgit v1.2.3
From 1384235127c9597563ccd75593a57dda11027a91 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Wed, 11 Feb 2009 16:58:32 -0500
Subject: remove some old distro version stuff
---
doc/download.mdwn | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/doc/download.mdwn b/doc/download.mdwn
index 067938f87..507b250a5 100644
--- a/doc/download.mdwn
+++ b/doc/download.mdwn
@@ -10,12 +10,7 @@ Installation steps and requirements are listed on the [[install]] page.
## packages
-To install with apt, if using Debian (since 4.0), or Ubuntu (since 6.10):
-[[!template id=note text="""
-Note that Debian 4.0 and especially Ubuntu 6.10 contain older versions of
-ikiwiki, there have been lots of enhancements and bug fixes since those
-versions.
-"""]]
+To install with apt, if using Debian or Ubuntu:
apt-get install ikiwiki
--
cgit v1.2.3
From a7e119767ce0b042075fd8955599e30df13e290b Mon Sep 17 00:00:00 2001
From: "http://weakish.int.eu.org/"
Date: Thu, 12 Feb 2009 03:31:02 -0500
Subject: use shortcut with mdwn disabled
---
doc/plugins/shortcut/discussion.mdwn | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 doc/plugins/shortcut/discussion.mdwn
diff --git a/doc/plugins/shortcut/discussion.mdwn b/doc/plugins/shortcut/discussion.mdwn
new file mode 100644
index 000000000..d11639856
--- /dev/null
+++ b/doc/plugins/shortcut/discussion.mdwn
@@ -0,0 +1,16 @@
+The plugin somehow depends on [[mdwn]]. If you have
+disabled [[mdwn]], to get [[shortcut]] work, you need
+commit in a shortcuts.ext (ext is rcs|creole|html|txt|etc).
+
+Then edit the following lines in[[shortcut]] plugin source:
+
+ my $srcfile=srcfile("shortcuts.mdwn", 1);
+
+and
+
+ error(gettext("shortcut plugin will not work without a shortcuts.mdwn"));
+
+
+(It is better to edit a local copy of shortcut.pm in, say, ~/.ikiwiki/IkiWiki/Plugin
+and add ~/.ikiwiki to libdir in your ikiwiki.setup then edit the shortcut.pm installed
+in system directly.)
--
cgit v1.2.3
From 0826d993461c16c91de5d36ff4fc5b2e2bfd6f8c Mon Sep 17 00:00:00 2001
From: "http://weakish.int.eu.org/"
Date: Thu, 12 Feb 2009 03:33:20 -0500
Subject: typo
---
doc/plugins/shortcut/discussion.mdwn | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/plugins/shortcut/discussion.mdwn b/doc/plugins/shortcut/discussion.mdwn
index d11639856..8fa3f7acf 100644
--- a/doc/plugins/shortcut/discussion.mdwn
+++ b/doc/plugins/shortcut/discussion.mdwn
@@ -1,8 +1,8 @@
The plugin somehow depends on [[mdwn]]. If you have
disabled [[mdwn]], to get [[shortcut]] work, you need
-commit in a shortcuts.ext (ext is rcs|creole|html|txt|etc).
+commit in a shortcuts.ext (ext is `rcs|creole|html|txt|etc`).
-Then edit the following lines in[[shortcut]] plugin source:
+Then edit the following lines in [[shortcut]] plugin source:
my $srcfile=srcfile("shortcuts.mdwn", 1);
@@ -12,5 +12,5 @@ and
(It is better to edit a local copy of shortcut.pm in, say, ~/.ikiwiki/IkiWiki/Plugin
-and add ~/.ikiwiki to libdir in your ikiwiki.setup then edit the shortcut.pm installed
+and add ~/.ikiwiki to libdir in your ikiwiki.setup than edit the shortcut.pm installed
in system directly.)
--
cgit v1.2.3
From 978a3570dbec85376fc44a3e564079664f5c26e5 Mon Sep 17 00:00:00 2001
From: "http://weakish.int.eu.org/"
Date: Thu, 12 Feb 2009 05:08:58 -0500
Subject: warning about disable mdwn
---
doc/plugins/mdwn/discussion.mdwn | 11 +++++++++++
1 file changed, 11 insertions(+)
create mode 100644 doc/plugins/mdwn/discussion.mdwn
diff --git a/doc/plugins/mdwn/discussion.mdwn b/doc/plugins/mdwn/discussion.mdwn
new file mode 100644
index 000000000..9ebf99b7e
--- /dev/null
+++ b/doc/plugins/mdwn/discussion.mdwn
@@ -0,0 +1,11 @@
+Unlike other format, ikiwiki is somehow depends
+on mdwn, since the underlay dir
+is written in mdwn. If you want to disable mdwn,
+you need to overwrite the underlay
+dir (set underlaydir in ikiwiki.setup
+to your own underlay dir or replace underlay pages
+in your $SRC).
+
+Specially, the [[shortcut]] plugin is hardcoded to
+use shortcuts.mdwn. So you need pay more care if
+you [[use shortcut without mdwn|shortcut/discussion]].
--
cgit v1.2.3
From aa88d6beeff168b2bd56f90646dede7c89acc4ea Mon Sep 17 00:00:00 2001
From: "http://weakish.int.eu.org/"
Date: Thu, 12 Feb 2009 05:54:20 -0500
Subject: patch for shortcut.pm to use $default_pageext instead of hardcode
.mdwn.
---
doc/plugins/shortcut/discussion.mdwn | 31 +++++++++++++++++++++----------
1 file changed, 21 insertions(+), 10 deletions(-)
diff --git a/doc/plugins/shortcut/discussion.mdwn b/doc/plugins/shortcut/discussion.mdwn
index 8fa3f7acf..770c95836 100644
--- a/doc/plugins/shortcut/discussion.mdwn
+++ b/doc/plugins/shortcut/discussion.mdwn
@@ -1,16 +1,27 @@
-The plugin somehow depends on [[mdwn]]. If you have
+The plugin depends on [[mdwn]]. If you have
disabled [[mdwn]], to get [[shortcut]] work, you need
-commit in a shortcuts.ext (ext is `rcs|creole|html|txt|etc`).
+commit in a shortcuts.ext (ext is `rcs|creole|html|txt|etc`),
+and edit/patch [[shortcut]].
-Then edit the following lines in [[shortcut]] plugin source:
+Maybe use the $default_pageext is better than hardcode .mdwn?
- my $srcfile=srcfile("shortcuts.mdwn", 1);
+
+--- shortcut.pm.orig 2009-02-12 02:05:22.000000000 -0600
++++ shortcut.pm 2009-02-12 04:41:30.000000000 -0600
+@@ -23,9 +23,9 @@
+ if (defined $config{srcdir}) {
+ # Preprocess the shortcuts page to get all the available shortcuts
+ # defined before other pages are rendered.
+- my $srcfile=srcfile("shortcuts.mdwn", 1);
++ my $srcfile=srcfile("shortcuts.$config{default_pageext}", 1);
+ if (! defined $srcfile) {
+- error(gettext("shortcut plugin will not work without a shortcuts.mdwn"));
++ error(gettext("shortcut plugin will not work without a shortcuts.$config{default_pageext}"));
+ }
+ IkiWiki::preprocess("shortcuts", "shortcuts", readfile($srcfile));
+ }
+
-and
+--[[weakish]]
- error(gettext("shortcut plugin will not work without a shortcuts.mdwn"));
-
-(It is better to edit a local copy of shortcut.pm in, say, ~/.ikiwiki/IkiWiki/Plugin
-and add ~/.ikiwiki to libdir in your ikiwiki.setup than edit the shortcut.pm installed
-in system directly.)
--
cgit v1.2.3
From 40cb4aa5c022eb019670ef814da2c583d9be9d1f Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Thu, 12 Feb 2009 12:27:38 -0500
Subject: updated de.po
---
po/de.po | 64 ++++++++++++++++++++++++++++++++++++----------------------------
1 file changed, 36 insertions(+), 28 deletions(-)
diff --git a/po/de.po b/po/de.po
index aa85e7039..6978d61b0 100644
--- a/po/de.po
+++ b/po/de.po
@@ -4,9 +4,9 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: ikiwiki 3.02\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-12-26 21:41-0500\n"
+"Project-Id-Version: ikiwiki 3.03\n"
+"Report-Msgid-Bugs-To: ikiwiki@packages.debian.org\n"
+"POT-Creation-Date: 2009-01-17 18:19-0500\n"
"PO-Revision-Date: 2009-02-02 11:23+0100\n"
"Last-Translator: Kai Wasserbäch \n"
"Language-Team: German \n"
@@ -170,7 +170,19 @@ msgstr "Anhang hochladen"
msgid "automatic index generation"
msgstr "automatische Index-Erstellung"
-#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:260
+#: ../IkiWiki/Plugin/blogspam.pm:102
+msgid ""
+"Sorry, but that looks like spam to blogspam: "
+msgstr ""
+"Entschuldigung, aber blogspam stuft das "
+"als Spam ein: "
+
+#: ../IkiWiki/Plugin/blogspam.pm:105
+msgid "blogspam server failure: "
+msgstr "blogspam-Server-Fehler: "
+
+#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:296
#: ../IkiWiki/Plugin/inline.pm:354 ../IkiWiki/Plugin/opendiscussion.pm:26
#: ../IkiWiki/Plugin/orphans.pm:37 ../IkiWiki/Render.pm:79
#: ../IkiWiki/Render.pm:149
@@ -208,37 +220,36 @@ msgstr "fehlende Seite"
msgid "The page %s does not exist."
msgstr "Die Seite %s existiert nicht."
-#: ../IkiWiki/Plugin/comments.pm:343 ../IkiWiki/Plugin/editpage.pm:124
+#: ../IkiWiki/Plugin/comments.pm:343 ../IkiWiki/Plugin/editpage.pm:160
msgid "bad page name"
msgstr "fehlerhafter Seitenname"
-#: ../IkiWiki/Plugin/comments.pm:350
+#: ../IkiWiki/Plugin/comments.pm:348
#, perl-format
msgid "commenting on %s"
msgstr "kommentiere %s"
-#: ../IkiWiki/Plugin/comments.pm:368
+#: ../IkiWiki/Plugin/comments.pm:366
#, perl-format
msgid "page '%s' doesn't exist, so you can't comment"
msgstr ""
"Die Seite »%s« existiert nicht, deshalb können Sie sie nicht kommentieren."
-#: ../IkiWiki/Plugin/comments.pm:375
+#: ../IkiWiki/Plugin/comments.pm:373
#, perl-format
msgid "comments on page '%s' are closed"
-msgstr ""
-"Es können keine weitern Kommentare für die Seite »%s« abgegeben werden."
+msgstr "Es können keine weitern Kommentare für die Seite »%s« abgegeben werden."
-#: ../IkiWiki/Plugin/comments.pm:483
+#: ../IkiWiki/Plugin/comments.pm:493
msgid "Added a comment"
msgstr "Kommentar hinzugefügt."
-#: ../IkiWiki/Plugin/comments.pm:487
+#: ../IkiWiki/Plugin/comments.pm:497
#, perl-format
msgid "Added a comment: %s"
msgstr "Kommentar hinzugefügt: %s"
-#: ../IkiWiki/Plugin/comments.pm:598
+#: ../IkiWiki/Plugin/comments.pm:611
msgid "Comments"
msgstr "Kommentare"
@@ -263,19 +274,19 @@ msgstr "es wurde kein Text in die Seite mit der ID %s kopiert"
msgid "removing old preview %s"
msgstr "entferne alte Vorschau %s"
-#: ../IkiWiki/Plugin/editpage.pm:140
+#: ../IkiWiki/Plugin/editpage.pm:176
#, perl-format
msgid "%s is not an editable page"
msgstr "%s ist keine bearbeitbare Seite"
-#: ../IkiWiki/Plugin/editpage.pm:316
+#: ../IkiWiki/Plugin/editpage.pm:352
#, perl-format
msgid "creating %s"
msgstr "erstelle %s"
-#: ../IkiWiki/Plugin/editpage.pm:334 ../IkiWiki/Plugin/editpage.pm:353
-#: ../IkiWiki/Plugin/editpage.pm:363 ../IkiWiki/Plugin/editpage.pm:398
-#: ../IkiWiki/Plugin/editpage.pm:443
+#: ../IkiWiki/Plugin/editpage.pm:370 ../IkiWiki/Plugin/editpage.pm:389
+#: ../IkiWiki/Plugin/editpage.pm:399 ../IkiWiki/Plugin/editpage.pm:443
+#: ../IkiWiki/Plugin/editpage.pm:482
#, perl-format
msgid "editing %s"
msgstr "bearbeite %s"
@@ -694,7 +705,7 @@ msgstr "Bitte wählen Sie den umzubenennenden Anhang aus."
msgid "rename %s to %s"
msgstr "Benenne %s in %s um"
-#: ../IkiWiki/Plugin/rename.pm:490
+#: ../IkiWiki/Plugin/rename.pm:493
#, perl-format
msgid "update for rename of %s to %s"
msgstr "Aktualisierung für Umbenennung von %s in %s"
@@ -769,19 +780,19 @@ msgstr "konnte PHP nicht ausführen"
msgid "cannot find file"
msgstr "konnte Datei nicht finden"
-#: ../IkiWiki/Plugin/table.pm:73
+#: ../IkiWiki/Plugin/table.pm:87
msgid "unknown data format"
msgstr "unbekanntes Datenformat"
-#: ../IkiWiki/Plugin/table.pm:81
+#: ../IkiWiki/Plugin/table.pm:95
msgid "empty data"
msgstr "keine Daten"
-#: ../IkiWiki/Plugin/table.pm:100
+#: ../IkiWiki/Plugin/table.pm:114
msgid "Direct data download"
msgstr "Direkter Daten-Download"
-#: ../IkiWiki/Plugin/table.pm:134
+#: ../IkiWiki/Plugin/table.pm:148
#, perl-format
msgid "parse fail at line %d: %s"
msgstr "Verarbeitungsfehler in Zeile %d: %s"
@@ -943,7 +954,7 @@ msgstr ""
msgid "unsupported revision control system %s"
msgstr "Nicht unterstütztes Versionskontrollsystem %s"
-#: ../IkiWiki/Setup/Automator.pm:83
+#: ../IkiWiki/Setup/Automator.pm:93
msgid "failed to set up the repository with ikiwiki-makerepo"
msgstr "Erstellen des Depots mit ikiwiki-makerepo ist fehlgeschlagen"
@@ -1040,7 +1051,7 @@ msgid "What revision control system to use?"
msgstr "Welches Versionskontrollsystem soll verwandt werden?"
#: ../auto.setup:20
-msgid "What wiki user (or openid) will be wiki admin?"
+msgid "What wiki user (or openid) will be admin?"
msgstr ""
"Welcher Wiki-Benutzer (oder welche OpenID) soll der Administrator des Wikis "
"sein?"
@@ -1048,6 +1059,3 @@ msgstr ""
#: ../auto.setup:23
msgid "What is the domain name of the web server?"
msgstr "Wie lautet der Domainname des Webservers?"
-
-#~ msgid "failed to find url in html"
-#~ msgstr "URL in HTML nicht gefunden"
--
cgit v1.2.3
From 46819b530bca5a3adf00278500a34363a94c1fb2 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Thu, 12 Feb 2009 13:02:58 -0500
Subject: shortcut: If default_pageext is set, first look for
shortcuts.default_pageext
Falls back to looking for shortcuts.mdwn for backwards compatabiity; there
probably exist wikis that have changed the pageext but still use
shortcuts.mdwn.
---
IkiWiki/Plugin/shortcut.pm | 8 ++++++--
debian/changelog | 2 ++
doc/plugins/mdwn/discussion.mdwn | 4 ----
doc/plugins/shortcut/discussion.mdwn | 21 +++------------------
4 files changed, 11 insertions(+), 24 deletions(-)
diff --git a/IkiWiki/Plugin/shortcut.pm b/IkiWiki/Plugin/shortcut.pm
index 0e7cbd4d1..c1e6a7eb3 100644
--- a/IkiWiki/Plugin/shortcut.pm
+++ b/IkiWiki/Plugin/shortcut.pm
@@ -23,9 +23,13 @@ sub checkconfig () {
if (defined $config{srcdir}) {
# Preprocess the shortcuts page to get all the available shortcuts
# defined before other pages are rendered.
- my $srcfile=srcfile("shortcuts.mdwn", 1);
+ my $srcfile=srcfile("shortcuts.".$config{default_pageext}, 1);
if (! defined $srcfile) {
- error(gettext("shortcut plugin will not work without a shortcuts.mdwn"));
+ $srcfile=srcfile("shortcuts.mdwn", 1);
+ }
+ if (! defined $srcfile) {
+ error(sprintf(gettext("shortcut plugin will not work without %s"),
+ "shortcuts.".$config{default_pageext}));
}
IkiWiki::preprocess("shortcuts", "shortcuts", readfile($srcfile));
}
diff --git a/debian/changelog b/debian/changelog
index 294d23197..7467508f6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,8 @@ ikiwiki (3.04) UNRELEASED; urgency=low
* Fix unusual --setup --post-commit command line option combo.
* Create any missing directory necessary to put the wrapper
file into. Closes: #514384
+ * shortcut: If default_pageext is set, first look for
+ shortcuts.default_pageext.
-- Joey Hess Sat, 31 Jan 2009 19:04:45 -0500
diff --git a/doc/plugins/mdwn/discussion.mdwn b/doc/plugins/mdwn/discussion.mdwn
index 9ebf99b7e..4b05e7f4e 100644
--- a/doc/plugins/mdwn/discussion.mdwn
+++ b/doc/plugins/mdwn/discussion.mdwn
@@ -5,7 +5,3 @@ you need to overwrite the underlay
dir (set underlaydir in ikiwiki.setup
to your own underlay dir or replace underlay pages
in your $SRC).
-
-Specially, the [[shortcut]] plugin is hardcoded to
-use shortcuts.mdwn. So you need pay more care if
-you [[use shortcut without mdwn|shortcut/discussion]].
diff --git a/doc/plugins/shortcut/discussion.mdwn b/doc/plugins/shortcut/discussion.mdwn
index 770c95836..4e11ce08c 100644
--- a/doc/plugins/shortcut/discussion.mdwn
+++ b/doc/plugins/shortcut/discussion.mdwn
@@ -3,25 +3,10 @@ disabled [[mdwn]], to get [[shortcut]] work, you need
commit in a shortcuts.ext (ext is `rcs|creole|html|txt|etc`),
and edit/patch [[shortcut]].
-Maybe use the $default_pageext is better than hardcode .mdwn?
-
-
---- shortcut.pm.orig 2009-02-12 02:05:22.000000000 -0600
-+++ shortcut.pm 2009-02-12 04:41:30.000000000 -0600
-@@ -23,9 +23,9 @@
- if (defined $config{srcdir}) {
- # Preprocess the shortcuts page to get all the available shortcuts
- # defined before other pages are rendered.
-- my $srcfile=srcfile("shortcuts.mdwn", 1);
-+ my $srcfile=srcfile("shortcuts.$config{default_pageext}", 1);
- if (! defined $srcfile) {
-- error(gettext("shortcut plugin will not work without a shortcuts.mdwn"));
-+ error(gettext("shortcut plugin will not work without a shortcuts.$config{default_pageext}"));
- }
- IkiWiki::preprocess("shortcuts", "shortcuts", readfile($srcfile));
- }
-
+Maybe use the `default_pageext` is better than hardcode .mdwn?
--[[weakish]]
+> done, it will use `default_pageext` now --[[Joey]]
+
--
cgit v1.2.3
From 9e786e7b2424b493bce092497fd648f4e96f7e14 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Thu, 12 Feb 2009 13:15:23 -0500
Subject: update deps and bundles
---
Bundle/IkiWiki.pm | 12 ++++++------
Bundle/IkiWiki/Extras.pm | 4 ++++
debian/control | 2 +-
doc/plugins/creole/discussion.mdwn | 2 ++
4 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/Bundle/IkiWiki.pm b/Bundle/IkiWiki.pm
index 74832323a..769791d30 100644
--- a/Bundle/IkiWiki.pm
+++ b/Bundle/IkiWiki.pm
@@ -16,17 +16,17 @@ perl -MCPAN -e 'install Bundle::IkiWiki'
=head1 CONTENTS
-XML::Simple
Text::Markdown
-Date::Parse
-HTML::Template
HTML::Scrubber
-CGI
+HTML::Template
+HTML::Parser
+URI
+XML::Simple
+Date::Parse
CGI::FormBuilder
CGI::Session
Mail::Sendmail
-HTML::Parser
-URI
+CGI
Data::Dumper
=head1 AUTHOR
diff --git a/Bundle/IkiWiki/Extras.pm b/Bundle/IkiWiki/Extras.pm
index abf596f00..582d4a966 100644
--- a/Bundle/IkiWiki/Extras.pm
+++ b/Bundle/IkiWiki/Extras.pm
@@ -31,6 +31,10 @@ Text::Textile
Text::WikiFormat
XML::Feed
Net::Amazon::S3
+Text::WikiCreole
+Term::ReadLine::Gnu
+HTML::Tree
+Authen::Passphrase
=head1 AUTHOR
diff --git a/debian/control b/debian/control
index fe5c3eee7..8622362bf 100644
--- a/debian/control
+++ b/debian/control
@@ -14,7 +14,7 @@ Package: ikiwiki
Architecture: all
Depends: ${perl:Depends}, libtext-markdown-perl | markdown, libhtml-scrubber-perl, libhtml-template-perl, libhtml-parser-perl, liburi-perl
Recommends: gcc | c-compiler, libc6-dev | libc-dev, subversion | git-core (>= 1:1.5.0) | tla | bzr (>= 0.91) | mercurial | monotone (>= 0.38), libxml-simple-perl, libnet-openid-consumer-perl, liblwpx-paranoidagent-perl, libtimedate-perl, libcgi-formbuilder-perl (>= 3.05), libcgi-session-perl (>= 4.14-1), libmail-sendmail-perl, libauthen-passphrase-perl, libterm-readline-gnu-perl
-Suggests: viewvc | gitweb | viewcvs, libsearch-xapian-perl, xapian-omega (>= 1.0.5), librpc-xml-perl, libtext-wikiformat-perl, python, python-docutils, polygen, tidy, libhtml-tree-perl, libxml-feed-perl, libmailtools-perl, perlmagick, libfile-mimeinfo-perl, libcrypt-ssleay-perl, liblocale-gettext-perl (>= 1.05-1), libtext-typography-perl, libtext-csv-perl, libdigest-sha1-perl, graphviz, libnet-amazon-s3-perl, sparkline-php, texlive, dvipng
+Suggests: viewvc | gitweb | viewcvs, libsearch-xapian-perl, xapian-omega (>= 1.0.5), librpc-xml-perl, libtext-wikiformat-perl, python, python-docutils, polygen, tidy, libhtml-tree-perl, libxml-feed-perl, libmailtools-perl, perlmagick, libfile-mimeinfo-perl, libcrypt-ssleay-perl, liblocale-gettext-perl (>= 1.05-1), libtext-typography-perl, libtext-csv-perl, libdigest-sha1-perl, graphviz, libnet-amazon-s3-perl, sparkline-php, texlive, dvipng, libtext-wikicreole-perl
Conflicts: ikiwiki-plugin-table
Replaces: ikiwiki-plugin-table
Provides: ikiwiki-plugin-table
diff --git a/doc/plugins/creole/discussion.mdwn b/doc/plugins/creole/discussion.mdwn
index 9d58fffbf..38ee2bd78 100644
--- a/doc/plugins/creole/discussion.mdwn
+++ b/doc/plugins/creole/discussion.mdwn
@@ -10,4 +10,6 @@ I've installed Text::WikiCreole 0.05 and enabled the plugin, but I get an error
>> Currently the creole plugin is included in ikiwiki but the ikiwiki deb (3.0.3) doesn't suggests libtext-wikicreole-perl. Why? --[[weakish]]
+>>> forgot, done now --[[Joey]]
+
I'm moving over a really stinkingly old UseMod and creole seems the nearest match. I've worked out that Bare /Subpage links need to become \[\[Subpage\]\], and Top/Sub links need to be \[\[Top/Sub\]\] (or \[\[Top/Sub|Top/Sub\]\], to display in exactly the same way), but I'm stuck on generic hyperlinks. The creole cheat sheet says I should be able to do \[\[http://url.path/foo|LinkText\]\], but that comes out as a link to create the "linktext" page, and Markdown-style \[Link Text\](http://url.path/foo) just gets rendered as is. Any suggestions? --[[schmonz]]
--
cgit v1.2.3
From c0405e0f20e49c382b656bf9c83c4dd1aa0fc187 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Thu, 12 Feb 2009 13:18:54 -0500
Subject: response
---
doc/todo/mercurial.mdwn | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/doc/todo/mercurial.mdwn b/doc/todo/mercurial.mdwn
index 89f5337ab..414aaa807 100644
--- a/doc/todo/mercurial.mdwn
+++ b/doc/todo/mercurial.mdwn
@@ -36,6 +36,7 @@ The problem with --post-commit is that if you delete some pages in $SRC, ikiwiki
> That will work. I think that the `--setup --post-commit` on the command
> line is currently broken and does the same expensive rebuild process as --setup
> alone (which doesn't delete files from $DEST either). Will fix that.
+> (fixed)
> --[[Joey]]
>> Mercurial doesn't support put hooks in .hg/hooks/* (like git). In Mercurial, the only way to run
@@ -47,6 +48,10 @@ The problem with --post-commit is that if you delete some pages in $SRC, ikiwiki
>> Alternative is always editing via cgi or pushing. Never work on the $SRC/repo directly.
>> --[[users/weakish]]
+>>> I don't see anything preventing you from using a setup file with
+>>> `mercurual_wrapper => ".hg/ikiwiki-hook",` and then modifying the hgrc
+>>> to run that wrapper. --[[Joey]]
+
I add the following to .hg/hgrc:(I use changegroup since I don't think we need refresh per changeset, please point out if I am wrong.)
[hooks]
--
cgit v1.2.3
From 2c51b18aec0cebd1a433cb541fe80f8ade7b3936 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Thu, 12 Feb 2009 16:31:05 -0500
Subject: move check_canedit, check_content to IkiWiki library from editpage
It no longer makes sense to keep these functions in editpage, because
serveral plugins now exist that use them, and users may want to disable
editpage, while leaving those plugins enabled.
Most notably, comments uses both functions, and it's entirely appropriate
to disable editpage but still want to have comments enabled.
Less likely, attachments, rename, and remove all use check_canedit -- but
it would be unusual indeed to want to use these w/o editpage.
---
IkiWiki.pm | 64 ++++++++++++++++++++++++++++++++++++++++++++
IkiWiki/Plugin/editpage.pm | 66 +---------------------------------------------
debian/changelog | 2 ++
3 files changed, 67 insertions(+), 65 deletions(-)
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 66fea4369..ce1ceb351 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -1293,6 +1293,70 @@ sub indexlink () {
return "$config{wikiname}";
}
+sub check_canedit ($$$;$) {
+ my $page=shift;
+ my $q=shift;
+ my $session=shift;
+ my $nonfatal=shift;
+
+ my $canedit;
+ run_hooks(canedit => sub {
+ return if defined $canedit;
+ my $ret=shift->($page, $q, $session);
+ if (defined $ret) {
+ if ($ret eq "") {
+ $canedit=1;
+ }
+ elsif (ref $ret eq 'CODE') {
+ $ret->() unless $nonfatal;
+ $canedit=0;
+ }
+ elsif (defined $ret) {
+ error($ret) unless $nonfatal;
+ $canedit=0;
+ }
+ }
+ });
+ return defined $canedit ? $canedit : 1;
+}
+
+sub check_content (@) {
+ my %params=@_;
+
+ return 1 if ! exists $hooks{checkcontent}; # optimisation
+
+ if (exists $pagesources{$params{page}}) {
+ my @diff;
+ my %old=map { $_ => 1 }
+ split("\n", readfile(srcfile($pagesources{$params{page}})));
+ foreach my $line (split("\n", $params{content})) {
+ push @diff, $line if ! exists $old{$_};
+ }
+ $params{content}=join("\n", @diff);
+ }
+
+ my $ok;
+ run_hooks(checkcontent => sub {
+ return if defined $ok;
+ my $ret=shift->(%params);
+ if (defined $ret) {
+ if ($ret eq "") {
+ $ok=1;
+ }
+ elsif (ref $ret eq 'CODE') {
+ $ret->() unless $params{nonfatal};
+ $ok=0;
+ }
+ elsif (defined $ret) {
+ error($ret) unless $params{nonfatal};
+ $ok=0;
+ }
+ }
+
+ });
+ return defined $ok ? $ok : 1;
+}
+
my $wikilock;
sub lockwiki () {
diff --git a/IkiWiki/Plugin/editpage.pm b/IkiWiki/Plugin/editpage.pm
index c206d96a4..0068a6b11 100644
--- a/IkiWiki/Plugin/editpage.pm
+++ b/IkiWiki/Plugin/editpage.pm
@@ -51,73 +51,9 @@ sub refresh () {
# Back to ikiwiki namespace for the rest, this code is very much
# internal to ikiwiki even though it's separated into a plugin,
-# and other plugins use the functions below.
+# and other plugins use the function below.
package IkiWiki;
-sub check_canedit ($$$;$) {
- my $page=shift;
- my $q=shift;
- my $session=shift;
- my $nonfatal=shift;
-
- my $canedit;
- run_hooks(canedit => sub {
- return if defined $canedit;
- my $ret=shift->($page, $q, $session);
- if (defined $ret) {
- if ($ret eq "") {
- $canedit=1;
- }
- elsif (ref $ret eq 'CODE') {
- $ret->() unless $nonfatal;
- $canedit=0;
- }
- elsif (defined $ret) {
- error($ret) unless $nonfatal;
- $canedit=0;
- }
- }
- });
- return defined $canedit ? $canedit : 1;
-}
-
-sub check_content (@) {
- my %params=@_;
-
- return 1 if ! exists $hooks{checkcontent}; # optimisation
-
- if (exists $pagesources{$params{page}}) {
- my @diff;
- my %old=map { $_ => 1 }
- split("\n", readfile(srcfile($pagesources{$params{page}})));
- foreach my $line (split("\n", $params{content})) {
- push @diff, $line if ! exists $old{$_};
- }
- $params{content}=join("\n", @diff);
- }
-
- my $ok;
- run_hooks(checkcontent => sub {
- return if defined $ok;
- my $ret=shift->(%params);
- if (defined $ret) {
- if ($ret eq "") {
- $ok=1;
- }
- elsif (ref $ret eq 'CODE') {
- $ret->() unless $params{nonfatal};
- $ok=0;
- }
- elsif (defined $ret) {
- error($ret) unless $params{nonfatal};
- $ok=0;
- }
- }
-
- });
- return defined $ok ? $ok : 1;
-}
-
sub cgi_editpage ($$) {
my $q=shift;
my $session=shift;
diff --git a/debian/changelog b/debian/changelog
index 7467508f6..8da3f8849 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,8 @@ ikiwiki (3.04) UNRELEASED; urgency=low
file into. Closes: #514384
* shortcut: If default_pageext is set, first look for
shortcuts.default_pageext.
+ * Allow comments, rename, remove, and attazhments plugins to be used
+ even if the editpage plugin is disabled.
-- Joey Hess Sat, 31 Jan 2009 19:04:45 -0500
--
cgit v1.2.3
From 442f3ab0aba88b61abecf23c6f9539ea494e9537 Mon Sep 17 00:00:00 2001
From: bremner
Date: Thu, 12 Feb 2009 20:51:38 -0500
Subject: strange output from sourcecode plugin
---
.../discussion.mdwn | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/doc/todo/automatic_use_of_syntax_plugin_on_source_code_files/discussion.mdwn b/doc/todo/automatic_use_of_syntax_plugin_on_source_code_files/discussion.mdwn
index a998afa77..8953a055e 100644
--- a/doc/todo/automatic_use_of_syntax_plugin_on_source_code_files/discussion.mdwn
+++ b/doc/todo/automatic_use_of_syntax_plugin_on_source_code_files/discussion.mdwn
@@ -22,6 +22,18 @@ I hit a wall the following example (the last commit in the above repo).
> I haven't actually tested this to see what the problem is. How does this fail?
> Does source-highlight barf on the non-c++ content? Is there a wiki URL that shows the failure? -- [[Will]]
+>> Here is the content div from the output page
+>> [[DavidBremner]]
+
+
+
+
+
+ 2beb4fd7289998159f61976143f66bb6
+
+
+
+
----
--
cgit v1.2.3
From 206b583c0db7551dd9ec0f36d0f46018fd0f77e2 Mon Sep 17 00:00:00 2001
From: "http://weakish.int.eu.org/"
Date: Fri, 13 Feb 2009 04:21:06 -0500
Subject: patch for googleform.tmpl to produce valid XHTML
---
doc/plugins/google/discussion.mdwn | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 doc/plugins/google/discussion.mdwn
diff --git a/doc/plugins/google/discussion.mdwn b/doc/plugins/google/discussion.mdwn
new file mode 100644
index 000000000..c18157665
--- /dev/null
+++ b/doc/plugins/google/discussion.mdwn
@@ -0,0 +1,22 @@
+This plugin uses the googleform.tmpl
+which produces valid HTML but invalid XHTML.
+This is not very good since the default ikiwiki
+templates produce XHTML instead of HTML.
+
+To produces valid XHTML, you need to edit
+googleform.tmpl (in e.g. /usr/share/ikiwiki/templates):
+
+
+ --- googleform.tmpl.orig 2009-02-13 02:47:00.000000000 -0600
+ +++ googleform.tmpl 2009-02-13 02:47:40.000000000 -0600
+ @@ -1,6 +1,6 @@
+
+
+Just tow tiny changes.
--
cgit v1.2.3
From 257cbbcb7e151053641bde409253a1ea792e9569 Mon Sep 17 00:00:00 2001
From: "http://weakish.int.eu.org/"
Date: Fri, 13 Feb 2009 05:05:09 -0500
Subject: The wrapper works nicely!
---
doc/todo/mercurial.mdwn | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/doc/todo/mercurial.mdwn b/doc/todo/mercurial.mdwn
index 414aaa807..2f148498e 100644
--- a/doc/todo/mercurial.mdwn
+++ b/doc/todo/mercurial.mdwn
@@ -49,15 +49,19 @@ The problem with --post-commit is that if you delete some pages in $SRC, ikiwiki
>> --[[users/weakish]]
>>> I don't see anything preventing you from using a setup file with
->>> `mercurual_wrapper => ".hg/ikiwiki-hook",` and then modifying the hgrc
+>>> `mercurial_wrapper => ".hg/ikiwiki-hook",` and then modifying the hgrc
>>> to run that wrapper. --[[Joey]]
+>> Thanks for pointing out this. I have some stupid misunderstanding on the
+>> usage of mercurial_wrapper before. The wrapper works nicely! --[[weakish]]
+
I add the following to .hg/hgrc:(I use changegroup since I don't think we need refresh per changeset, please point out if I am wrong.)
[hooks]
changegroup = hg update >&2 && ikiwiki --setup path.to.setup.file --refresh
+ post-commit = path.to.the.mercurial.wrapper
-
post-commit = ikiwiki --setup path.to.setup.file --refreshThis will cause deadlock! See bleow!
+-----
I have no idea when the deadlock will happen. --[[users/weakish]]
--
cgit v1.2.3
From 7599de6e436fd141a8027ad65d5a2b0b03ea6f98 Mon Sep 17 00:00:00 2001
From: "http://www.cse.unsw.edu.au/~willu/"
Date: Fri, 13 Feb 2009 06:16:18 -0500
Subject: Add a new bug to track simple patch
---
doc/todo/Allow_filenames_that_are_all_type.mdwn | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 doc/todo/Allow_filenames_that_are_all_type.mdwn
diff --git a/doc/todo/Allow_filenames_that_are_all_type.mdwn b/doc/todo/Allow_filenames_that_are_all_type.mdwn
new file mode 100644
index 000000000..55e29b645
--- /dev/null
+++ b/doc/todo/Allow_filenames_that_are_all_type.mdwn
@@ -0,0 +1,20 @@
+This is a [[patch]] to allow filenames that are just the type. The best example of this is wanting to
+pass a `Makefile` through one of the [[todo/syntax_highlighting/]] plugins. With this patch,
+if the plugin can process files of type `.Makefile` then it will also process `Makefile`.
+
+I put this patch on the [[todo/syntax_highlighting/]] page a while ago, but it seemed to get
+lost because it didn't have its own bug to track it. Now it does :). -- [[Will]]
+
+ diff --git a/IkiWiki.pm b/IkiWiki.pm
+ index 8d728c9..1bd46a9 100644
+ --- a/IkiWiki.pm
+ +++ b/IkiWiki.pm
+ @@ -618,6 +618,8 @@ sub pagetype ($) {
+
+ if ($page =~ /\.([^.]+)$/) {
+ return $1 if exists $hooks{htmlize}{$1};
+ + } elsif ($hooks{htmlize}{$page}{keepextension}) {
+ + return $page;
+ }
+ return;
+ }
--
cgit v1.2.3
From 8b4f45e1e09b85cc4eb987ed96f9b3707cd49f15 Mon Sep 17 00:00:00 2001
From: "http://www.cse.unsw.edu.au/~willu/"
Date: Fri, 13 Feb 2009 06:49:22 -0500
Subject: Update patch and reply to bug report.
---
.../discussion.mdwn | 246 +++++++++++----------
1 file changed, 135 insertions(+), 111 deletions(-)
diff --git a/doc/todo/automatic_use_of_syntax_plugin_on_source_code_files/discussion.mdwn b/doc/todo/automatic_use_of_syntax_plugin_on_source_code_files/discussion.mdwn
index 8953a055e..8bc75420d 100644
--- a/doc/todo/automatic_use_of_syntax_plugin_on_source_code_files/discussion.mdwn
+++ b/doc/todo/automatic_use_of_syntax_plugin_on_source_code_files/discussion.mdwn
@@ -35,10 +35,32 @@ I hit a wall the following example (the last commit in the above repo).
+>>> That is quite strange. I tested your version of the plugin. I had to revert one your changes to get it to
+>>> work: the linenumber argument should not have a space at the end of it. Once I made that change,
+>>> everything worked as expected. The output I get for your example is below:
+
+
+
+
+
+
+
00001:test
+
+
+
+
+
+>>> I don't know what is going wrong for you... source-highlight, Markdown or something else.
+>>> I do find it interesting the way the sourcecode `div` and the list get interleaved. That
+>>> just looks like a Markdown thing though.
+>>> In any case, I've updated the patch below to include most of your changes. -- [[Will]]
+
----
#!/usr/bin/perl
# markup source files
+ # Originally by Will Uther
+ # With modifications by David Bremner
package IkiWiki::Plugin::sourcecode;
use warnings;
@@ -49,142 +71,144 @@ I hit a wall the following example (the last commit in the above repo).
my %metaheaders;
sub import {
- hook(type => "getsetup", id => "sourcecode", call => \&getsetup);
- hook(type => "checkconfig", id => "sourcecode", call => \&checkconfig);
- hook(type => "pagetemplate", id => "sourcecode", call => \&pagetemplate);
+ hook(type => "getsetup", id => "sourcecode", call => \&getsetup);
+ hook(type => "checkconfig", id => "sourcecode", call => \&checkconfig);
+ hook(type => "pagetemplate", id => "sourcecode", call => \&pagetemplate);
}
sub getsetup () {
- return
- plugin => {
- safe => 1,
- rebuild => 1, # format plugin
- },
- sourcecode_command => {
- type => "string",
- example => "/usr/bin/source-highlight",
- description => "The command to execute to run source-highlight",
- safe => 0,
- rebuild => 1,
- },
- sourcecode_lang => {
- type => "string",
- example => "c,cpp,h,java",
- description => "Comma separated list of suffixes to recognise as source code",
- safe => 1,
- rebuild => 1,
- },
- sourcecode_linenumbers => {
- type => "boolean",
- example => 1,
- description => "Should we add line numbers to the source code",
- safe => 1,
- rebuild => 1,
- },
- sourcecode_css => {
- type => "string",
- example => "sourcecode_style",
- description => "page to use as css file for source",
- safe => 1,
- rebuild => 1,
- },
+ return
+ plugin => {
+ safe => 1,
+ rebuild => 1, # format plugin
+ },
+ sourcecode_command => {
+ type => "string",
+ example => "/usr/bin/source-highlight",
+ description => "The command to execute to run source-highlight",
+ safe => 0,
+ rebuild => 1,
+ },
+ sourcecode_lang => {
+ type => "string",
+ example => "c,cpp,h,java",
+ description => "Comma separated list of suffixes to recognise as source code",
+ safe => 1,
+ rebuild => 1,
+ },
+ sourcecode_linenumbers => {
+ type => "boolean",
+ example => 1,
+ description => "Should we add line numbers to the source code",
+ safe => 1,
+ rebuild => 1,
+ },
+ sourcecode_css => {
+ type => "string",
+ example => "sourcecode_style",
+ description => "page to use as css file for source",
+ safe => 1,
+ rebuild => 1,
+ },
}
sub checkconfig () {
- if (! $config{sourcecode_lang}) {
- error("The sourcecode plugin requires a list of suffixes in the 'sourcecode_lang' config option");
- }
-
- if (! $config{sourcecode_command}) {
- $config{sourcecode_command} = "source-highlight";
- }
-
- if (! length `which $config{sourcecode_command} 2>/dev/null`) {
- error("The sourcecode plugin is unable to find the $config{sourcecode_command} command");
- }
-
- if (! $config{sourcecode_css}) {
- $config{sourcecode_css} = "sourcecode_style";
- }
-
- if (! defined $config{sourcecode_linenumbers}) {
- $config{sourcecode_linenumbers} = 1;
- }
-
- my %langs = ();
-
- open(LANGS, "$config{sourcecode_command} --lang-list|");
- while () {
- if ($_ =~ /(\w+) = .+\.lang/) {
- $langs{$1} = 1;
- }
- }
- close(LANGS);
-
- foreach my $lang (split(/[, ]+/, $config{sourcecode_lang})) {
- if ($langs{$lang}) {
- hook(type => "htmlize", id => $lang, call => \&htmlize, keepextension => 1);
- } else {
- error("Your installation of source-highlight cannot handle sourcecode language $lang!");
- }
- }
+ if (! $config{sourcecode_lang}) {
+ error("The sourcecode plugin requires a list of suffixes in the 'sourcecode_lang' config option");
+ }
+
+ if (! $config{sourcecode_command}) {
+ $config{sourcecode_command} = "source-highlight";
+ }
+
+ if (! length `which $config{sourcecode_command} 2>/dev/null`) {
+ error("The sourcecode plugin is unable to find the $config{sourcecode_command} command");
+ }
+
+ if (! $config{sourcecode_css}) {
+ $config{sourcecode_css} = "sourcecode_style";
+ }
+
+ if (! defined $config{sourcecode_linenumbers}) {
+ $config{sourcecode_linenumbers} = 1;
+ }
+
+ my %langs = ();
+
+ open(LANGS, "$config{sourcecode_command} --lang-list|");
+ while () {
+ if ($_ =~ /(\w+) = .+\.lang/) {
+ $langs{$1} = 1;
+ }
+ }
+ close(LANGS);
+
+ foreach my $lang (split(/[, ]+/, $config{sourcecode_lang})) {
+ if ($langs{$lang}) {
+ hook(type => "htmlize", id => $lang, no_override=>1,
+ call => sub { htmlize(lang=>$lang, @_) },
+ keepextension => 1);
+ } else {
+ error("Your installation of source-highlight cannot handle sourcecode language $lang!");
+ }
+ }
}
sub htmlize (@) {
- my %params=@_;
+ my %params=@_;
+
+ my $page = $params{page};
- my $page = $params{page};
+ eval q{use FileHandle};
+ error($@) if $@;
+ eval q{use IPC::Open2};
+ error($@) if $@;
- eval q{use FileHandle};
- error($@) if $@;
- eval q{use IPC::Open2};
- error($@) if $@;
+ local(*SPS_IN, *SPS_OUT); # Create local handles
- local(*SPS_IN, *SPS_OUT); # Create local handles
+ my @args;
- my @args;
+ if ($config{sourcecode_linenumbers}) {
+ push @args, '--line-number';
+ }
- if ($config{sourcecode_linenumbers}) {
- push @args, '--line-number= ';
- }
+ my $pid = open2(*SPS_IN, *SPS_OUT, $config{sourcecode_command},
+ '-s', $params{lang},
+ '-c', $config{sourcecode_css}, '--no-doc',
+ '-f', 'xhtml',
+ @args);
- my $pid = open2(*SPS_IN, *SPS_OUT, $config{sourcecode_command},
- '-s', IkiWiki::pagetype($pagesources{$page}),
- '-c', $config{sourcecode_css}, '--no-doc',
- '-f', 'xhtml',
- @args);
+ error("Unable to open $config{sourcecode_command}") unless $pid;
- error("Unable to open $config{sourcecode_command}") unless $pid;
+ print SPS_OUT $params{content};
+ close SPS_OUT;
- print SPS_OUT $params{content};
- close SPS_OUT;
+ my @html = ;
+ close SPS_IN;
- my @html = ;
- close SPS_IN;
-
- waitpid $pid, 0;
+ waitpid $pid, 0;
- my $stylesheet=bestlink($page, $config{sourcecode_css}.".css");
- if (length $stylesheet) {
- push @{$metaheaders{$page}}, '';
- }
+ my $stylesheet=bestlink($page, $config{sourcecode_css}.".css");
+ if (length $stylesheet) {
+ push @{$metaheaders{$page}}, '';
+ }
- return '
'."\r\n".join("\r\n",@html)."\r\n
\n";
+ return '
'."\r\n".join("",@html)."\r\n
\r\n";
}
sub pagetemplate (@) {
- my %params=@_;
+ my %params=@_;
- my $page=$params{page};
- my $template=$params{template};
+ my $page=$params{page};
+ my $template=$params{template};
- if (exists $metaheaders{$page} && $template->query(name => "meta")) {
- # avoid duplicate meta lines
- my %seen;
- $template->param(meta => join("\n", grep { (! $seen{$_}) && ($seen{$_}=1) } @{$metaheaders{$page}}));
- }
+ if (exists $metaheaders{$page} && $template->query(name => "meta")) {
+ # avoid duplicate meta lines
+ my %seen;
+ $template->param(meta => join("\n", grep { (! $seen{$_}) && ($seen{$_}=1) } @{$metaheaders{$page}}));
+ }
}
1
--
cgit v1.2.3
From a50cabca02467a5e7d304bfca1daa95ff704ea3a Mon Sep 17 00:00:00 2001
From: "http://josephturian.blogspot.com/"
Date: Fri, 13 Feb 2009 15:01:07 -0500
Subject:
---
.../shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn | 8 ++++++++
1 file changed, 8 insertions(+)
create mode 100644 doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn
diff --git a/doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn b/doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn
new file mode 100644
index 000000000..994929bfc
--- /dev/null
+++ b/doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn
@@ -0,0 +1,8 @@
+On my initial ikiwiki -setup auto.setup, I get the following error:
+
+ shortcut plugin will not work without shortcuts.mdwn
+ /home/turian/utils/etc/ikiwiki/auto.setup: ikiwiki --refresh --setup /home/turian/iki.setup failed at IkiWiki/Setup/Automator.pm line 105.
+
+
+This is using the latest git pull of ikiwiki.
+I am not sure why it is not finding shortcuts.mdwn. -- [[JosephTurian]]
--
cgit v1.2.3
From 6e6e40254c687fb42881e6bb6e659572a2a6d1ec Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Sat, 14 Feb 2009 02:32:11 -0500
Subject: typo
---
debian/changelog | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 8da3f8849..87fc347e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-ikiwiki (3.04) UNRELEASED; urgency=low
+ikiwiki (3.04) unstable; urgency=low
* 404: New plugin which lets you use the IkiWiki CGI script as
an Apache 404 handler, to give the behaviour of various other wiki
@@ -13,10 +13,10 @@ ikiwiki (3.04) UNRELEASED; urgency=low
file into. Closes: #514384
* shortcut: If default_pageext is set, first look for
shortcuts.default_pageext.
- * Allow comments, rename, remove, and attazhments plugins to be used
+ * Allow comments, rename, remove, and attachment plugins to be used
even if the editpage plugin is disabled.
- -- Joey Hess Sat, 31 Jan 2009 19:04:45 -0500
+ -- Joey Hess Sat, 14 Feb 2009 02:27:14 -0500
ikiwiki (3.03) unstable; urgency=low
--
cgit v1.2.3
From bea8e0ad61578143786f57b416b3dc333864a1e4 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Sat, 14 Feb 2009 02:38:17 -0500
Subject: apply patch to fix googleform xhtml
---
doc/plugins/google/discussion.mdwn | 18 +-----------------
templates/googleform.tmpl | 4 ++--
2 files changed, 3 insertions(+), 19 deletions(-)
diff --git a/doc/plugins/google/discussion.mdwn b/doc/plugins/google/discussion.mdwn
index c18157665..babc919d2 100644
--- a/doc/plugins/google/discussion.mdwn
+++ b/doc/plugins/google/discussion.mdwn
@@ -3,20 +3,4 @@ which produces valid HTML but invalid XHTML.
This is not very good since the default ikiwiki
templates produce XHTML instead of HTML.
-To produces valid XHTML, you need to edit
-googleform.tmpl (in e.g. /usr/share/ikiwiki/templates):
-
-
- --- googleform.tmpl.orig 2009-02-13 02:47:00.000000000 -0600
- +++ googleform.tmpl 2009-02-13 02:47:40.000000000 -0600
- @@ -1,6 +1,6 @@
-
-
-Just tow tiny changes.
+> Fixed, thanks for the patch! --[[Joey]]
diff --git a/templates/googleform.tmpl b/templates/googleform.tmpl
index 523cff001..e2d4a1f43 100644
--- a/templates/googleform.tmpl
+++ b/templates/googleform.tmpl
@@ -1,6 +1,6 @@
--
cgit v1.2.3
From 684cd73a79405ee58e115e603213c39a33d710cf Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Sat, 14 Feb 2009 03:01:35 -0500
Subject: downgrade missing shortcuts page error to warning
and response to bug report
---
IkiWiki/Plugin/shortcut.pm | 8 +++++---
...shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn | 12 ++++++++++++
2 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/IkiWiki/Plugin/shortcut.pm b/IkiWiki/Plugin/shortcut.pm
index c1e6a7eb3..5693ee782 100644
--- a/IkiWiki/Plugin/shortcut.pm
+++ b/IkiWiki/Plugin/shortcut.pm
@@ -28,10 +28,12 @@ sub checkconfig () {
$srcfile=srcfile("shortcuts.mdwn", 1);
}
if (! defined $srcfile) {
- error(sprintf(gettext("shortcut plugin will not work without %s"),
- "shortcuts.".$config{default_pageext}));
+ print STDERR sprintf(gettext("shortcut plugin will not work without %s"),
+ "shortcuts.".$config{default_pageext})."\n";
+ }
+ else {
+ IkiWiki::preprocess("shortcuts", "shortcuts", readfile($srcfile));
}
- IkiWiki::preprocess("shortcuts", "shortcuts", readfile($srcfile));
}
}
diff --git a/doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn b/doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn
index 994929bfc..85844132d 100644
--- a/doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn
+++ b/doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn
@@ -6,3 +6,15 @@ On my initial ikiwiki -setup auto.setup, I get the following error:
This is using the latest git pull of ikiwiki.
I am not sure why it is not finding shortcuts.mdwn. -- [[JosephTurian]]
+
+> The error, and the weird paths suggest to me that you
+> have installed ikiwiki in a strange way, and it is failing
+> to find its basewiki underlay. The `$installdir` is
+> hardcoded into IkiWiki.pm at build time, based on the PREFIX
+> setting (see README).
+>
+> If that's not set right, you'll have other problems than just this one,
+> so I suggest you check how you installed ikiwiki.
+>
+> Anyway, I've made the shortcut plugin only warn about this..
+> --[[Joey]]
--
cgit v1.2.3
From adcc349d89ada08c106f39ecb9338e3cde9668a8 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Sat, 14 Feb 2009 03:04:11 -0500
Subject: check for empty srcdir
This happens when using -dumpsetup
---
IkiWiki/Plugin/shortcut.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/IkiWiki/Plugin/shortcut.pm b/IkiWiki/Plugin/shortcut.pm
index 5693ee782..1840a5722 100644
--- a/IkiWiki/Plugin/shortcut.pm
+++ b/IkiWiki/Plugin/shortcut.pm
@@ -20,7 +20,7 @@ sub getsetup () {
}
sub checkconfig () {
- if (defined $config{srcdir}) {
+ if (defined $config{srcdir} && length $config{srcdir}) {
# Preprocess the shortcuts page to get all the available shortcuts
# defined before other pages are rendered.
my $srcfile=srcfile("shortcuts.".$config{default_pageext}, 1);
--
cgit v1.2.3
From 0bf554ce06746ca4d6b9ecc92ea149144c797508 Mon Sep 17 00:00:00 2001
From: gothicx
Date: Sat, 14 Feb 2009 07:19:32 -0500
Subject:
---
doc/bugs/remove_orphaned_sparkline-php_from_Suggests.mdwn | 7 +++++++
1 file changed, 7 insertions(+)
create mode 100644 doc/bugs/remove_orphaned_sparkline-php_from_Suggests.mdwn
diff --git a/doc/bugs/remove_orphaned_sparkline-php_from_Suggests.mdwn b/doc/bugs/remove_orphaned_sparkline-php_from_Suggests.mdwn
new file mode 100644
index 000000000..8f0482791
--- /dev/null
+++ b/doc/bugs/remove_orphaned_sparkline-php_from_Suggests.mdwn
@@ -0,0 +1,7 @@
+Hi!
+
+How about to replace sparkline-php from Suggests by a better alternative?
+
+I would like to file a RM bug to get it out of archive. Do you have a better alternative for it? PHP has a lot of them..
+
+Thanks
--
cgit v1.2.3
From e159545ba720ab0ed37f5e71c7fd04e9befcbfc0 Mon Sep 17 00:00:00 2001
From: bremner
Date: Sat, 14 Feb 2009 08:36:28 -0500
Subject: Throw another source highlighting option into the ring
---
doc/todo/syntax_highlighting.mdwn | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/doc/todo/syntax_highlighting.mdwn b/doc/todo/syntax_highlighting.mdwn
index d9a791c6f..ca701e0d0 100644
--- a/doc/todo/syntax_highlighting.mdwn
+++ b/doc/todo/syntax_highlighting.mdwn
@@ -26,6 +26,11 @@ pages, as well as doing syntax highlighting as a preprocessor directive
* [[users/jasonblevins]]'s code plugin uses src-highlight, and supports both
while file and directive use.
+* [hlsimple](http://pivot.cs.unb.ca/git/?p=ikiplugins.git;a=blob_plain;f=IkiWiki/Plugin/hlsimple.pm;hb=795f888a2c1b17f6d90a8f01f74b09395f0738d5) is a wrapper for the the perl module Syntax::Highlight::Engine::Simple. This is pure perl, pretty simple, uses css. It ought to be pretty fast (according to the author, and just because it is not external).
+On the other hand, there are not many predefined languages yet. Defining language syntaxes is about as much
+work as source-highlight, but in perl. I plan to package the base module for debian. Perhaps after the author
+releases the 5 or 6 language definitions he has running on his web site, it might be suitable for inclusion in ikiwiki. [[DavidBremner]]
+
## General problems
* Using non-perl syntax highlighting backends is slow. I'd prefer either
--
cgit v1.2.3
From 02b1929445c20ddc838c3b9a2a61db912beef676 Mon Sep 17 00:00:00 2001
From: bremner
Date: Sat, 14 Feb 2009 08:39:01 -0500
Subject: link to HEAD instead of today's sha1 of hlsimple.pm
---
doc/todo/syntax_highlighting.mdwn | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/todo/syntax_highlighting.mdwn b/doc/todo/syntax_highlighting.mdwn
index ca701e0d0..b5d083ba5 100644
--- a/doc/todo/syntax_highlighting.mdwn
+++ b/doc/todo/syntax_highlighting.mdwn
@@ -26,7 +26,7 @@ pages, as well as doing syntax highlighting as a preprocessor directive
* [[users/jasonblevins]]'s code plugin uses src-highlight, and supports both
while file and directive use.
-* [hlsimple](http://pivot.cs.unb.ca/git/?p=ikiplugins.git;a=blob_plain;f=IkiWiki/Plugin/hlsimple.pm;hb=795f888a2c1b17f6d90a8f01f74b09395f0738d5) is a wrapper for the the perl module Syntax::Highlight::Engine::Simple. This is pure perl, pretty simple, uses css. It ought to be pretty fast (according to the author, and just because it is not external).
+* [hlsimple](http://pivot.cs.unb.ca/git/?p=ikiplugins.git;a=blob_plain;f=IkiWiki/Plugin/hlsimple.pm;hb=HEAD) is a wrapper for the the perl module Syntax::Highlight::Engine::Simple. This is pure perl, pretty simple, uses css. It ought to be pretty fast (according to the author, and just because it is not external).
On the other hand, there are not many predefined languages yet. Defining language syntaxes is about as much
work as source-highlight, but in perl. I plan to package the base module for debian. Perhaps after the author
releases the 5 or 6 language definitions he has running on his web site, it might be suitable for inclusion in ikiwiki. [[DavidBremner]]
--
cgit v1.2.3
From 4bc18470b86df3271d98f353d625f595c194c280 Mon Sep 17 00:00:00 2001
From: "http://josephturian.blogspot.com/"
Date: Sat, 14 Feb 2009 12:59:49 -0500
Subject:
---
.../shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn b/doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn
index 85844132d..5efbad5fb 100644
--- a/doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn
+++ b/doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn
@@ -12,9 +12,17 @@ I am not sure why it is not finding shortcuts.mdwn. -- [[JosephTurian]]
> to find its basewiki underlay. The `$installdir` is
> hardcoded into IkiWiki.pm at build time, based on the PREFIX
> setting (see README).
->
+>
> If that's not set right, you'll have other problems than just this one,
> so I suggest you check how you installed ikiwiki.
>
> Anyway, I've made the shortcut plugin only warn about this..
> --[[Joey]]
+
+> > I have
+> > $installdir="/home/turian/utils/"
+> > and the underlay dir is set to:
+> > "$installdir/share/ikiwiki/basewiki",
+> > which does contain shortcuts.mdwn. So I am not sure why it is not finding it.
+> > I am grappling with installing ikiwiki in a user account, and would like to get the directories set up correctly.
+> > How can I debug this issue further?
--
cgit v1.2.3
From d1f2437909ee3ae9ee3e3a43be4ede1c5e3ef50a Mon Sep 17 00:00:00 2001
From: "http://cmelbye.myopenid.com/"
Date: Sat, 14 Feb 2009 16:13:34 -0500
Subject: blanking for the luls
---
doc/index.mdwn | 26 --------------------------
1 file changed, 26 deletions(-)
diff --git a/doc/index.mdwn b/doc/index.mdwn
index 93526c42c..8b1378917 100644
--- a/doc/index.mdwn
+++ b/doc/index.mdwn
@@ -1,27 +1 @@
-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
-[[blogging|blog]], as well as a large array of [[plugins]].
-[[!template id=links]]
-
-## using ikiwiki
-
-[[Setup]] has a tutorial for setting up ikiwiki, or you can read the
-[[man_page|usage]]. There are some [[examples]] of things you can do
-with ikiwiki, and some [[tips]].
-
-All wikis are supposed to have a [[SandBox]], so this one does too.
-
-This site generally runs the latest release of ikiwiki; currently, it runs
-ikiwiki [[!version ]].
-
-## developer resources
-
-The [[RoadMap]] describes where the project is going.
-[[Bugs]], [[TODO]] items, [[wishlist]] items, and [[patches|patch]]
-can be submitted and tracked using this wiki.
-
-ikiwiki is developed by [[Joey]] and many contributors,
-and is [[FreeSoftware]].
--
cgit v1.2.3
From 909d4bd32947c137121391b05b3c9deb6c6e1eb9 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Sat, 14 Feb 2009 21:42:58 -0500
Subject: Revert "blanking for the luls"
PS: You're banned.
---
doc/index.mdwn | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/doc/index.mdwn b/doc/index.mdwn
index 8b1378917..93526c42c 100644
--- a/doc/index.mdwn
+++ b/doc/index.mdwn
@@ -1 +1,27 @@
+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
+[[blogging|blog]], as well as a large array of [[plugins]].
+[[!template id=links]]
+
+## using ikiwiki
+
+[[Setup]] has a tutorial for setting up ikiwiki, or you can read the
+[[man_page|usage]]. There are some [[examples]] of things you can do
+with ikiwiki, and some [[tips]].
+
+All wikis are supposed to have a [[SandBox]], so this one does too.
+
+This site generally runs the latest release of ikiwiki; currently, it runs
+ikiwiki [[!version ]].
+
+## developer resources
+
+The [[RoadMap]] describes where the project is going.
+[[Bugs]], [[TODO]] items, [[wishlist]] items, and [[patches|patch]]
+can be submitted and tracked using this wiki.
+
+ikiwiki is developed by [[Joey]] and many contributors,
+and is [[FreeSoftware]].
--
cgit v1.2.3
From a0dadc9108bad3202fb8c35a844a90788662b484 Mon Sep 17 00:00:00 2001
From: "http://hendry.iki.fi/"
Date: Sun, 15 Feb 2009 06:16:45 -0500
Subject: trying to get my favourite wiki to support my favourite markup :-)
---
doc/bugs/html5_support.mdwn | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 doc/bugs/html5_support.mdwn
diff --git a/doc/bugs/html5_support.mdwn b/doc/bugs/html5_support.mdwn
new file mode 100644
index 000000000..14c2597e9
--- /dev/null
+++ b/doc/bugs/html5_support.mdwn
@@ -0,0 +1,16 @@
+Some elements of [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/) can be safely supported by ikiwiki. There are [several differences between HTML4 and HTMl5](http://www.w3.org/TR/html5-diff/). Unsupported new elements _should degrade gracefully_.
+
+However as an [early adopter](http://en.wikipedia.org/wiki/Early_adopter) I would like to start using HTML5 as much as possible. The more pragmatic solution would be to use elements supported by the browsers of your readership I guess. I'm following other early adopters like [Anne](http://annevankesteren.nl/) for clues on how to proceed.
+
+* [Initial patch](http://git.webconverger.org/?p=ikiwiki;a=commit;h=2e2bb3f74f5000b1269142d6f9bdf1bcb4075ca4)
+
+I'm unsure how to turn off the test validation by the very old [wdg-html-validator](http://packages.qa.debian.org/w/wdg-html-validator.html). So I have been unable to test my initial patches as I can't build ikiwiki. I would like to know how to edit the rules/Makefile to temporarily disable this.
+
+[validator.nu](http://validator.nu/) incidentally is **the** HTML5 validator, however it is almost impossible to sanely introduce as a build dependency because of its insane Java requirements. :( I test locally via [cURL](http://wiki.whatwg.org/wiki/IDE), though Debian packages cannot be built with a network dependency.
+
+# Notes
+
+* the [time element](http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-time-element) ideally needs the datatime= attribute set with iso8601 time
+* I suspect the migration to the new semantic elements of HTML5 like article, header & footer to take some time, due to browser support. Though they sure make the template code look much nicer.
+* ` ` and too many `
`s usually indicates poor semantics.
+* Many of the header ``s should be proper [header elements](http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements)
--
cgit v1.2.3
From 92b8564cb852ab0ae080d9c97205f51f80685de4 Mon Sep 17 00:00:00 2001
From: "http://hendry.iki.fi/"
Date: Sun, 15 Feb 2009 06:26:09 -0500
Subject: openid2
---
doc/bugs/support_for_openid2_logins.mdwn | 10 ++++++++++
1 file changed, 10 insertions(+)
create mode 100644 doc/bugs/support_for_openid2_logins.mdwn
diff --git a/doc/bugs/support_for_openid2_logins.mdwn b/doc/bugs/support_for_openid2_logins.mdwn
new file mode 100644
index 000000000..f78d50c3c
--- /dev/null
+++ b/doc/bugs/support_for_openid2_logins.mdwn
@@ -0,0 +1,10 @@
+I have several complaints that users cannot contribute to my ikiwiki instances since they only have OpenID logins that support OpenID2. E.g. Yahoo!'s OpenID only supports 2.0+
+
+This is not the fault of ikiwiki, though the problem lies within the [perl openid consumer](http://packages.qa.debian.org/libn/libnet-openid-consumer-perl.html) in Debian which is a 1.x implementation AFAIK.
+
+I've contacted JanRain who have pointed me to:
+
+* [OpenID4Perl](http://code.sxip.com/openid4perl/)
+* Some [work](http://code.sixapart.com/svn/openid/trunk/perl/) by David Recordon
+
+However both Perl OpenID 2.x implementations have not been released and are incomplete implementations. :(
--
cgit v1.2.3
From 71f353640c2d42b068f8549f1d9acc96060d8d81 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Sun, 15 Feb 2009 17:36:27 -0500
Subject: suggestion
---
doc/bugs/html5_support.mdwn | 2 ++
1 file changed, 2 insertions(+)
diff --git a/doc/bugs/html5_support.mdwn b/doc/bugs/html5_support.mdwn
index 14c2597e9..806454bcb 100644
--- a/doc/bugs/html5_support.mdwn
+++ b/doc/bugs/html5_support.mdwn
@@ -6,6 +6,8 @@ However as an [early adopter](http://en.wikipedia.org/wiki/Early_adopter) I woul
I'm unsure how to turn off the test validation by the very old [wdg-html-validator](http://packages.qa.debian.org/w/wdg-html-validator.html). So I have been unable to test my initial patches as I can't build ikiwiki. I would like to know how to edit the rules/Makefile to temporarily disable this.
+> Don't run ¨make test" ... --[[Joey]]
+
[validator.nu](http://validator.nu/) incidentally is **the** HTML5 validator, however it is almost impossible to sanely introduce as a build dependency because of its insane Java requirements. :( I test locally via [cURL](http://wiki.whatwg.org/wiki/IDE), though Debian packages cannot be built with a network dependency.
# Notes
--
cgit v1.2.3
From 8da7875b2f341618e4e7da4cfe7169ca10e9607b Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Sun, 15 Feb 2009 17:40:10 -0500
Subject: suggestion
---
doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn b/doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn
index 5efbad5fb..57792c5ec 100644
--- a/doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn
+++ b/doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn
@@ -26,3 +26,6 @@ I am not sure why it is not finding shortcuts.mdwn. -- [[JosephTurian]]
> > which does contain shortcuts.mdwn. So I am not sure why it is not finding it.
> > I am grappling with installing ikiwiki in a user account, and would like to get the directories set up correctly.
> > How can I debug this issue further?
+
+>>>> Why don't you strace it and look at where it's looking for
+>>>> shortcuts.mdwn. --[[Joey]]
--
cgit v1.2.3
From a86638f980db533447bbc3d332a4b762efbf7a5f Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Sun, 15 Feb 2009 17:48:12 -0500
Subject: response
---
doc/bugs/remove_orphaned_sparkline-php_from_Suggests.mdwn | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/doc/bugs/remove_orphaned_sparkline-php_from_Suggests.mdwn b/doc/bugs/remove_orphaned_sparkline-php_from_Suggests.mdwn
index 8f0482791..b4e2a1501 100644
--- a/doc/bugs/remove_orphaned_sparkline-php_from_Suggests.mdwn
+++ b/doc/bugs/remove_orphaned_sparkline-php_from_Suggests.mdwn
@@ -5,3 +5,16 @@ How about to replace sparkline-php from Suggests by a better alternative?
I would like to file a RM bug to get it out of archive. Do you have a better alternative for it? PHP has a lot of them..
Thanks
+
+> sparline-php is orphaned *in Debian*. Upstream, is has seen activity as
+> recently as 11 months ago.
+>
+> I don't know of a better alternative. I looked at the perl sparkline
+> stuff in CPAN and is was bad enough that the pain of using php from this
+> perl program was a better alternative.
+>
+> Anyway, it works great; maintaining the sparkline-php package in Debian
+> would certianly be much less work than finding some alternative and
+> rewriting the ikiwiki code to use it, *and* packaging that alternative
+> and maintaining it in Debian. So your suggestion doesn't make a lot of
+> sense; Debian should just find a maintainer for sparkline-php. --[[Joey]]
--
cgit v1.2.3
From d6c530889ccb6284784b78f9bd7f0620e99f72c0 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Sun, 15 Feb 2009 18:13:22 -0500
Subject: further comments
---
doc/bugs/html5_support.mdwn | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/doc/bugs/html5_support.mdwn b/doc/bugs/html5_support.mdwn
index 806454bcb..fe70a08d1 100644
--- a/doc/bugs/html5_support.mdwn
+++ b/doc/bugs/html5_support.mdwn
@@ -1,9 +1,36 @@
Some elements of [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/) can be safely supported by ikiwiki. There are [several differences between HTML4 and HTMl5](http://www.w3.org/TR/html5-diff/). Unsupported new elements _should degrade gracefully_.
+> In the `origin/html` branch, there is an old work in progress to make
+> ikiwiki use html 4 instead of xhtml. If that could be brought forward and
+> finished then the plan has been to switch ikiwiki over to doing html 4.
+> I don't think it makes sense to try to make it support both xhtml and
+> html, it would complicate the code for no benefit.
+>
+> I think that is the best route toward supporting html 5 as well. Get
+> ikiwiki doing html 4 first and the changes needed to get to 5 from there
+> should be small. Probably just changing some doctypes and a few other
+> small changes which could be kept in a branch, or even shipped in ikiwiki
+> mainline as an alternate set of templates. Some of the changes, like
+> supporting new html 5 tags in the htmlscrubber, can be done in mainline.
+> (Like was already done for the html 5 video and audio tags.)
+>
+> This approach seems much more maintainable going foward than rolling a
+> html 5 branch immediatly and trying to keep that continually up-to-date
+> with mainline ikiwiki that is still using xhtml. --[[Joey]]
+
However as an [early adopter](http://en.wikipedia.org/wiki/Early_adopter) I would like to start using HTML5 as much as possible. The more pragmatic solution would be to use elements supported by the browsers of your readership I guess. I'm following other early adopters like [Anne](http://annevankesteren.nl/) for clues on how to proceed.
* [Initial patch](http://git.webconverger.org/?p=ikiwiki;a=commit;h=2e2bb3f74f5000b1269142d6f9bdf1bcb4075ca4)
+> I can't figure out how to pull from this repository.
+
+ joey@gnu:~/tmp>git clone git://webconverger.org/git/ikiwiki.git
+ Initialized empty Git repository in /home/joey/tmp/ikiwiki/.git/
+ fatal: The remote end hung up unexpectedly
+
+> Assuming I got the url right.. your gitweb claims it's
+> `git://webconverger.org/git/iceweasel-webconverger.git` --[[Joey]]
+
I'm unsure how to turn off the test validation by the very old [wdg-html-validator](http://packages.qa.debian.org/w/wdg-html-validator.html). So I have been unable to test my initial patches as I can't build ikiwiki. I would like to know how to edit the rules/Makefile to temporarily disable this.
> Don't run ¨make test" ... --[[Joey]]
@@ -15,4 +42,7 @@ I'm unsure how to turn off the test validation by the very old [wdg-html-validat
* the [time element](http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-time-element) ideally needs the datatime= attribute set with iso8601 time
* I suspect the migration to the new semantic elements of HTML5 like article, header & footer to take some time, due to browser support. Though they sure make the template code look much nicer.
* ` ` and too many `
`s usually indicates poor semantics.
+ > YMMV, but I tend to find that kind of concern counterproductive.
+ > --[[Joey]]
* Many of the header ``s should be proper [header elements](http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements)
+ > See [[todo/Option_to_make_title_an_h1__63__]] for why not. --[[Joey]]
--
cgit v1.2.3
From 384c267e730a6ca911021516949fee336b672da7 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Sun, 15 Feb 2009 18:25:18 -0500
Subject: releasing version 3.04
---
po/bg.po | 145 +++++++++++++++++++++++++++++--------------------------
po/cs.po | 145 +++++++++++++++++++++++++++++--------------------------
po/da.po | 143 +++++++++++++++++++++++++++++--------------------------
po/de.po | 148 +++++++++++++++++++++++++++++++--------------------------
po/es.po | 120 +++++++++++++++++++++++-----------------------
po/fr.po | 143 +++++++++++++++++++++++++++++--------------------------
po/gu.po | 145 +++++++++++++++++++++++++++++--------------------------
po/ikiwiki.pot | 140 +++++++++++++++++++++++++++--------------------------
po/pl.po | 145 +++++++++++++++++++++++++++++--------------------------
po/sv.po | 145 +++++++++++++++++++++++++++++--------------------------
po/vi.po | 145 +++++++++++++++++++++++++++++--------------------------
11 files changed, 828 insertions(+), 736 deletions(-)
diff --git a/po/bg.po b/po/bg.po
index 49bf1798e..1084e5b45 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-01-17 18:19-0500\n"
+"POT-Creation-Date: 2009-02-14 03:04-0500\n"
"PO-Revision-Date: 2007-01-12 01:19+0200\n"
"Last-Translator: Damyan Ivanov \n"
"Language-Team: Bulgarian \n"
@@ -24,7 +24,7 @@ msgstr "Първо трябва да влезете."
msgid "login failed, perhaps you need to turn on cookies?"
msgstr ""
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:280
+#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:294
msgid "Your login session has expired."
msgstr ""
@@ -45,11 +45,11 @@ msgstr ""
msgid "Preferences saved."
msgstr "Предпочитанията са запазени."
-#: ../IkiWiki/CGI.pm:241
+#: ../IkiWiki/CGI.pm:257
msgid "You are banned."
msgstr "Достъпът ви е забранен."
-#: ../IkiWiki/CGI.pm:371 ../IkiWiki/CGI.pm:372 ../IkiWiki.pm:1204
+#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1204
msgid "Error"
msgstr "Грешка"
@@ -122,7 +122,7 @@ msgstr ""
msgid "feed crashed XML::Feed!"
msgstr "данните от източника предизвикаха грешка в модула XML::Feed!"
-#: ../IkiWiki/Plugin/aggregate.pm:605
+#: ../IkiWiki/Plugin/aggregate.pm:610
#, perl-format
msgid "creating new page %s"
msgstr "създаване на нова страницa „%s”"
@@ -131,7 +131,7 @@ msgstr "създаване на нова страницa „%s”"
msgid "deleting bucket.."
msgstr ""
-#: ../IkiWiki/Plugin/amazon_s3.pm:38 ../ikiwiki.in:208
+#: ../IkiWiki/Plugin/amazon_s3.pm:38 ../ikiwiki.in:210
msgid "done"
msgstr "готово"
@@ -175,17 +175,13 @@ msgstr ""
msgid "automatic index generation"
msgstr ""
-#: ../IkiWiki/Plugin/blogspam.pm:102
+#: ../IkiWiki/Plugin/blogspam.pm:105
msgid ""
"Sorry, but that looks like spam to blogspam: "
msgstr ""
-#: ../IkiWiki/Plugin/blogspam.pm:105
-msgid "blogspam server failure: "
-msgstr ""
-
-#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:296
+#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:233
#: ../IkiWiki/Plugin/inline.pm:354 ../IkiWiki/Plugin/opendiscussion.pm:26
#: ../IkiWiki/Plugin/orphans.pm:37 ../IkiWiki/Render.pm:79
#: ../IkiWiki/Render.pm:149
@@ -201,58 +197,68 @@ msgstr ""
msgid "There are no broken links!"
msgstr "Няма „счупени” връзки!"
-#: ../IkiWiki/Plugin/comments.pm:120 ../IkiWiki/Plugin/format.pm:23
+#: ../IkiWiki/Plugin/comments.pm:122 ../IkiWiki/Plugin/format.pm:23
#, perl-format
msgid "unsupported page format %s"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:125
+#: ../IkiWiki/Plugin/comments.pm:127
msgid "comment must have content"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:181
+#: ../IkiWiki/Plugin/comments.pm:183
msgid "Anonymous"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:252 ../IkiWiki/Plugin/recentchanges.pm:110
-#, fuzzy
-msgid "missing page"
-msgstr "липсващ параметър „id” на шаблона"
-
-#: ../IkiWiki/Plugin/comments.pm:254 ../IkiWiki/Plugin/recentchanges.pm:112
-#, perl-format
-msgid "The page %s does not exist."
-msgstr ""
-
-#: ../IkiWiki/Plugin/comments.pm:343 ../IkiWiki/Plugin/editpage.pm:160
+#: ../IkiWiki/Plugin/comments.pm:326 ../IkiWiki/Plugin/editpage.pm:97
msgid "bad page name"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:348
+#: ../IkiWiki/Plugin/comments.pm:331
#, fuzzy, perl-format
msgid "commenting on %s"
msgstr "създаване на %s"
-#: ../IkiWiki/Plugin/comments.pm:366
+#: ../IkiWiki/Plugin/comments.pm:349
#, perl-format
msgid "page '%s' doesn't exist, so you can't comment"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:373
+#: ../IkiWiki/Plugin/comments.pm:356
#, perl-format
msgid "comments on page '%s' are closed"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:493
+#: ../IkiWiki/Plugin/comments.pm:450
+msgid "comment stored for moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:452
+msgid "Your comment will be posted after moderator review"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:465
msgid "Added a comment"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:497
+#: ../IkiWiki/Plugin/comments.pm:469
#, perl-format
msgid "Added a comment: %s"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:611
+#: ../IkiWiki/Plugin/comments.pm:510 ../IkiWiki/Plugin/websetup.pm:236
+msgid "you are not logged in as an admin"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:561
+msgid "Comment moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:600
+msgid "comment moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:750
msgid "Comments"
msgstr ""
@@ -277,19 +283,19 @@ msgstr ""
msgid "removing old preview %s"
msgstr "премахване на старата страница „%s”"
-#: ../IkiWiki/Plugin/editpage.pm:176
+#: ../IkiWiki/Plugin/editpage.pm:113
#, perl-format
msgid "%s is not an editable page"
msgstr ""
-#: ../IkiWiki/Plugin/editpage.pm:352
+#: ../IkiWiki/Plugin/editpage.pm:289
#, perl-format
msgid "creating %s"
msgstr "създаване на %s"
-#: ../IkiWiki/Plugin/editpage.pm:370 ../IkiWiki/Plugin/editpage.pm:389
-#: ../IkiWiki/Plugin/editpage.pm:399 ../IkiWiki/Plugin/editpage.pm:443
-#: ../IkiWiki/Plugin/editpage.pm:482
+#: ../IkiWiki/Plugin/editpage.pm:307 ../IkiWiki/Plugin/editpage.pm:326
+#: ../IkiWiki/Plugin/editpage.pm:336 ../IkiWiki/Plugin/editpage.pm:380
+#: ../IkiWiki/Plugin/editpage.pm:419
#, perl-format
msgid "editing %s"
msgstr "промяна на %s"
@@ -322,18 +328,18 @@ msgstr ""
msgid "fortune failed"
msgstr "грешшка в приставката „fortune”"
-#: ../IkiWiki/Plugin/git.pm:618 ../IkiWiki/Plugin/git.pm:636
+#: ../IkiWiki/Plugin/git.pm:624 ../IkiWiki/Plugin/git.pm:642
#: ../IkiWiki/Receive.pm:129
#, perl-format
msgid "you are not allowed to change %s"
msgstr ""
-#: ../IkiWiki/Plugin/git.pm:658
+#: ../IkiWiki/Plugin/git.pm:664
#, perl-format
msgid "you cannot act on a file with mode %s"
msgstr ""
-#: ../IkiWiki/Plugin/git.pm:662
+#: ../IkiWiki/Plugin/git.pm:668
msgid "you are not allowed to change file modes"
msgstr ""
@@ -346,6 +352,16 @@ msgstr "При използване на приеставката „search”
msgid "Failed to parse url, cannot determine domain name"
msgstr ""
+#: ../IkiWiki/Plugin/goto.pm:49
+#, fuzzy
+msgid "missing page"
+msgstr "липсващ параметър „id” на шаблона"
+
+#: ../IkiWiki/Plugin/goto.pm:51
+#, perl-format
+msgid "The page %s does not exist."
+msgstr ""
+
#: ../IkiWiki/Plugin/graphviz.pm:67
#, fuzzy
msgid "failed to run graphviz"
@@ -415,7 +431,7 @@ msgstr ""
msgid "Discussion"
msgstr "Дискусия"
-#: ../IkiWiki/Plugin/inline.pm:587
+#: ../IkiWiki/Plugin/inline.pm:593
msgid "RPC::XML::Client not found, not pinging"
msgstr "модулът „RPC::XML::Client” не е намерен; източникът не е проверен"
@@ -441,17 +457,17 @@ msgstr ""
"грешка при зареждането на perl-модула „Markdown.pm” (%s) или „/usr/bin/"
"markdown” (%s)"
-#: ../IkiWiki/Plugin/meta.pm:151
+#: ../IkiWiki/Plugin/meta.pm:158
#, fuzzy
msgid "stylesheet not found"
msgstr "шаблонът „%s” не е намерен"
-#: ../IkiWiki/Plugin/meta.pm:185
+#: ../IkiWiki/Plugin/meta.pm:192
#, fuzzy
msgid "redir page not found"
msgstr "шаблонът „%s” не е намерен"
-#: ../IkiWiki/Plugin/meta.pm:198
+#: ../IkiWiki/Plugin/meta.pm:205
#, fuzzy
msgid "redir cycle is not allowed"
msgstr "шаблонът „%s” не е намерен"
@@ -736,11 +752,12 @@ msgstr ""
msgid "search"
msgstr ""
-#: ../IkiWiki/Plugin/shortcut.pm:28
-msgid "shortcut plugin will not work without a shortcuts.mdwn"
+#: ../IkiWiki/Plugin/shortcut.pm:31
+#, perl-format
+msgid "shortcut plugin will not work without %s"
msgstr ""
-#: ../IkiWiki/Plugin/shortcut.pm:38
+#: ../IkiWiki/Plugin/shortcut.pm:44
#, fuzzy
msgid "missing name or url parameter"
msgstr "препратката няма указани параметрите „name” или „url”"
@@ -748,7 +765,7 @@ msgstr "препратката няма указани параметрите
#. translators: This is used to display what shortcuts are defined.
#. translators: First parameter is the name of the shortcut, the second
#. translators: is an URL.
-#: ../IkiWiki/Plugin/shortcut.pm:48
+#: ../IkiWiki/Plugin/shortcut.pm:54
#, fuzzy, perl-format
msgid "shortcut %s points to %s"
msgstr "препратката „%s” сочи към „%s”"
@@ -853,10 +870,6 @@ msgstr ""
msgid "enable %s?"
msgstr ""
-#: ../IkiWiki/Plugin/websetup.pm:236
-msgid "you are not logged in as an admin"
-msgstr ""
-
#: ../IkiWiki/Plugin/websetup.pm:240
msgid "setup file for this wiki is not known"
msgstr ""
@@ -959,16 +972,16 @@ msgstr "ikiwiki: неуспех при обновяване на страниц
msgid "cannot read %s: %s"
msgstr "грешка при четене на „%s”: %s"
-#: ../IkiWiki/Setup/Automator.pm:33
+#: ../IkiWiki/Setup/Automator.pm:34
msgid "you must enter a wikiname (that contains alphanumerics)"
msgstr ""
-#: ../IkiWiki/Setup/Automator.pm:67
+#: ../IkiWiki/Setup/Automator.pm:68
#, perl-format
msgid "unsupported revision control system %s"
msgstr ""
-#: ../IkiWiki/Setup/Automator.pm:93
+#: ../IkiWiki/Setup/Automator.pm:94
msgid "failed to set up the repository with ikiwiki-makerepo"
msgstr ""
@@ -985,21 +998,14 @@ msgstr "не може да бъде създадена обвивка, коят
msgid "wrapper filename not specified"
msgstr "не е указан файл на обвивката"
-#. translators: The first parameter is a filename, and the second is
-#. translators: a (probably not translated) error message.
-#: ../IkiWiki/Wrapper.pm:97
-#, perl-format
-msgid "failed to write %s: %s"
-msgstr "грешка при запис на файла „%s”: %s"
-
#. translators: The parameter is a C filename.
-#: ../IkiWiki/Wrapper.pm:154
+#: ../IkiWiki/Wrapper.pm:152
#, perl-format
msgid "failed to compile %s"
msgstr "крешка при компилиране на файла %s"
#. translators: The parameter is a filename.
-#: ../IkiWiki/Wrapper.pm:174
+#: ../IkiWiki/Wrapper.pm:172
#, perl-format
msgid "successfully generated %s"
msgstr "успешно генериране на %s"
@@ -1016,15 +1022,15 @@ msgstr ""
msgid "usage: --set var=value"
msgstr ""
-#: ../ikiwiki.in:139
+#: ../ikiwiki.in:140
msgid "generating wrappers.."
msgstr "генериране на обвивки..."
-#: ../ikiwiki.in:197
+#: ../ikiwiki.in:199
msgid "rebuilding wiki.."
msgstr "обновяване на уики..."
-#: ../ikiwiki.in:200
+#: ../ikiwiki.in:202
msgid "refreshing wiki.."
msgstr "осъвременяване на уики..."
@@ -1048,7 +1054,7 @@ msgstr ""
msgid "preprocessing loop detected on %s at depth %i"
msgstr "открита е циклична завидимост при %s на „%s” на дълбочина %i"
-#: ../IkiWiki.pm:1661
+#: ../IkiWiki.pm:1725
msgid "yes"
msgstr ""
@@ -1072,6 +1078,9 @@ msgstr ""
msgid "What is the domain name of the web server?"
msgstr ""
+#~ msgid "failed to write %s: %s"
+#~ msgstr "грешка при запис на файла „%s”: %s"
+
#, fuzzy
#~ msgid "failed to find url in html"
#~ msgstr "приставката „googlecalendar” не намери URL в HTML-кода"
diff --git a/po/cs.po b/po/cs.po
index b32764fc5..0af99ab03 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-01-17 18:19-0500\n"
+"POT-Creation-Date: 2009-02-14 03:04-0500\n"
"PO-Revision-Date: 2007-05-09 21:21+0200\n"
"Last-Translator: Miroslav Kure \n"
"Language-Team: Czech \n"
@@ -23,7 +23,7 @@ msgstr "Nejprve se musíte přihlásit."
msgid "login failed, perhaps you need to turn on cookies?"
msgstr "přihlášení selhalo; možná si musíte povolit cookies?"
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:280
+#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:294
msgid "Your login session has expired."
msgstr ""
@@ -43,11 +43,11 @@ msgstr "Správce"
msgid "Preferences saved."
msgstr "Nastavení uloženo."
-#: ../IkiWiki/CGI.pm:241
+#: ../IkiWiki/CGI.pm:257
msgid "You are banned."
msgstr "Jste vyhoštěni."
-#: ../IkiWiki/CGI.pm:371 ../IkiWiki/CGI.pm:372 ../IkiWiki.pm:1204
+#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1204
msgid "Error"
msgstr "Chyba"
@@ -119,7 +119,7 @@ msgstr ""
msgid "feed crashed XML::Feed!"
msgstr "zdroj shodil XML::Feed!"
-#: ../IkiWiki/Plugin/aggregate.pm:605
+#: ../IkiWiki/Plugin/aggregate.pm:610
#, perl-format
msgid "creating new page %s"
msgstr "vytvářím novou stránku %s"
@@ -128,7 +128,7 @@ msgstr "vytvářím novou stránku %s"
msgid "deleting bucket.."
msgstr ""
-#: ../IkiWiki/Plugin/amazon_s3.pm:38 ../ikiwiki.in:208
+#: ../IkiWiki/Plugin/amazon_s3.pm:38 ../ikiwiki.in:210
msgid "done"
msgstr "hotovo"
@@ -172,17 +172,13 @@ msgstr ""
msgid "automatic index generation"
msgstr ""
-#: ../IkiWiki/Plugin/blogspam.pm:102
+#: ../IkiWiki/Plugin/blogspam.pm:105
msgid ""
"Sorry, but that looks like spam to blogspam: "
msgstr ""
-#: ../IkiWiki/Plugin/blogspam.pm:105
-msgid "blogspam server failure: "
-msgstr ""
-
-#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:296
+#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:233
#: ../IkiWiki/Plugin/inline.pm:354 ../IkiWiki/Plugin/opendiscussion.pm:26
#: ../IkiWiki/Plugin/orphans.pm:37 ../IkiWiki/Render.pm:79
#: ../IkiWiki/Render.pm:149
@@ -198,58 +194,68 @@ msgstr ""
msgid "There are no broken links!"
msgstr "Žádné porušené odkazy!"
-#: ../IkiWiki/Plugin/comments.pm:120 ../IkiWiki/Plugin/format.pm:23
+#: ../IkiWiki/Plugin/comments.pm:122 ../IkiWiki/Plugin/format.pm:23
#, perl-format
msgid "unsupported page format %s"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:125
+#: ../IkiWiki/Plugin/comments.pm:127
msgid "comment must have content"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:181
+#: ../IkiWiki/Plugin/comments.pm:183
msgid "Anonymous"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:252 ../IkiWiki/Plugin/recentchanges.pm:110
-#, fuzzy
-msgid "missing page"
-msgstr "chybí hodnoty"
-
-#: ../IkiWiki/Plugin/comments.pm:254 ../IkiWiki/Plugin/recentchanges.pm:112
-#, perl-format
-msgid "The page %s does not exist."
-msgstr ""
-
-#: ../IkiWiki/Plugin/comments.pm:343 ../IkiWiki/Plugin/editpage.pm:160
+#: ../IkiWiki/Plugin/comments.pm:326 ../IkiWiki/Plugin/editpage.pm:97
msgid "bad page name"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:348
+#: ../IkiWiki/Plugin/comments.pm:331
#, fuzzy, perl-format
msgid "commenting on %s"
msgstr "vytvářím %s"
-#: ../IkiWiki/Plugin/comments.pm:366
+#: ../IkiWiki/Plugin/comments.pm:349
#, perl-format
msgid "page '%s' doesn't exist, so you can't comment"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:373
+#: ../IkiWiki/Plugin/comments.pm:356
#, perl-format
msgid "comments on page '%s' are closed"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:493
+#: ../IkiWiki/Plugin/comments.pm:450
+msgid "comment stored for moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:452
+msgid "Your comment will be posted after moderator review"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:465
msgid "Added a comment"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:497
+#: ../IkiWiki/Plugin/comments.pm:469
#, perl-format
msgid "Added a comment: %s"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:611
+#: ../IkiWiki/Plugin/comments.pm:510 ../IkiWiki/Plugin/websetup.pm:236
+msgid "you are not logged in as an admin"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:561
+msgid "Comment moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:600
+msgid "comment moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:750
msgid "Comments"
msgstr ""
@@ -274,19 +280,19 @@ msgstr ""
msgid "removing old preview %s"
msgstr "odstraňuji starou stránku %s"
-#: ../IkiWiki/Plugin/editpage.pm:176
+#: ../IkiWiki/Plugin/editpage.pm:113
#, perl-format
msgid "%s is not an editable page"
msgstr "%s není editovatelná stránka"
-#: ../IkiWiki/Plugin/editpage.pm:352
+#: ../IkiWiki/Plugin/editpage.pm:289
#, perl-format
msgid "creating %s"
msgstr "vytvářím %s"
-#: ../IkiWiki/Plugin/editpage.pm:370 ../IkiWiki/Plugin/editpage.pm:389
-#: ../IkiWiki/Plugin/editpage.pm:399 ../IkiWiki/Plugin/editpage.pm:443
-#: ../IkiWiki/Plugin/editpage.pm:482
+#: ../IkiWiki/Plugin/editpage.pm:307 ../IkiWiki/Plugin/editpage.pm:326
+#: ../IkiWiki/Plugin/editpage.pm:336 ../IkiWiki/Plugin/editpage.pm:380
+#: ../IkiWiki/Plugin/editpage.pm:419
#, perl-format
msgid "editing %s"
msgstr "upravuji %s"
@@ -319,18 +325,18 @@ msgstr ""
msgid "fortune failed"
msgstr "fortune selhal"
-#: ../IkiWiki/Plugin/git.pm:618 ../IkiWiki/Plugin/git.pm:636
+#: ../IkiWiki/Plugin/git.pm:624 ../IkiWiki/Plugin/git.pm:642
#: ../IkiWiki/Receive.pm:129
#, perl-format
msgid "you are not allowed to change %s"
msgstr ""
-#: ../IkiWiki/Plugin/git.pm:658
+#: ../IkiWiki/Plugin/git.pm:664
#, perl-format
msgid "you cannot act on a file with mode %s"
msgstr ""
-#: ../IkiWiki/Plugin/git.pm:662
+#: ../IkiWiki/Plugin/git.pm:668
msgid "you are not allowed to change file modes"
msgstr ""
@@ -343,6 +349,16 @@ 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:49
+#, fuzzy
+msgid "missing page"
+msgstr "chybí hodnoty"
+
+#: ../IkiWiki/Plugin/goto.pm:51
+#, 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"
@@ -409,7 +425,7 @@ msgstr "neexistující šablona %s"
msgid "Discussion"
msgstr "Diskuse"
-#: ../IkiWiki/Plugin/inline.pm:587
+#: ../IkiWiki/Plugin/inline.pm:593
msgid "RPC::XML::Client not found, not pinging"
msgstr "RPC::XML::Client nebyl nalezen, nepinkám"
@@ -432,16 +448,16 @@ msgid "failed to load Markdown.pm perl module (%s) or /usr/bin/markdown (%s)"
msgstr ""
"selhalo nahrání perlového modulu Markdown.pm (%s) nebo /usr/bin/markdown (%s)"
-#: ../IkiWiki/Plugin/meta.pm:151
+#: ../IkiWiki/Plugin/meta.pm:158
msgid "stylesheet not found"
msgstr "styl nebyl nalezen"
-#: ../IkiWiki/Plugin/meta.pm:185
+#: ../IkiWiki/Plugin/meta.pm:192
#, fuzzy
msgid "redir page not found"
msgstr "zdroj nebyl nalezen"
-#: ../IkiWiki/Plugin/meta.pm:198
+#: ../IkiWiki/Plugin/meta.pm:205
#, fuzzy
msgid "redir cycle is not allowed"
msgstr "zdroj nebyl nalezen"
@@ -725,18 +741,19 @@ msgstr ""
msgid "search"
msgstr ""
-#: ../IkiWiki/Plugin/shortcut.pm:28
-msgid "shortcut plugin will not work without a shortcuts.mdwn"
+#: ../IkiWiki/Plugin/shortcut.pm:31
+#, perl-format
+msgid "shortcut plugin will not work without %s"
msgstr ""
-#: ../IkiWiki/Plugin/shortcut.pm:38
+#: ../IkiWiki/Plugin/shortcut.pm:44
msgid "missing name or url parameter"
msgstr "chybí parametr jméno nebo url"
#. translators: This is used to display what shortcuts are defined.
#. translators: First parameter is the name of the shortcut, the second
#. translators: is an URL.
-#: ../IkiWiki/Plugin/shortcut.pm:48
+#: ../IkiWiki/Plugin/shortcut.pm:54
#, perl-format
msgid "shortcut %s points to %s"
msgstr "zkratka %s odkazuje na %s"
@@ -834,10 +851,6 @@ msgstr ""
msgid "enable %s?"
msgstr ""
-#: ../IkiWiki/Plugin/websetup.pm:236
-msgid "you are not logged in as an admin"
-msgstr ""
-
#: ../IkiWiki/Plugin/websetup.pm:240
msgid "setup file for this wiki is not known"
msgstr ""
@@ -941,16 +954,16 @@ msgstr "ikiwiki: nelze zpracovat %s"
msgid "cannot read %s: %s"
msgstr "nemohu číst %s: %s"
-#: ../IkiWiki/Setup/Automator.pm:33
+#: ../IkiWiki/Setup/Automator.pm:34
msgid "you must enter a wikiname (that contains alphanumerics)"
msgstr ""
-#: ../IkiWiki/Setup/Automator.pm:67
+#: ../IkiWiki/Setup/Automator.pm:68
#, perl-format
msgid "unsupported revision control system %s"
msgstr ""
-#: ../IkiWiki/Setup/Automator.pm:93
+#: ../IkiWiki/Setup/Automator.pm:94
msgid "failed to set up the repository with ikiwiki-makerepo"
msgstr ""
@@ -967,21 +980,14 @@ msgstr "nemohu vytvořit obal, který využívá soubor setup"
msgid "wrapper filename not specified"
msgstr "jméno souboru s obalem nebylo zadáno"
-#. translators: The first parameter is a filename, and the second is
-#. translators: a (probably not translated) error message.
-#: ../IkiWiki/Wrapper.pm:97
-#, perl-format
-msgid "failed to write %s: %s"
-msgstr "nelze zapsat %s: %s"
-
#. translators: The parameter is a C filename.
-#: ../IkiWiki/Wrapper.pm:154
+#: ../IkiWiki/Wrapper.pm:152
#, perl-format
msgid "failed to compile %s"
msgstr "nelze zkompilovat %s"
#. translators: The parameter is a filename.
-#: ../IkiWiki/Wrapper.pm:174
+#: ../IkiWiki/Wrapper.pm:172
#, perl-format
msgid "successfully generated %s"
msgstr "%s byl úspěšně vytvořen"
@@ -998,15 +1004,15 @@ msgstr ""
msgid "usage: --set var=value"
msgstr ""
-#: ../ikiwiki.in:139
+#: ../ikiwiki.in:140
msgid "generating wrappers.."
msgstr "generuji obaly..."
-#: ../ikiwiki.in:197
+#: ../ikiwiki.in:199
msgid "rebuilding wiki.."
msgstr "znovu vytvářím wiki..."
-#: ../ikiwiki.in:200
+#: ../ikiwiki.in:202
msgid "refreshing wiki.."
msgstr "obnovuji wiki..."
@@ -1028,7 +1034,7 @@ msgstr ""
msgid "preprocessing loop detected on %s at depth %i"
msgstr "Byla rozpoznána smyčka direktivy %s na %s v hloubce %i"
-#: ../IkiWiki.pm:1661
+#: ../IkiWiki.pm:1725
msgid "yes"
msgstr ""
@@ -1052,6 +1058,9 @@ msgstr ""
msgid "What is the domain name of the web server?"
msgstr ""
+#~ msgid "failed to write %s: %s"
+#~ msgstr "nelze zapsat %s: %s"
+
#~ msgid "failed to find url in html"
#~ msgstr "v html se nepodařilo nalézt url"
diff --git a/po/da.po b/po/da.po
index 83a781ee8..425050a51 100644
--- a/po/da.po
+++ b/po/da.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ikiwiki\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-01-17 18:19-0500\n"
+"POT-Creation-Date: 2009-02-14 03:04-0500\n"
"PO-Revision-Date: 2008-10-22 19:13+0100\n"
"Last-Translator: Jonas Smedegaard \n"
"Language-Team: None\n"
@@ -27,7 +27,7 @@ msgstr "Du skal først logge på."
msgid "login failed, perhaps you need to turn on cookies?"
msgstr "Pålogning mislykkedes, måske skal du tillade infokager (cookies)?"
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:280
+#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:294
msgid "Your login session has expired."
msgstr "Din kørsel (login session) er udløbet"
@@ -47,11 +47,11 @@ msgstr "Admin"
msgid "Preferences saved."
msgstr "Indstillinger gemt"
-#: ../IkiWiki/CGI.pm:241
+#: ../IkiWiki/CGI.pm:257
msgid "You are banned."
msgstr "Du er banlyst."
-#: ../IkiWiki/CGI.pm:371 ../IkiWiki/CGI.pm:372 ../IkiWiki.pm:1204
+#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1204
msgid "Error"
msgstr "Fejl"
@@ -123,7 +123,7 @@ msgstr "(fødningselementer omgået (escaped))"
msgid "feed crashed XML::Feed!"
msgstr "fødning fik XML::Feed til at bryde sammen!"
-#: ../IkiWiki/Plugin/aggregate.pm:605
+#: ../IkiWiki/Plugin/aggregate.pm:610
#, perl-format
msgid "creating new page %s"
msgstr "opretter ny side %s"
@@ -132,7 +132,7 @@ msgstr "opretter ny side %s"
msgid "deleting bucket.."
msgstr "sletter bundt.."
-#: ../IkiWiki/Plugin/amazon_s3.pm:38 ../ikiwiki.in:208
+#: ../IkiWiki/Plugin/amazon_s3.pm:38 ../ikiwiki.in:210
msgid "done"
msgstr "færdig"
@@ -174,17 +174,13 @@ msgstr "vedhæftningsoplægning"
msgid "automatic index generation"
msgstr "automatisk indeks-dannelse"
-#: ../IkiWiki/Plugin/blogspam.pm:102
+#: ../IkiWiki/Plugin/blogspam.pm:105
msgid ""
"Sorry, but that looks like spam to blogspam: "
msgstr ""
-#: ../IkiWiki/Plugin/blogspam.pm:105
-msgid "blogspam server failure: "
-msgstr ""
-
-#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:296
+#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:233
#: ../IkiWiki/Plugin/inline.pm:354 ../IkiWiki/Plugin/opendiscussion.pm:26
#: ../IkiWiki/Plugin/orphans.pm:37 ../IkiWiki/Render.pm:79
#: ../IkiWiki/Render.pm:149
@@ -200,58 +196,69 @@ msgstr "%s fra %s"
msgid "There are no broken links!"
msgstr "Ingen henvisninger der ikker fungerer!"
-#: ../IkiWiki/Plugin/comments.pm:120 ../IkiWiki/Plugin/format.pm:23
+#: ../IkiWiki/Plugin/comments.pm:122 ../IkiWiki/Plugin/format.pm:23
#, fuzzy, perl-format
msgid "unsupported page format %s"
msgstr "revisionskontrolsystem %s ikke understøttet"
-#: ../IkiWiki/Plugin/comments.pm:125
+#: ../IkiWiki/Plugin/comments.pm:127
msgid "comment must have content"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:181
+#: ../IkiWiki/Plugin/comments.pm:183
msgid "Anonymous"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:252 ../IkiWiki/Plugin/recentchanges.pm:110
-msgid "missing page"
-msgstr "manglende side"
-
-#: ../IkiWiki/Plugin/comments.pm:254 ../IkiWiki/Plugin/recentchanges.pm:112
-#, perl-format
-msgid "The page %s does not exist."
-msgstr "Siden %s eksisterer ikke."
-
-#: ../IkiWiki/Plugin/comments.pm:343 ../IkiWiki/Plugin/editpage.pm:160
+#: ../IkiWiki/Plugin/comments.pm:326 ../IkiWiki/Plugin/editpage.pm:97
#, fuzzy
msgid "bad page name"
msgstr "dårligt vedhæftningsfilnavn"
-#: ../IkiWiki/Plugin/comments.pm:348
+#: ../IkiWiki/Plugin/comments.pm:331
#, fuzzy, perl-format
msgid "commenting on %s"
msgstr "opretter %s"
-#: ../IkiWiki/Plugin/comments.pm:366
+#: ../IkiWiki/Plugin/comments.pm:349
#, perl-format
msgid "page '%s' doesn't exist, so you can't comment"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:373
+#: ../IkiWiki/Plugin/comments.pm:356
#, perl-format
msgid "comments on page '%s' are closed"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:493
+#: ../IkiWiki/Plugin/comments.pm:450
+msgid "comment stored for moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:452
+msgid "Your comment will be posted after moderator review"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:465
msgid "Added a comment"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:497
+#: ../IkiWiki/Plugin/comments.pm:469
#, perl-format
msgid "Added a comment: %s"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:611
+#: ../IkiWiki/Plugin/comments.pm:510 ../IkiWiki/Plugin/websetup.pm:236
+msgid "you are not logged in as an admin"
+msgstr "du er ikke logget på som en administrator"
+
+#: ../IkiWiki/Plugin/comments.pm:561
+msgid "Comment moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:600
+msgid "comment moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:750
msgid "Comments"
msgstr ""
@@ -276,19 +283,19 @@ msgstr "ingen tekst blev kopieret i denne side med id %s"
msgid "removing old preview %s"
msgstr "fjerner gammelt smugkig %s"
-#: ../IkiWiki/Plugin/editpage.pm:176
+#: ../IkiWiki/Plugin/editpage.pm:113
#, perl-format
msgid "%s is not an editable page"
msgstr "%s er ikke en redigérbar side"
-#: ../IkiWiki/Plugin/editpage.pm:352
+#: ../IkiWiki/Plugin/editpage.pm:289
#, perl-format
msgid "creating %s"
msgstr "opretter %s"
-#: ../IkiWiki/Plugin/editpage.pm:370 ../IkiWiki/Plugin/editpage.pm:389
-#: ../IkiWiki/Plugin/editpage.pm:399 ../IkiWiki/Plugin/editpage.pm:443
-#: ../IkiWiki/Plugin/editpage.pm:482
+#: ../IkiWiki/Plugin/editpage.pm:307 ../IkiWiki/Plugin/editpage.pm:326
+#: ../IkiWiki/Plugin/editpage.pm:336 ../IkiWiki/Plugin/editpage.pm:380
+#: ../IkiWiki/Plugin/editpage.pm:419
#, perl-format
msgid "editing %s"
msgstr "redigerer %s"
@@ -318,18 +325,18 @@ msgstr ""
msgid "fortune failed"
msgstr "spådom (fortune) fejlede"
-#: ../IkiWiki/Plugin/git.pm:618 ../IkiWiki/Plugin/git.pm:636
+#: ../IkiWiki/Plugin/git.pm:624 ../IkiWiki/Plugin/git.pm:642
#: ../IkiWiki/Receive.pm:129
#, fuzzy, perl-format
msgid "you are not allowed to change %s"
msgstr "du er ikke logget på som en administrator"
-#: ../IkiWiki/Plugin/git.pm:658
+#: ../IkiWiki/Plugin/git.pm:664
#, perl-format
msgid "you cannot act on a file with mode %s"
msgstr ""
-#: ../IkiWiki/Plugin/git.pm:662
+#: ../IkiWiki/Plugin/git.pm:668
#, fuzzy
msgid "you are not allowed to change file modes"
msgstr "du er ikke logget på som en administrator"
@@ -343,6 +350,15 @@ msgstr "Skal angive %s når google søgeudvidelsen 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:49
+msgid "missing page"
+msgstr "manglende side"
+
+#: ../IkiWiki/Plugin/goto.pm:51
+#, 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"
@@ -406,7 +422,7 @@ msgstr "ikke-eksisterende skabelon: %s"
msgid "Discussion"
msgstr "Diskussion"
-#: ../IkiWiki/Plugin/inline.pm:587
+#: ../IkiWiki/Plugin/inline.pm:593
msgid "RPC::XML::Client not found, not pinging"
msgstr "RPC::XML::Client ikke fundet, pinger ikke"
@@ -431,15 +447,15 @@ msgstr ""
"Indlæsning af perl-modulet Markdown.pm (%s) eller /usr/bin/markdown (%s) "
"mislykkedes"
-#: ../IkiWiki/Plugin/meta.pm:151
+#: ../IkiWiki/Plugin/meta.pm:158
msgid "stylesheet not found"
msgstr "stilsnit (stylesheet) ikke fundet"
-#: ../IkiWiki/Plugin/meta.pm:185
+#: ../IkiWiki/Plugin/meta.pm:192
msgid "redir page not found"
msgstr "henvisningsside ikke fundet"
-#: ../IkiWiki/Plugin/meta.pm:198
+#: ../IkiWiki/Plugin/meta.pm:205
msgid "redir cycle is not allowed"
msgstr "ring af henvisninger er ikke tilladt"
@@ -720,18 +736,19 @@ msgstr "behøver Digest::SHA1 til indeks %s"
msgid "search"
msgstr "søg"
-#: ../IkiWiki/Plugin/shortcut.pm:28
-msgid "shortcut plugin will not work without a shortcuts.mdwn"
+#: ../IkiWiki/Plugin/shortcut.pm:31
+#, fuzzy, perl-format
+msgid "shortcut plugin will not work without %s"
msgstr "genvejsudvidelsen vil ikke fungere uden en shortcuts.mdwn"
-#: ../IkiWiki/Plugin/shortcut.pm:38
+#: ../IkiWiki/Plugin/shortcut.pm:44
msgid "missing name or url parameter"
msgstr "manglende navn eller url parameter"
#. translators: This is used to display what shortcuts are defined.
#. translators: First parameter is the name of the shortcut, the second
#. translators: is an URL.
-#: ../IkiWiki/Plugin/shortcut.pm:48
+#: ../IkiWiki/Plugin/shortcut.pm:54
#, perl-format
msgid "shortcut %s points to %s"
msgstr "genvej %s viser til %s"
@@ -827,10 +844,6 @@ msgstr "udvidelse"
msgid "enable %s?"
msgstr "aktivér %s?"
-#: ../IkiWiki/Plugin/websetup.pm:236
-msgid "you are not logged in as an admin"
-msgstr "du er ikke logget på som en administrator"
-
#: ../IkiWiki/Plugin/websetup.pm:240
msgid "setup file for this wiki is not known"
msgstr "opsætningsfilen for denne wiki er ukendt"
@@ -939,16 +952,16 @@ msgstr "ikiwiki: kan ikke danne %s"
msgid "cannot read %s: %s"
msgstr "kan ikke læse %s: %s"
-#: ../IkiWiki/Setup/Automator.pm:33
+#: ../IkiWiki/Setup/Automator.pm:34
msgid "you must enter a wikiname (that contains alphanumerics)"
msgstr "du skal angive et wikinavn (som indeholder alfanumeriske tegn)"
-#: ../IkiWiki/Setup/Automator.pm:67
+#: ../IkiWiki/Setup/Automator.pm:68
#, perl-format
msgid "unsupported revision control system %s"
msgstr "revisionskontrolsystem %s ikke understøttet"
-#: ../IkiWiki/Setup/Automator.pm:93
+#: ../IkiWiki/Setup/Automator.pm:94
msgid "failed to set up the repository with ikiwiki-makerepo"
msgstr "opsætning af depotet med ikiwiki-makerepo mislykkedes"
@@ -965,21 +978,14 @@ msgstr "kan ikke oprette en wrapper som bruger en opsætningsfil"
msgid "wrapper filename not specified"
msgstr "wrapper-navn ikke angivet"
-#. translators: The first parameter is a filename, and the second is
-#. translators: a (probably not translated) error message.
-#: ../IkiWiki/Wrapper.pm:97
-#, perl-format
-msgid "failed to write %s: %s"
-msgstr "skrivning ad %s mislykkedes: %s"
-
#. translators: The parameter is a C filename.
-#: ../IkiWiki/Wrapper.pm:154
+#: ../IkiWiki/Wrapper.pm:152
#, perl-format
msgid "failed to compile %s"
msgstr "kompilering af %s mislykkedes"
#. translators: The parameter is a filename.
-#: ../IkiWiki/Wrapper.pm:174
+#: ../IkiWiki/Wrapper.pm:172
#, perl-format
msgid "successfully generated %s"
msgstr "Korrekt bygget %s"
@@ -996,15 +1002,15 @@ msgstr " ikiwiki --setup opsætningsfil"
msgid "usage: --set var=value"
msgstr "brug: --set var=værdi"
-#: ../ikiwiki.in:139
+#: ../ikiwiki.in:140
msgid "generating wrappers.."
msgstr "bygger wrappers.."
-#: ../ikiwiki.in:197
+#: ../ikiwiki.in:199
msgid "rebuilding wiki.."
msgstr "genopbygger wiki..."
-#: ../ikiwiki.in:200
+#: ../ikiwiki.in:202
msgid "refreshing wiki.."
msgstr "genopfrisker wiki..."
@@ -1027,7 +1033,7 @@ msgstr ""
msgid "preprocessing loop detected on %s at depth %i"
msgstr "forudberegningssløkke fundet på %s ved dybde %i"
-#: ../IkiWiki.pm:1661
+#: ../IkiWiki.pm:1725
msgid "yes"
msgstr "ja"
@@ -1052,6 +1058,9 @@ msgstr "Hvilken wiki bruger (eller openid) skal være administrator?"
msgid "What is the domain name of the web server?"
msgstr "Hvad er domænenavnet på webserveren?"
+#~ msgid "failed to write %s: %s"
+#~ msgstr "skrivning ad %s mislykkedes: %s"
+
#~ msgid "failed to find url in html"
#~ msgstr "lokalisering af url i html mislykkedes"
diff --git a/po/de.po b/po/de.po
index 6978d61b0..b51384da4 100644
--- a/po/de.po
+++ b/po/de.po
@@ -5,8 +5,8 @@
msgid ""
msgstr ""
"Project-Id-Version: ikiwiki 3.03\n"
-"Report-Msgid-Bugs-To: ikiwiki@packages.debian.org\n"
-"POT-Creation-Date: 2009-01-17 18:19-0500\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-02-14 03:04-0500\n"
"PO-Revision-Date: 2009-02-02 11:23+0100\n"
"Last-Translator: Kai Wasserbäch \n"
"Language-Team: German \n"
@@ -23,7 +23,7 @@ msgid "login failed, perhaps you need to turn on cookies?"
msgstr ""
"Anmeldung fehlgeschlagen, möglicherweise müssen Sie zuvor Cookies aktivieren?"
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:280
+#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:294
msgid "Your login session has expired."
msgstr "Ihre Anmeldung für die aktuelle Sitzung ist abgelaufen."
@@ -43,11 +43,11 @@ msgstr "Administrator"
msgid "Preferences saved."
msgstr "Einstellungen gespeichert."
-#: ../IkiWiki/CGI.pm:241
+#: ../IkiWiki/CGI.pm:257
msgid "You are banned."
msgstr "Sie sind ausgeschlossen worden."
-#: ../IkiWiki/CGI.pm:371 ../IkiWiki/CGI.pm:372 ../IkiWiki.pm:1204
+#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1204
msgid "Error"
msgstr "Fehler"
@@ -119,7 +119,7 @@ msgstr "(Feed-Entitäten maskiert)"
msgid "feed crashed XML::Feed!"
msgstr "Feed führte zum Absturz von XML::Feed!"
-#: ../IkiWiki/Plugin/aggregate.pm:605
+#: ../IkiWiki/Plugin/aggregate.pm:610
#, perl-format
msgid "creating new page %s"
msgstr "erstelle neue Seite %s"
@@ -128,7 +128,7 @@ msgstr "erstelle neue Seite %s"
msgid "deleting bucket.."
msgstr "Lösche Bucket..."
-#: ../IkiWiki/Plugin/amazon_s3.pm:38 ../ikiwiki.in:208
+#: ../IkiWiki/Plugin/amazon_s3.pm:38 ../ikiwiki.in:210
msgid "done"
msgstr "fertig"
@@ -170,7 +170,7 @@ msgstr "Anhang hochladen"
msgid "automatic index generation"
msgstr "automatische Index-Erstellung"
-#: ../IkiWiki/Plugin/blogspam.pm:102
+#: ../IkiWiki/Plugin/blogspam.pm:105
msgid ""
"Sorry, but that looks like spam to blogspam: "
@@ -178,11 +178,7 @@ msgstr ""
"Entschuldigung, aber blogspam stuft das "
"als Spam ein: "
-#: ../IkiWiki/Plugin/blogspam.pm:105
-msgid "blogspam server failure: "
-msgstr "blogspam-Server-Fehler: "
-
-#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:296
+#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:233
#: ../IkiWiki/Plugin/inline.pm:354 ../IkiWiki/Plugin/opendiscussion.pm:26
#: ../IkiWiki/Plugin/orphans.pm:37 ../IkiWiki/Render.pm:79
#: ../IkiWiki/Render.pm:149
@@ -198,58 +194,69 @@ msgstr "%s von %s"
msgid "There are no broken links!"
msgstr "Es gibt keine ungültigen Links!"
-#: ../IkiWiki/Plugin/comments.pm:120 ../IkiWiki/Plugin/format.pm:23
+#: ../IkiWiki/Plugin/comments.pm:122 ../IkiWiki/Plugin/format.pm:23
#, perl-format
msgid "unsupported page format %s"
msgstr "nicht unterstütztes Seitenformat %s"
-#: ../IkiWiki/Plugin/comments.pm:125
+#: ../IkiWiki/Plugin/comments.pm:127
msgid "comment must have content"
msgstr "Kommentare dürfen nicht leer sein."
-#: ../IkiWiki/Plugin/comments.pm:181
+#: ../IkiWiki/Plugin/comments.pm:183
msgid "Anonymous"
msgstr "Anonymer Benutzer"
-#: ../IkiWiki/Plugin/comments.pm:252 ../IkiWiki/Plugin/recentchanges.pm:110
-msgid "missing page"
-msgstr "fehlende Seite"
-
-#: ../IkiWiki/Plugin/comments.pm:254 ../IkiWiki/Plugin/recentchanges.pm:112
-#, perl-format
-msgid "The page %s does not exist."
-msgstr "Die Seite %s existiert nicht."
-
-#: ../IkiWiki/Plugin/comments.pm:343 ../IkiWiki/Plugin/editpage.pm:160
+#: ../IkiWiki/Plugin/comments.pm:326 ../IkiWiki/Plugin/editpage.pm:97
msgid "bad page name"
msgstr "fehlerhafter Seitenname"
-#: ../IkiWiki/Plugin/comments.pm:348
+#: ../IkiWiki/Plugin/comments.pm:331
#, perl-format
msgid "commenting on %s"
msgstr "kommentiere %s"
-#: ../IkiWiki/Plugin/comments.pm:366
+#: ../IkiWiki/Plugin/comments.pm:349
#, perl-format
msgid "page '%s' doesn't exist, so you can't comment"
msgstr ""
"Die Seite »%s« existiert nicht, deshalb können Sie sie nicht kommentieren."
-#: ../IkiWiki/Plugin/comments.pm:373
+#: ../IkiWiki/Plugin/comments.pm:356
#, perl-format
msgid "comments on page '%s' are closed"
msgstr "Es können keine weitern Kommentare für die Seite »%s« abgegeben werden."
-#: ../IkiWiki/Plugin/comments.pm:493
+#: ../IkiWiki/Plugin/comments.pm:450
+msgid "comment stored for moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:452
+msgid "Your comment will be posted after moderator review"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:465
msgid "Added a comment"
msgstr "Kommentar hinzugefügt."
-#: ../IkiWiki/Plugin/comments.pm:497
+#: ../IkiWiki/Plugin/comments.pm:469
#, perl-format
msgid "Added a comment: %s"
msgstr "Kommentar hinzugefügt: %s"
-#: ../IkiWiki/Plugin/comments.pm:611
+#: ../IkiWiki/Plugin/comments.pm:510 ../IkiWiki/Plugin/websetup.pm:236
+msgid "you are not logged in as an admin"
+msgstr "Sie sind nicht als Administrator angemeldet"
+
+#: ../IkiWiki/Plugin/comments.pm:561
+msgid "Comment moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:600
+msgid "comment moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:750
msgid "Comments"
msgstr "Kommentare"
@@ -274,19 +281,19 @@ msgstr "es wurde kein Text in die Seite mit der ID %s kopiert"
msgid "removing old preview %s"
msgstr "entferne alte Vorschau %s"
-#: ../IkiWiki/Plugin/editpage.pm:176
+#: ../IkiWiki/Plugin/editpage.pm:113
#, perl-format
msgid "%s is not an editable page"
msgstr "%s ist keine bearbeitbare Seite"
-#: ../IkiWiki/Plugin/editpage.pm:352
+#: ../IkiWiki/Plugin/editpage.pm:289
#, perl-format
msgid "creating %s"
msgstr "erstelle %s"
-#: ../IkiWiki/Plugin/editpage.pm:370 ../IkiWiki/Plugin/editpage.pm:389
-#: ../IkiWiki/Plugin/editpage.pm:399 ../IkiWiki/Plugin/editpage.pm:443
-#: ../IkiWiki/Plugin/editpage.pm:482
+#: ../IkiWiki/Plugin/editpage.pm:307 ../IkiWiki/Plugin/editpage.pm:326
+#: ../IkiWiki/Plugin/editpage.pm:336 ../IkiWiki/Plugin/editpage.pm:380
+#: ../IkiWiki/Plugin/editpage.pm:419
#, perl-format
msgid "editing %s"
msgstr "bearbeite %s"
@@ -316,18 +323,18 @@ msgstr "Format und Text muss spezifiziert werden"
msgid "fortune failed"
msgstr "»fortune« fehlgeschlagen"
-#: ../IkiWiki/Plugin/git.pm:618 ../IkiWiki/Plugin/git.pm:636
+#: ../IkiWiki/Plugin/git.pm:624 ../IkiWiki/Plugin/git.pm:642
#: ../IkiWiki/Receive.pm:129
#, perl-format
msgid "you are not allowed to change %s"
msgstr "es ist Ihnen nicht erlaubt, %s zu ändern"
-#: ../IkiWiki/Plugin/git.pm:658
+#: ../IkiWiki/Plugin/git.pm:664
#, perl-format
msgid "you cannot act on a file with mode %s"
msgstr "Sie können Dateien mit den Zugriffsrechten %s nicht verändern"
-#: ../IkiWiki/Plugin/git.pm:662
+#: ../IkiWiki/Plugin/git.pm:668
msgid "you are not allowed to change file modes"
msgstr "Es ist Ihnen nicht erlaubt, Dateizugriffsrechte zu ändern"
@@ -342,6 +349,15 @@ msgid "Failed to parse url, cannot determine domain name"
msgstr ""
"Verarbeiten der URL fehlgeschlagen, konnte Domainnamen nicht feststellen"
+#: ../IkiWiki/Plugin/goto.pm:49
+msgid "missing page"
+msgstr "fehlende Seite"
+
+#: ../IkiWiki/Plugin/goto.pm:51
+#, 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 "konnte graphviz nicht ausführen"
@@ -407,7 +423,7 @@ msgstr "nicht-vorhandene Vorlage %s"
msgid "Discussion"
msgstr "Diskussion"
-#: ../IkiWiki/Plugin/inline.pm:587
+#: ../IkiWiki/Plugin/inline.pm:593
msgid "RPC::XML::Client not found, not pinging"
msgstr "RPC::XML::Client nicht gefunden, führe Ping nicht aus"
@@ -432,15 +448,15 @@ msgstr ""
"Laden des Perl-Moduls »Markdown.pm« (%s) oder »/usr/bin/markdown« (%s) "
"fehlgeschlagen"
-#: ../IkiWiki/Plugin/meta.pm:151
+#: ../IkiWiki/Plugin/meta.pm:158
msgid "stylesheet not found"
msgstr "Stylesheet nicht gefunden"
-#: ../IkiWiki/Plugin/meta.pm:185
+#: ../IkiWiki/Plugin/meta.pm:192
msgid "redir page not found"
msgstr "Umleitungsseite nicht gefunden"
-#: ../IkiWiki/Plugin/meta.pm:198
+#: ../IkiWiki/Plugin/meta.pm:205
msgid "redir cycle is not allowed"
msgstr "Zyklische Umleitungen sind nicht erlaubt"
@@ -724,18 +740,19 @@ msgstr "Benötige Digest::SHA1, um %s zu indexieren"
msgid "search"
msgstr "suchen"
-#: ../IkiWiki/Plugin/shortcut.pm:28
-msgid "shortcut plugin will not work without a shortcuts.mdwn"
+#: ../IkiWiki/Plugin/shortcut.pm:31
+#, fuzzy, perl-format
+msgid "shortcut plugin will not work without %s"
msgstr "die »shortcut«-Erweiterung funktioniert nicht ohne eine »shortcuts.mdwn«"
-#: ../IkiWiki/Plugin/shortcut.pm:38
+#: ../IkiWiki/Plugin/shortcut.pm:44
msgid "missing name or url parameter"
msgstr "fehlender Name oder URL-Parameter"
#. translators: This is used to display what shortcuts are defined.
#. translators: First parameter is the name of the shortcut, the second
#. translators: is an URL.
-#: ../IkiWiki/Plugin/shortcut.pm:48
+#: ../IkiWiki/Plugin/shortcut.pm:54
#, perl-format
msgid "shortcut %s points to %s"
msgstr "Shortcut %s zeigt auf %s"
@@ -831,10 +848,6 @@ msgstr "Erweiterung"
msgid "enable %s?"
msgstr "%s aktivieren?"
-#: ../IkiWiki/Plugin/websetup.pm:236
-msgid "you are not logged in as an admin"
-msgstr "Sie sind nicht als Administrator angemeldet"
-
#: ../IkiWiki/Plugin/websetup.pm:240
msgid "setup file for this wiki is not known"
msgstr "Die Einrichtungsdatei für dieses Wiki ist unbekannt"
@@ -944,17 +957,17 @@ msgstr "ikiwiki: kann %s nicht erzeugen"
msgid "cannot read %s: %s"
msgstr "kann %s nicht lesen: %s"
-#: ../IkiWiki/Setup/Automator.pm:33
+#: ../IkiWiki/Setup/Automator.pm:34
msgid "you must enter a wikiname (that contains alphanumerics)"
msgstr ""
"Sie müssen einen Wiki-Namen eingeben (der alphanumerische Zeichen enthält)"
-#: ../IkiWiki/Setup/Automator.pm:67
+#: ../IkiWiki/Setup/Automator.pm:68
#, perl-format
msgid "unsupported revision control system %s"
msgstr "Nicht unterstütztes Versionskontrollsystem %s"
-#: ../IkiWiki/Setup/Automator.pm:93
+#: ../IkiWiki/Setup/Automator.pm:94
msgid "failed to set up the repository with ikiwiki-makerepo"
msgstr "Erstellen des Depots mit ikiwiki-makerepo ist fehlgeschlagen"
@@ -971,21 +984,14 @@ msgstr "Kann keinen Wrapper erzeugen, der eine Einrichtungsdatei verwendet"
msgid "wrapper filename not specified"
msgstr "Dateiname des Wrappers nicht angegeben"
-#. translators: The first parameter is a filename, and the second is
-#. translators: a (probably not translated) error message.
-#: ../IkiWiki/Wrapper.pm:97
-#, perl-format
-msgid "failed to write %s: %s"
-msgstr "Schreiben von %s fehlgeschlagen: %s"
-
#. translators: The parameter is a C filename.
-#: ../IkiWiki/Wrapper.pm:154
+#: ../IkiWiki/Wrapper.pm:152
#, perl-format
msgid "failed to compile %s"
msgstr "Erzeugen von %s fehlgeschlagen"
#. translators: The parameter is a filename.
-#: ../IkiWiki/Wrapper.pm:174
+#: ../IkiWiki/Wrapper.pm:172
#, perl-format
msgid "successfully generated %s"
msgstr "%s wurde erfolgreich erstellt"
@@ -1002,15 +1008,15 @@ msgstr " ikiwiki --setup Konfigurationsdatei "
msgid "usage: --set var=value"
msgstr "Aufruf: --set Variable=Wert"
-#: ../ikiwiki.in:139
+#: ../ikiwiki.in:140
msgid "generating wrappers.."
msgstr "erzeuge Wrapper..."
-#: ../ikiwiki.in:197
+#: ../ikiwiki.in:199
msgid "rebuilding wiki.."
msgstr "erzeuge Wiki neu..."
-#: ../ikiwiki.in:200
+#: ../ikiwiki.in:202
msgid "refreshing wiki.."
msgstr "aktualisiere Wiki..."
@@ -1034,7 +1040,7 @@ msgstr "Laden der für %s benötigten externen Erweiterung fehlgeschlagen: %s"
msgid "preprocessing loop detected on %s at depth %i"
msgstr "Präprozessorschleife auf %s in Tiefe %i erkannt"
-#: ../IkiWiki.pm:1661
+#: ../IkiWiki.pm:1725
msgid "yes"
msgstr "ja"
@@ -1059,3 +1065,9 @@ msgstr ""
#: ../auto.setup:23
msgid "What is the domain name of the web server?"
msgstr "Wie lautet der Domainname des Webservers?"
+
+#~ msgid "blogspam server failure: "
+#~ msgstr "blogspam-Server-Fehler: "
+
+#~ msgid "failed to write %s: %s"
+#~ msgstr "Schreiben von %s fehlgeschlagen: %s"
diff --git a/po/es.po b/po/es.po
index 4ffd6ee65..6e5262ee1 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-01-30 17:48+0100\n"
+"POT-Creation-Date: 2009-02-14 03:04-0500\n"
"PO-Revision-Date: 2009-01-30 18:01+0100\n"
"Last-Translator: Victor Moral \n"
"Language-Team: \n"
@@ -24,9 +24,10 @@ msgstr "Antes es necesario identificarse."
#: ../IkiWiki/CGI.pm:145
msgid "login failed, perhaps you need to turn on cookies?"
-msgstr "registro fallido, ¿ tal vez necesita activar las cookies en el navegador ?"
+msgstr ""
+"registro fallido, ¿ tal vez necesita activar las cookies en el navegador ?"
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:280
+#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:294
msgid "Your login session has expired."
msgstr "Su registro en el sistema ha expirado."
@@ -46,11 +47,11 @@ msgstr "Administración"
msgid "Preferences saved."
msgstr "Las preferencias se han guardado."
-#: ../IkiWiki/CGI.pm:241
+#: ../IkiWiki/CGI.pm:257
msgid "You are banned."
msgstr "Ha sido expulsado."
-#: ../IkiWiki/CGI.pm:371 ../IkiWiki/CGI.pm:372 ../IkiWiki.pm:1204
+#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1204
msgid "Error"
msgstr "Error"
@@ -60,7 +61,8 @@ msgstr "Contenido añadido activado vía web."
#: ../IkiWiki/Plugin/aggregate.pm:93
msgid "Nothing to do right now, all feeds are up-to-date!"
-msgstr "¡ No hay nada que hacer, todas las fuentes de noticias están actualizadas !"
+msgstr ""
+"¡ No hay nada que hacer, todas las fuentes de noticias están actualizadas !"
#: ../IkiWiki/Plugin/aggregate.pm:220
#, perl-format
@@ -122,7 +124,7 @@ msgstr "(los caracteres especiales de la fuente de datos están exceptuados)"
msgid "feed crashed XML::Feed!"
msgstr "¡ la fuente de datos ha provocado un error fatal en XML::Feed !"
-#: ../IkiWiki/Plugin/aggregate.pm:605
+#: ../IkiWiki/Plugin/aggregate.pm:610
#, perl-format
msgid "creating new page %s"
msgstr "creando nueva página %s"
@@ -131,7 +133,7 @@ msgstr "creando nueva página %s"
msgid "deleting bucket.."
msgstr "borrando el directorio.."
-#: ../IkiWiki/Plugin/amazon_s3.pm:38 ../ikiwiki.in:208
+#: ../IkiWiki/Plugin/amazon_s3.pm:38 ../ikiwiki.in:210
msgid "done"
msgstr "completado"
@@ -181,7 +183,7 @@ msgstr ""
"Lo siento, pero el analizador blogspam "
"dice que el texto puede ser spam."
-#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:297
+#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:233
#: ../IkiWiki/Plugin/inline.pm:354 ../IkiWiki/Plugin/opendiscussion.pm:26
#: ../IkiWiki/Plugin/orphans.pm:37 ../IkiWiki/Render.pm:79
#: ../IkiWiki/Render.pm:149
@@ -197,77 +199,68 @@ msgstr "%s desde la página %s"
msgid "There are no broken links!"
msgstr "¡ No hay enlaces rotos !"
-#: ../IkiWiki/Plugin/comments.pm:121 ../IkiWiki/Plugin/format.pm:23
+#: ../IkiWiki/Plugin/comments.pm:122 ../IkiWiki/Plugin/format.pm:23
#, perl-format
msgid "unsupported page format %s"
msgstr "formato de página %s no soportado"
-#: ../IkiWiki/Plugin/comments.pm:126
+#: ../IkiWiki/Plugin/comments.pm:127
msgid "comment must have content"
msgstr "Un comentario debe tener algún contenido"
-#: ../IkiWiki/Plugin/comments.pm:182
+#: ../IkiWiki/Plugin/comments.pm:183
msgid "Anonymous"
msgstr "Anónimo"
-#: ../IkiWiki/Plugin/comments.pm:253 ../IkiWiki/Plugin/recentchanges.pm:110
-msgid "missing page"
-msgstr "página no encontrada"
-
-#: ../IkiWiki/Plugin/comments.pm:255 ../IkiWiki/Plugin/recentchanges.pm:112
-#, perl-format
-msgid "The page %s does not exist."
-msgstr "No existe la página %s."
-
-#: ../IkiWiki/Plugin/comments.pm:354 ../IkiWiki/Plugin/editpage.pm:161
+#: ../IkiWiki/Plugin/comments.pm:326 ../IkiWiki/Plugin/editpage.pm:97
msgid "bad page name"
msgstr "nombre de página erróneo"
-#: ../IkiWiki/Plugin/comments.pm:359
+#: ../IkiWiki/Plugin/comments.pm:331
#, perl-format
msgid "commenting on %s"
msgstr "creando comentarios en la página %s"
-#: ../IkiWiki/Plugin/comments.pm:377
+#: ../IkiWiki/Plugin/comments.pm:349
#, perl-format
msgid "page '%s' doesn't exist, so you can't comment"
msgstr "la página '%s' no existe, así que no se puede comentar sobre ella"
-#: ../IkiWiki/Plugin/comments.pm:384
+#: ../IkiWiki/Plugin/comments.pm:356
#, perl-format
msgid "comments on page '%s' are closed"
msgstr "los comentarios para la página '%s' están cerrados"
-#: ../IkiWiki/Plugin/comments.pm:478
+#: ../IkiWiki/Plugin/comments.pm:450
msgid "comment stored for moderation"
msgstr "comentario guardado a la espera de aprobación"
-#: ../IkiWiki/Plugin/comments.pm:480
+#: ../IkiWiki/Plugin/comments.pm:452
msgid "Your comment will be posted after moderator review"
msgstr "Su comentario será publicado después de que el moderador lo revise"
-#: ../IkiWiki/Plugin/comments.pm:493
+#: ../IkiWiki/Plugin/comments.pm:465
msgid "Added a comment"
msgstr "Añadir un comentario"
-#: ../IkiWiki/Plugin/comments.pm:497
+#: ../IkiWiki/Plugin/comments.pm:469
#, perl-format
msgid "Added a comment: %s"
msgstr "Comentario añadido: %s"
-#: ../IkiWiki/Plugin/comments.pm:538 ../IkiWiki/Plugin/websetup.pm:236
+#: ../IkiWiki/Plugin/comments.pm:510 ../IkiWiki/Plugin/websetup.pm:236
msgid "you are not logged in as an admin"
msgstr "No está registrado como un administrador"
-#: ../IkiWiki/Plugin/comments.pm:589
+#: ../IkiWiki/Plugin/comments.pm:561
msgid "Comment moderation"
msgstr "Aprobación de comentarios"
-#: ../IkiWiki/Plugin/comments.pm:628
+#: ../IkiWiki/Plugin/comments.pm:600
msgid "comment moderation"
msgstr "aprobación de comentarios"
-#: ../IkiWiki/Plugin/comments.pm:778
+#: ../IkiWiki/Plugin/comments.pm:750
msgid "Comments"
msgstr "Comentarios"
@@ -292,19 +285,19 @@ msgstr "no se ha copiado ningún texto con el identificador %s en esta pagina"
msgid "removing old preview %s"
msgstr "eliminando la antigua previsualización %s"
-#: ../IkiWiki/Plugin/editpage.pm:177
+#: ../IkiWiki/Plugin/editpage.pm:113
#, perl-format
msgid "%s is not an editable page"
msgstr "la página %s no es modificable"
-#: ../IkiWiki/Plugin/editpage.pm:353
+#: ../IkiWiki/Plugin/editpage.pm:289
#, perl-format
msgid "creating %s"
msgstr "creando página %s"
-#: ../IkiWiki/Plugin/editpage.pm:371 ../IkiWiki/Plugin/editpage.pm:390
-#: ../IkiWiki/Plugin/editpage.pm:400 ../IkiWiki/Plugin/editpage.pm:444
-#: ../IkiWiki/Plugin/editpage.pm:483
+#: ../IkiWiki/Plugin/editpage.pm:307 ../IkiWiki/Plugin/editpage.pm:326
+#: ../IkiWiki/Plugin/editpage.pm:336 ../IkiWiki/Plugin/editpage.pm:380
+#: ../IkiWiki/Plugin/editpage.pm:419
#, perl-format
msgid "editing %s"
msgstr "modificando página %s"
@@ -358,7 +351,17 @@ msgstr ""
#: ../IkiWiki/Plugin/google.pm:31
msgid "Failed to parse url, cannot determine domain name"
-msgstr "Error en el análisis del URL, no puedo determinar el nombre del dominio"
+msgstr ""
+"Error en el análisis del URL, no puedo determinar el nombre del dominio"
+
+#: ../IkiWiki/Plugin/goto.pm:49
+msgid "missing page"
+msgstr "página no encontrada"
+
+#: ../IkiWiki/Plugin/goto.pm:51
+#, 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"
@@ -440,7 +443,8 @@ msgstr "La página %s está bloqueada y no puede modificarse"
#: ../IkiWiki/Plugin/mdwn.pm:44
msgid "multimarkdown is enabled, but Text::MultiMarkdown is not installed"
-msgstr "el modo multimarkdown está activo, pero no está instalado Text::MultiMarkdown"
+msgstr ""
+"el modo multimarkdown está activo, pero no está instalado Text::MultiMarkdown"
#: ../IkiWiki/Plugin/mdwn.pm:67
#, perl-format
@@ -741,18 +745,19 @@ msgstr "se necesita la instalación de Digest::SHA1 para indexar %s"
msgid "search"
msgstr "buscar"
-#: ../IkiWiki/Plugin/shortcut.pm:28
-msgid "shortcut plugin will not work without a shortcuts.mdwn"
+#: ../IkiWiki/Plugin/shortcut.pm:31
+#, fuzzy, perl-format
+msgid "shortcut plugin will not work without %s"
msgstr "el complemento shortcut no funciona sin una página shortcuts.mdwn"
-#: ../IkiWiki/Plugin/shortcut.pm:38
+#: ../IkiWiki/Plugin/shortcut.pm:44
msgid "missing name or url parameter"
msgstr "shortcut necesita el parámetro 'name' ó el parámetro 'url'"
#. translators: This is used to display what shortcuts are defined.
#. translators: First parameter is the name of the shortcut, the second
#. translators: is an URL.
-#: ../IkiWiki/Plugin/shortcut.pm:48
+#: ../IkiWiki/Plugin/shortcut.pm:54
#, perl-format
msgid "shortcut %s points to %s"
msgstr "El atajo %s apunta a %s"
@@ -861,7 +866,8 @@ msgid "plugins"
msgstr "complementos"
#: ../IkiWiki/Plugin/websetup.pm:395
-msgid "The configuration changes shown below require a wiki rebuild to take effect."
+msgid ""
+"The configuration changes shown below require a wiki rebuild to take effect."
msgstr ""
"Los cambios en la configuración que se muestran más abajo precisan una "
"reconstrucción del wiki para tener efecto."
@@ -977,27 +983,21 @@ msgstr "el programa %s no parece ser ejecutable"
#: ../IkiWiki/Wrapper.pm:20
msgid "cannot create a wrapper that uses a setup file"
-msgstr "no puedo crear un programa envoltorio que utiliza un archivo de configuración"
+msgstr ""
+"no puedo crear un programa envoltorio que utiliza un archivo de configuración"
#: ../IkiWiki/Wrapper.pm:24
msgid "wrapper filename not specified"
msgstr "el programa envoltorio no ha sido especificado"
-#. translators: The first parameter is a filename, and the second is
-#. translators: a (probably not translated) error message.
-#: ../IkiWiki/Wrapper.pm:97
-#, perl-format
-msgid "failed to write %s: %s"
-msgstr "no puedo escribir en %s: %s"
-
#. translators: The parameter is a C filename.
-#: ../IkiWiki/Wrapper.pm:154
+#: ../IkiWiki/Wrapper.pm:152
#, perl-format
msgid "failed to compile %s"
msgstr "ha fallado la compilación del programa %s"
#. translators: The parameter is a filename.
-#: ../IkiWiki/Wrapper.pm:174
+#: ../IkiWiki/Wrapper.pm:172
#, perl-format
msgid "successfully generated %s"
msgstr "creado con éxito el programa envoltorio %s"
@@ -1014,15 +1014,15 @@ msgstr " ikiwiki --setup archivo_de_configuración"
msgid "usage: --set var=value"
msgstr "uso: --set variable=valor"
-#: ../ikiwiki.in:139
+#: ../ikiwiki.in:140
msgid "generating wrappers.."
msgstr "generando programas auxiliares.."
-#: ../ikiwiki.in:197
+#: ../ikiwiki.in:199
msgid "rebuilding wiki.."
msgstr "reconstruyendo el wiki.."
-#: ../ikiwiki.in:200
+#: ../ikiwiki.in:202
msgid "refreshing wiki.."
msgstr "actualizando el wiki.."
@@ -1048,7 +1048,7 @@ msgstr ""
"se ha detectado en la página %s un bucle de preprocesado en la iteración "
"número %i"
-#: ../IkiWiki.pm:1661
+#: ../IkiWiki.pm:1725
msgid "yes"
msgstr "si"
@@ -1074,3 +1074,5 @@ msgstr ""
msgid "What is the domain name of the web server?"
msgstr "¿ Cuál es el dominio para el servidor web ?"
+#~ msgid "failed to write %s: %s"
+#~ msgstr "no puedo escribir en %s: %s"
diff --git a/po/fr.po b/po/fr.po
index 3e1c635a2..a9a9a009d 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ikiwiki 2.71 \n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-01-17 18:19-0500\n"
+"POT-Creation-Date: 2009-02-14 03:04-0500\n"
"PO-Revision-Date: 2008-12-29 17:57+0100\n"
"Last-Translator: Philippe Batailler \n"
"Language-Team: French \n"
@@ -25,7 +25,7 @@ msgstr "Vous devez d'abord vous identifier."
msgid "login failed, perhaps you need to turn on cookies?"
msgstr "Échec de l'identification, vous devez autoriser les cookies."
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:280
+#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:294
msgid "Your login session has expired."
msgstr "Session d'authentification expirée."
@@ -45,11 +45,11 @@ msgstr "Administrateur"
msgid "Preferences saved."
msgstr "Les préférences ont été enregistrées."
-#: ../IkiWiki/CGI.pm:241
+#: ../IkiWiki/CGI.pm:257
msgid "You are banned."
msgstr "Vous avez été banni."
-#: ../IkiWiki/CGI.pm:371 ../IkiWiki/CGI.pm:372 ../IkiWiki.pm:1204
+#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1204
msgid "Error"
msgstr "Erreur"
@@ -121,7 +121,7 @@ msgstr "(échappement des entités de flux)"
msgid "feed crashed XML::Feed!"
msgstr "Plantage du flux XML::Feed !"
-#: ../IkiWiki/Plugin/aggregate.pm:605
+#: ../IkiWiki/Plugin/aggregate.pm:610
#, perl-format
msgid "creating new page %s"
msgstr "Création de la nouvelle page %s"
@@ -130,7 +130,7 @@ msgstr "Création de la nouvelle page %s"
msgid "deleting bucket.."
msgstr "Suppression du compartiment S3 (« bucket »)..."
-#: ../IkiWiki/Plugin/amazon_s3.pm:38 ../ikiwiki.in:208
+#: ../IkiWiki/Plugin/amazon_s3.pm:38 ../ikiwiki.in:210
msgid "done"
msgstr "Terminé"
@@ -172,17 +172,13 @@ msgstr "Envoi de la pièce jointe"
msgid "automatic index generation"
msgstr "Génération de l'index automatique"
-#: ../IkiWiki/Plugin/blogspam.pm:102
+#: ../IkiWiki/Plugin/blogspam.pm:105
msgid ""
"Sorry, but that looks like spam to blogspam: "
msgstr ""
-#: ../IkiWiki/Plugin/blogspam.pm:105
-msgid "blogspam server failure: "
-msgstr ""
-
-#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:296
+#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:233
#: ../IkiWiki/Plugin/inline.pm:354 ../IkiWiki/Plugin/opendiscussion.pm:26
#: ../IkiWiki/Plugin/orphans.pm:37 ../IkiWiki/Render.pm:79
#: ../IkiWiki/Render.pm:149
@@ -198,57 +194,68 @@ msgstr "%s sur %s"
msgid "There are no broken links!"
msgstr "Aucun lien cassé !"
-#: ../IkiWiki/Plugin/comments.pm:120 ../IkiWiki/Plugin/format.pm:23
+#: ../IkiWiki/Plugin/comments.pm:122 ../IkiWiki/Plugin/format.pm:23
#, perl-format
msgid "unsupported page format %s"
msgstr "Format de page non reconnu %s"
-#: ../IkiWiki/Plugin/comments.pm:125
+#: ../IkiWiki/Plugin/comments.pm:127
msgid "comment must have content"
msgstr "Un commentaire doit avoir un contenu."
-#: ../IkiWiki/Plugin/comments.pm:181
+#: ../IkiWiki/Plugin/comments.pm:183
msgid "Anonymous"
msgstr "Anonyme"
-#: ../IkiWiki/Plugin/comments.pm:252 ../IkiWiki/Plugin/recentchanges.pm:110
-msgid "missing page"
-msgstr "Page manquante"
-
-#: ../IkiWiki/Plugin/comments.pm:254 ../IkiWiki/Plugin/recentchanges.pm:112
-#, perl-format
-msgid "The page %s does not exist."
-msgstr "La page %s n'existe pas."
-
-#: ../IkiWiki/Plugin/comments.pm:343 ../IkiWiki/Plugin/editpage.pm:160
+#: ../IkiWiki/Plugin/comments.pm:326 ../IkiWiki/Plugin/editpage.pm:97
msgid "bad page name"
msgstr "Nom de page incorrect"
-#: ../IkiWiki/Plugin/comments.pm:348
+#: ../IkiWiki/Plugin/comments.pm:331
#, perl-format
msgid "commenting on %s"
msgstr "Faire un commentaire sur %s"
-#: ../IkiWiki/Plugin/comments.pm:366
+#: ../IkiWiki/Plugin/comments.pm:349
#, perl-format
msgid "page '%s' doesn't exist, so you can't comment"
msgstr "La page '%s' n'existe pas, commentaire impossible."
-#: ../IkiWiki/Plugin/comments.pm:373
+#: ../IkiWiki/Plugin/comments.pm:356
#, perl-format
msgid "comments on page '%s' are closed"
msgstr "Le commentaire pour la page '%s' est terminé."
-#: ../IkiWiki/Plugin/comments.pm:493
+#: ../IkiWiki/Plugin/comments.pm:450
+msgid "comment stored for moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:452
+msgid "Your comment will be posted after moderator review"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:465
msgid "Added a comment"
msgstr "Commentaire ajouté"
-#: ../IkiWiki/Plugin/comments.pm:497
+#: ../IkiWiki/Plugin/comments.pm:469
#, perl-format
msgid "Added a comment: %s"
msgstr "Commentaire ajouté : %s"
-#: ../IkiWiki/Plugin/comments.pm:611
+#: ../IkiWiki/Plugin/comments.pm:510 ../IkiWiki/Plugin/websetup.pm:236
+msgid "you are not logged in as an admin"
+msgstr "Vous n'êtes pas authentifié comme administrateur"
+
+#: ../IkiWiki/Plugin/comments.pm:561
+msgid "Comment moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:600
+msgid "comment moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:750
msgid "Comments"
msgstr "Commentaires"
@@ -273,19 +280,19 @@ msgstr "Aucun texte n'a été copié dans cette page avec l'identifiant %s"
msgid "removing old preview %s"
msgstr "Suppression de l'ancienne prévisualisation %s"
-#: ../IkiWiki/Plugin/editpage.pm:176
+#: ../IkiWiki/Plugin/editpage.pm:113
#, perl-format
msgid "%s is not an editable page"
msgstr "%s n'est pas une page éditable"
-#: ../IkiWiki/Plugin/editpage.pm:352
+#: ../IkiWiki/Plugin/editpage.pm:289
#, perl-format
msgid "creating %s"
msgstr "Création de %s"
-#: ../IkiWiki/Plugin/editpage.pm:370 ../IkiWiki/Plugin/editpage.pm:389
-#: ../IkiWiki/Plugin/editpage.pm:399 ../IkiWiki/Plugin/editpage.pm:443
-#: ../IkiWiki/Plugin/editpage.pm:482
+#: ../IkiWiki/Plugin/editpage.pm:307 ../IkiWiki/Plugin/editpage.pm:326
+#: ../IkiWiki/Plugin/editpage.pm:336 ../IkiWiki/Plugin/editpage.pm:380
+#: ../IkiWiki/Plugin/editpage.pm:419
#, perl-format
msgid "editing %s"
msgstr "Édition de %s"
@@ -315,18 +322,18 @@ msgstr "le format et le texte doivent être indiqués"
msgid "fortune failed"
msgstr "Échec du lancement de « fortune »"
-#: ../IkiWiki/Plugin/git.pm:618 ../IkiWiki/Plugin/git.pm:636
+#: ../IkiWiki/Plugin/git.pm:624 ../IkiWiki/Plugin/git.pm:642
#: ../IkiWiki/Receive.pm:129
#, perl-format
msgid "you are not allowed to change %s"
msgstr "Vous n'êtes pas autorisé à modifier %s"
-#: ../IkiWiki/Plugin/git.pm:658
+#: ../IkiWiki/Plugin/git.pm:664
#, perl-format
msgid "you cannot act on a file with mode %s"
msgstr "Vous ne pouvez utiliser le mode %s pour les fichiers"
-#: ../IkiWiki/Plugin/git.pm:662
+#: ../IkiWiki/Plugin/git.pm:668
msgid "you are not allowed to change file modes"
msgstr "Vous n'êtes pas autorisé à modifier le mode des fichiers"
@@ -339,6 +346,15 @@ msgstr "Vous devez indiquer %s lors de l'utilisation du greffon « google »."
msgid "Failed to parse url, cannot determine domain name"
msgstr "Impossible d'analyser l'url, pas de nom de domaine"
+#: ../IkiWiki/Plugin/goto.pm:49
+msgid "missing page"
+msgstr "Page manquante"
+
+#: ../IkiWiki/Plugin/goto.pm:51
+#, 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"
@@ -404,7 +420,7 @@ msgstr "Le modèle de page %s n'existe pas"
msgid "Discussion"
msgstr "Discussion"
-#: ../IkiWiki/Plugin/inline.pm:587
+#: ../IkiWiki/Plugin/inline.pm:593
msgid "RPC::XML::Client not found, not pinging"
msgstr "RPC::XML::Client introuvable, pas de réponse au ping"
@@ -428,15 +444,15 @@ msgstr ""
"Échec du chargement du module Perl Markdown.pm (%s) ou de /usr/bin/markdown "
"(%s)"
-#: ../IkiWiki/Plugin/meta.pm:151
+#: ../IkiWiki/Plugin/meta.pm:158
msgid "stylesheet not found"
msgstr "Feuille de style introuvable "
-#: ../IkiWiki/Plugin/meta.pm:185
+#: ../IkiWiki/Plugin/meta.pm:192
msgid "redir page not found"
msgstr "Page de redirection introuvable"
-#: ../IkiWiki/Plugin/meta.pm:198
+#: ../IkiWiki/Plugin/meta.pm:205
msgid "redir cycle is not allowed"
msgstr "Redirection cyclique non autorisée"
@@ -721,18 +737,19 @@ msgstr "Digest::SHA1 est nécessaire pour indexer %s"
msgid "search"
msgstr "recherche"
-#: ../IkiWiki/Plugin/shortcut.pm:28
-msgid "shortcut plugin will not work without a shortcuts.mdwn"
+#: ../IkiWiki/Plugin/shortcut.pm:31
+#, fuzzy, perl-format
+msgid "shortcut plugin will not work without %s"
msgstr "Le greffon « shortcut » ne fonctionnera pas sans shortcuts.mdwn"
-#: ../IkiWiki/Plugin/shortcut.pm:38
+#: ../IkiWiki/Plugin/shortcut.pm:44
msgid "missing name or url parameter"
msgstr "Il manque le paramètre nom ou URL."
#. translators: This is used to display what shortcuts are defined.
#. translators: First parameter is the name of the shortcut, the second
#. translators: is an URL.
-#: ../IkiWiki/Plugin/shortcut.pm:48
+#: ../IkiWiki/Plugin/shortcut.pm:54
#, perl-format
msgid "shortcut %s points to %s"
msgstr "Le raccourci %s pointe vers %s"
@@ -828,10 +845,6 @@ msgstr "greffon"
msgid "enable %s?"
msgstr "activer %s ?"
-#: ../IkiWiki/Plugin/websetup.pm:236
-msgid "you are not logged in as an admin"
-msgstr "Vous n'êtes pas authentifié comme administrateur"
-
#: ../IkiWiki/Plugin/websetup.pm:240
msgid "setup file for this wiki is not known"
msgstr "Le fichier de configuration de ce wiki n'est pas connu"
@@ -942,18 +955,18 @@ msgstr "ikiwiki : impossible de reconstruire %s"
msgid "cannot read %s: %s"
msgstr "Lecture impossible de %s : %s"
-#: ../IkiWiki/Setup/Automator.pm:33
+#: ../IkiWiki/Setup/Automator.pm:34
msgid "you must enter a wikiname (that contains alphanumerics)"
msgstr ""
"Vous devez spécifier un nom de wiki (contenant des caractères "
"alphanumériques)"
-#: ../IkiWiki/Setup/Automator.pm:67
+#: ../IkiWiki/Setup/Automator.pm:68
#, perl-format
msgid "unsupported revision control system %s"
msgstr "Système de contrôle de version non reconnu : %s"
-#: ../IkiWiki/Setup/Automator.pm:93
+#: ../IkiWiki/Setup/Automator.pm:94
msgid "failed to set up the repository with ikiwiki-makerepo"
msgstr "Échec lors de la création du dépôt avec ikiwiki-makerepo"
@@ -971,21 +984,14 @@ msgstr ""
msgid "wrapper filename not specified"
msgstr "Le nom du fichier CGI n'a pas été indiqué"
-#. translators: The first parameter is a filename, and the second is
-#. translators: a (probably not translated) error message.
-#: ../IkiWiki/Wrapper.pm:97
-#, perl-format
-msgid "failed to write %s: %s"
-msgstr "Échec de l'écriture de %s : %s"
-
#. translators: The parameter is a C filename.
-#: ../IkiWiki/Wrapper.pm:154
+#: ../IkiWiki/Wrapper.pm:152
#, perl-format
msgid "failed to compile %s"
msgstr "Échec de la compilation de %s"
#. translators: The parameter is a filename.
-#: ../IkiWiki/Wrapper.pm:174
+#: ../IkiWiki/Wrapper.pm:172
#, perl-format
msgid "successfully generated %s"
msgstr "%s a été créé avec succès"
@@ -1002,15 +1008,15 @@ msgstr " ikiwiki --setup fichier de configuration"
msgid "usage: --set var=value"
msgstr "Syntaxe : -- set var=valeur"
-#: ../ikiwiki.in:139
+#: ../ikiwiki.in:140
msgid "generating wrappers.."
msgstr "Création des fichiers CGI..."
-#: ../ikiwiki.in:197
+#: ../ikiwiki.in:199
msgid "rebuilding wiki.."
msgstr "Reconstruction du wiki..."
-#: ../ikiwiki.in:200
+#: ../ikiwiki.in:202
msgid "refreshing wiki.."
msgstr "Rafraîchissement du wiki..."
@@ -1033,7 +1039,7 @@ msgstr "Impossible de charger le greffon externe nécessaire au greffon %s : %s
msgid "preprocessing loop detected on %s at depth %i"
msgstr "Une boucle de pré traitement a été détectée sur %s à hauteur de %i"
-#: ../IkiWiki.pm:1661
+#: ../IkiWiki.pm:1725
msgid "yes"
msgstr "oui"
@@ -1058,6 +1064,9 @@ msgstr "Identifiant de l'administrateur (utilisateur ou openid) :"
msgid "What is the domain name of the web server?"
msgstr "Nom de domaine du serveur HTTP :"
+#~ msgid "failed to write %s: %s"
+#~ msgstr "Échec de l'écriture de %s : %s"
+
#~ msgid "failed to find url in html"
#~ msgstr "Impossible de trouver une URL dans le code HTML"
diff --git a/po/gu.po b/po/gu.po
index 77edf8a0e..c478f3ab3 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-01-17 18:19-0500\n"
+"POT-Creation-Date: 2009-02-14 03:04-0500\n"
"PO-Revision-Date: 2007-01-11 16:05+0530\n"
"Last-Translator: Kartik Mistry \n"
"Language-Team: Gujarati \n"
@@ -23,7 +23,7 @@ msgstr "તમારે પ્રથમ લોગ ઇન થવું પડશ
msgid "login failed, perhaps you need to turn on cookies?"
msgstr "પ્રવેશ નિષ્ફળ, કદાચ તમારી કુકીઓ સક્રિય બનાવવી પડશે?"
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:280
+#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:294
msgid "Your login session has expired."
msgstr ""
@@ -44,11 +44,11 @@ msgstr ""
msgid "Preferences saved."
msgstr "પ્રાથમિકતાઓ સંગ્રહાઇ."
-#: ../IkiWiki/CGI.pm:241
+#: ../IkiWiki/CGI.pm:257
msgid "You are banned."
msgstr "તમારા પર પ્રતિબંધ છે."
-#: ../IkiWiki/CGI.pm:371 ../IkiWiki/CGI.pm:372 ../IkiWiki.pm:1204
+#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1204
msgid "Error"
msgstr "ક્ષતિ"
@@ -120,7 +120,7 @@ msgstr ""
msgid "feed crashed XML::Feed!"
msgstr "ફીડ ભાંગી ગયું XML::Feed!"
-#: ../IkiWiki/Plugin/aggregate.pm:605
+#: ../IkiWiki/Plugin/aggregate.pm:610
#, perl-format
msgid "creating new page %s"
msgstr "નવું પાનું %s બનાવે છે"
@@ -129,7 +129,7 @@ msgstr "નવું પાનું %s બનાવે છે"
msgid "deleting bucket.."
msgstr ""
-#: ../IkiWiki/Plugin/amazon_s3.pm:38 ../ikiwiki.in:208
+#: ../IkiWiki/Plugin/amazon_s3.pm:38 ../ikiwiki.in:210
msgid "done"
msgstr "સંપૂર્ણ"
@@ -173,17 +173,13 @@ msgstr ""
msgid "automatic index generation"
msgstr ""
-#: ../IkiWiki/Plugin/blogspam.pm:102
+#: ../IkiWiki/Plugin/blogspam.pm:105
msgid ""
"Sorry, but that looks like spam to blogspam: "
msgstr ""
-#: ../IkiWiki/Plugin/blogspam.pm:105
-msgid "blogspam server failure: "
-msgstr ""
-
-#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:296
+#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:233
#: ../IkiWiki/Plugin/inline.pm:354 ../IkiWiki/Plugin/opendiscussion.pm:26
#: ../IkiWiki/Plugin/orphans.pm:37 ../IkiWiki/Render.pm:79
#: ../IkiWiki/Render.pm:149
@@ -199,58 +195,68 @@ msgstr ""
msgid "There are no broken links!"
msgstr "અહીં કોઇ તૂટેલ કડી નથી!"
-#: ../IkiWiki/Plugin/comments.pm:120 ../IkiWiki/Plugin/format.pm:23
+#: ../IkiWiki/Plugin/comments.pm:122 ../IkiWiki/Plugin/format.pm:23
#, perl-format
msgid "unsupported page format %s"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:125
+#: ../IkiWiki/Plugin/comments.pm:127
msgid "comment must have content"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:181
+#: ../IkiWiki/Plugin/comments.pm:183
msgid "Anonymous"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:252 ../IkiWiki/Plugin/recentchanges.pm:110
-#, fuzzy
-msgid "missing page"
-msgstr "ખોવાયેલ કિંમતો"
-
-#: ../IkiWiki/Plugin/comments.pm:254 ../IkiWiki/Plugin/recentchanges.pm:112
-#, perl-format
-msgid "The page %s does not exist."
-msgstr ""
-
-#: ../IkiWiki/Plugin/comments.pm:343 ../IkiWiki/Plugin/editpage.pm:160
+#: ../IkiWiki/Plugin/comments.pm:326 ../IkiWiki/Plugin/editpage.pm:97
msgid "bad page name"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:348
+#: ../IkiWiki/Plugin/comments.pm:331
#, fuzzy, perl-format
msgid "commenting on %s"
msgstr "%s બનાવે છે"
-#: ../IkiWiki/Plugin/comments.pm:366
+#: ../IkiWiki/Plugin/comments.pm:349
#, perl-format
msgid "page '%s' doesn't exist, so you can't comment"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:373
+#: ../IkiWiki/Plugin/comments.pm:356
#, perl-format
msgid "comments on page '%s' are closed"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:493
+#: ../IkiWiki/Plugin/comments.pm:450
+msgid "comment stored for moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:452
+msgid "Your comment will be posted after moderator review"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:465
msgid "Added a comment"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:497
+#: ../IkiWiki/Plugin/comments.pm:469
#, perl-format
msgid "Added a comment: %s"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:611
+#: ../IkiWiki/Plugin/comments.pm:510 ../IkiWiki/Plugin/websetup.pm:236
+msgid "you are not logged in as an admin"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:561
+msgid "Comment moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:600
+msgid "comment moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:750
msgid "Comments"
msgstr ""
@@ -275,19 +281,19 @@ msgstr ""
msgid "removing old preview %s"
msgstr "જુનાં પાનાં દૂર કરે છે %s"
-#: ../IkiWiki/Plugin/editpage.pm:176
+#: ../IkiWiki/Plugin/editpage.pm:113
#, perl-format
msgid "%s is not an editable page"
msgstr "%s એ સુધારી શકાય તેવું પાનું નથી"
-#: ../IkiWiki/Plugin/editpage.pm:352
+#: ../IkiWiki/Plugin/editpage.pm:289
#, perl-format
msgid "creating %s"
msgstr "%s બનાવે છે"
-#: ../IkiWiki/Plugin/editpage.pm:370 ../IkiWiki/Plugin/editpage.pm:389
-#: ../IkiWiki/Plugin/editpage.pm:399 ../IkiWiki/Plugin/editpage.pm:443
-#: ../IkiWiki/Plugin/editpage.pm:482
+#: ../IkiWiki/Plugin/editpage.pm:307 ../IkiWiki/Plugin/editpage.pm:326
+#: ../IkiWiki/Plugin/editpage.pm:336 ../IkiWiki/Plugin/editpage.pm:380
+#: ../IkiWiki/Plugin/editpage.pm:419
#, perl-format
msgid "editing %s"
msgstr "%s સુધારે છે"
@@ -320,18 +326,18 @@ msgstr ""
msgid "fortune failed"
msgstr "ભવિષ્ય નિષ્ફળ"
-#: ../IkiWiki/Plugin/git.pm:618 ../IkiWiki/Plugin/git.pm:636
+#: ../IkiWiki/Plugin/git.pm:624 ../IkiWiki/Plugin/git.pm:642
#: ../IkiWiki/Receive.pm:129
#, perl-format
msgid "you are not allowed to change %s"
msgstr ""
-#: ../IkiWiki/Plugin/git.pm:658
+#: ../IkiWiki/Plugin/git.pm:664
#, perl-format
msgid "you cannot act on a file with mode %s"
msgstr ""
-#: ../IkiWiki/Plugin/git.pm:662
+#: ../IkiWiki/Plugin/git.pm:668
msgid "you are not allowed to change file modes"
msgstr ""
@@ -344,6 +350,16 @@ msgstr "જ્યારે શોધ પ્લગઇન ઉપયોગ કર
msgid "Failed to parse url, cannot determine domain name"
msgstr ""
+#: ../IkiWiki/Plugin/goto.pm:49
+#, fuzzy
+msgid "missing page"
+msgstr "ખોવાયેલ કિંમતો"
+
+#: ../IkiWiki/Plugin/goto.pm:51
+#, perl-format
+msgid "The page %s does not exist."
+msgstr ""
+
#: ../IkiWiki/Plugin/graphviz.pm:67
msgid "failed to run graphviz"
msgstr "ગ્રાફવિઝ ચલાવવામાં નિષ્ફળ"
@@ -410,7 +426,7 @@ msgstr "અસ્તિત્વમાં ન હોય તેવું ટે
msgid "Discussion"
msgstr "ચર્ચા"
-#: ../IkiWiki/Plugin/inline.pm:587
+#: ../IkiWiki/Plugin/inline.pm:593
msgid "RPC::XML::Client not found, not pinging"
msgstr "RPC::XML::Client મળ્યું નહી, પિંગ કરવામાં આવતું નથી"
@@ -432,16 +448,16 @@ msgstr ""
msgid "failed to load Markdown.pm perl module (%s) or /usr/bin/markdown (%s)"
msgstr "Markdown.pm પર્લ મોડ્યુલ (%s) અથવા /usr/bin/markdown (%s) લાવવામાં નિષ્ફળ"
-#: ../IkiWiki/Plugin/meta.pm:151
+#: ../IkiWiki/Plugin/meta.pm:158
msgid "stylesheet not found"
msgstr "સ્ટાઇલશીટ મળ્યું નહી"
-#: ../IkiWiki/Plugin/meta.pm:185
+#: ../IkiWiki/Plugin/meta.pm:192
#, fuzzy
msgid "redir page not found"
msgstr "ફીડ મળ્યું નહી"
-#: ../IkiWiki/Plugin/meta.pm:198
+#: ../IkiWiki/Plugin/meta.pm:205
#, fuzzy
msgid "redir cycle is not allowed"
msgstr "ફીડ મળ્યું નહી"
@@ -726,18 +742,19 @@ msgstr ""
msgid "search"
msgstr ""
-#: ../IkiWiki/Plugin/shortcut.pm:28
-msgid "shortcut plugin will not work without a shortcuts.mdwn"
+#: ../IkiWiki/Plugin/shortcut.pm:31
+#, perl-format
+msgid "shortcut plugin will not work without %s"
msgstr ""
-#: ../IkiWiki/Plugin/shortcut.pm:38
+#: ../IkiWiki/Plugin/shortcut.pm:44
msgid "missing name or url parameter"
msgstr "ખોવાયેલ નામ અથવા યુઆરએલ વિકલ્પ"
#. translators: This is used to display what shortcuts are defined.
#. translators: First parameter is the name of the shortcut, the second
#. translators: is an URL.
-#: ../IkiWiki/Plugin/shortcut.pm:48
+#: ../IkiWiki/Plugin/shortcut.pm:54
#, perl-format
msgid "shortcut %s points to %s"
msgstr "ટુંકોરસ્તો %s એ %s નો નિર્દેશ કરે છે"
@@ -835,10 +852,6 @@ msgstr ""
msgid "enable %s?"
msgstr ""
-#: ../IkiWiki/Plugin/websetup.pm:236
-msgid "you are not logged in as an admin"
-msgstr ""
-
#: ../IkiWiki/Plugin/websetup.pm:240
msgid "setup file for this wiki is not known"
msgstr ""
@@ -941,16 +954,16 @@ msgstr "ikiwiki: %s રેન્ડર કરી શકાતું નથી"
msgid "cannot read %s: %s"
msgstr "વાંચી શકાતી નથી %s: %s"
-#: ../IkiWiki/Setup/Automator.pm:33
+#: ../IkiWiki/Setup/Automator.pm:34
msgid "you must enter a wikiname (that contains alphanumerics)"
msgstr ""
-#: ../IkiWiki/Setup/Automator.pm:67
+#: ../IkiWiki/Setup/Automator.pm:68
#, perl-format
msgid "unsupported revision control system %s"
msgstr ""
-#: ../IkiWiki/Setup/Automator.pm:93
+#: ../IkiWiki/Setup/Automator.pm:94
msgid "failed to set up the repository with ikiwiki-makerepo"
msgstr ""
@@ -967,21 +980,14 @@ msgstr "ગોઠવણ ફાઇલનો ઉપયોગ કરે છે ત
msgid "wrapper filename not specified"
msgstr "આવરણ ફાઇલનામ સ્પષ્ટ કરેલ નથી"
-#. translators: The first parameter is a filename, and the second is
-#. translators: a (probably not translated) error message.
-#: ../IkiWiki/Wrapper.pm:97
-#, perl-format
-msgid "failed to write %s: %s"
-msgstr "%s લખવામાં નિષ્ફળ: %s"
-
#. translators: The parameter is a C filename.
-#: ../IkiWiki/Wrapper.pm:154
+#: ../IkiWiki/Wrapper.pm:152
#, perl-format
msgid "failed to compile %s"
msgstr "%s કમ્પાઇલ કરવામાં નિષ્ફળ"
#. translators: The parameter is a filename.
-#: ../IkiWiki/Wrapper.pm:174
+#: ../IkiWiki/Wrapper.pm:172
#, perl-format
msgid "successfully generated %s"
msgstr "સફળતાપૂર્વક પેદા કરેલ છે %s"
@@ -998,15 +1004,15 @@ msgstr ""
msgid "usage: --set var=value"
msgstr ""
-#: ../ikiwiki.in:139
+#: ../ikiwiki.in:140
msgid "generating wrappers.."
msgstr "આવરણ બનાવે છે.."
-#: ../ikiwiki.in:197
+#: ../ikiwiki.in:199
msgid "rebuilding wiki.."
msgstr "વીકી ફરીથી બનાવે છે.."
-#: ../ikiwiki.in:200
+#: ../ikiwiki.in:202
msgid "refreshing wiki.."
msgstr "વીકીને તાજી કરે છે.."
@@ -1028,7 +1034,7 @@ msgstr ""
msgid "preprocessing loop detected on %s at depth %i"
msgstr "%s પર શોધાયેલ લુપ %s પર ચલાવે છે %i ઉંડાણ પર"
-#: ../IkiWiki.pm:1661
+#: ../IkiWiki.pm:1725
msgid "yes"
msgstr ""
@@ -1052,6 +1058,9 @@ msgstr ""
msgid "What is the domain name of the web server?"
msgstr ""
+#~ msgid "failed to write %s: %s"
+#~ msgstr "%s લખવામાં નિષ્ફળ: %s"
+
#~ msgid "failed to find url in html"
#~ msgstr "htmlમાં યુઆરએલ શોધવામાં નિષ્ફળ"
diff --git a/po/ikiwiki.pot b/po/ikiwiki.pot
index 508ed913b..a0fef590c 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-01-17 18:19-0500\n"
+"POT-Creation-Date: 2009-02-14 03:04-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -24,7 +24,7 @@ msgstr ""
msgid "login failed, perhaps you need to turn on cookies?"
msgstr ""
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:280
+#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:294
msgid "Your login session has expired."
msgstr ""
@@ -44,11 +44,11 @@ msgstr ""
msgid "Preferences saved."
msgstr ""
-#: ../IkiWiki/CGI.pm:241
+#: ../IkiWiki/CGI.pm:257
msgid "You are banned."
msgstr ""
-#: ../IkiWiki/CGI.pm:371 ../IkiWiki/CGI.pm:372 ../IkiWiki.pm:1204
+#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1204
msgid "Error"
msgstr ""
@@ -120,7 +120,7 @@ msgstr ""
msgid "feed crashed XML::Feed!"
msgstr ""
-#: ../IkiWiki/Plugin/aggregate.pm:605
+#: ../IkiWiki/Plugin/aggregate.pm:610
#, perl-format
msgid "creating new page %s"
msgstr ""
@@ -129,7 +129,7 @@ msgstr ""
msgid "deleting bucket.."
msgstr ""
-#: ../IkiWiki/Plugin/amazon_s3.pm:38 ../ikiwiki.in:208
+#: ../IkiWiki/Plugin/amazon_s3.pm:38 ../ikiwiki.in:210
msgid "done"
msgstr ""
@@ -171,17 +171,13 @@ msgstr ""
msgid "automatic index generation"
msgstr ""
-#: ../IkiWiki/Plugin/blogspam.pm:102
+#: ../IkiWiki/Plugin/blogspam.pm:105
msgid ""
"Sorry, but that looks like spam to blogspam: "
msgstr ""
-#: ../IkiWiki/Plugin/blogspam.pm:105
-msgid "blogspam server failure: "
-msgstr ""
-
-#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:296
+#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:233
#: ../IkiWiki/Plugin/inline.pm:354 ../IkiWiki/Plugin/opendiscussion.pm:26
#: ../IkiWiki/Plugin/orphans.pm:37 ../IkiWiki/Render.pm:79
#: ../IkiWiki/Render.pm:149
@@ -197,57 +193,68 @@ msgstr ""
msgid "There are no broken links!"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:120 ../IkiWiki/Plugin/format.pm:23
+#: ../IkiWiki/Plugin/comments.pm:122 ../IkiWiki/Plugin/format.pm:23
#, perl-format
msgid "unsupported page format %s"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:125
+#: ../IkiWiki/Plugin/comments.pm:127
msgid "comment must have content"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:181
+#: ../IkiWiki/Plugin/comments.pm:183
msgid "Anonymous"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:252 ../IkiWiki/Plugin/recentchanges.pm:110
-msgid "missing page"
-msgstr ""
-
-#: ../IkiWiki/Plugin/comments.pm:254 ../IkiWiki/Plugin/recentchanges.pm:112
-#, perl-format
-msgid "The page %s does not exist."
-msgstr ""
-
-#: ../IkiWiki/Plugin/comments.pm:343 ../IkiWiki/Plugin/editpage.pm:160
+#: ../IkiWiki/Plugin/comments.pm:326 ../IkiWiki/Plugin/editpage.pm:97
msgid "bad page name"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:348
+#: ../IkiWiki/Plugin/comments.pm:331
#, perl-format
msgid "commenting on %s"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:366
+#: ../IkiWiki/Plugin/comments.pm:349
#, perl-format
msgid "page '%s' doesn't exist, so you can't comment"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:373
+#: ../IkiWiki/Plugin/comments.pm:356
#, perl-format
msgid "comments on page '%s' are closed"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:493
+#: ../IkiWiki/Plugin/comments.pm:450
+msgid "comment stored for moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:452
+msgid "Your comment will be posted after moderator review"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:465
msgid "Added a comment"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:497
+#: ../IkiWiki/Plugin/comments.pm:469
#, perl-format
msgid "Added a comment: %s"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:611
+#: ../IkiWiki/Plugin/comments.pm:510 ../IkiWiki/Plugin/websetup.pm:236
+msgid "you are not logged in as an admin"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:561
+msgid "Comment moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:600
+msgid "comment moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:750
msgid "Comments"
msgstr ""
@@ -272,19 +279,19 @@ msgstr ""
msgid "removing old preview %s"
msgstr ""
-#: ../IkiWiki/Plugin/editpage.pm:176
+#: ../IkiWiki/Plugin/editpage.pm:113
#, perl-format
msgid "%s is not an editable page"
msgstr ""
-#: ../IkiWiki/Plugin/editpage.pm:352
+#: ../IkiWiki/Plugin/editpage.pm:289
#, perl-format
msgid "creating %s"
msgstr ""
-#: ../IkiWiki/Plugin/editpage.pm:370 ../IkiWiki/Plugin/editpage.pm:389
-#: ../IkiWiki/Plugin/editpage.pm:399 ../IkiWiki/Plugin/editpage.pm:443
-#: ../IkiWiki/Plugin/editpage.pm:482
+#: ../IkiWiki/Plugin/editpage.pm:307 ../IkiWiki/Plugin/editpage.pm:326
+#: ../IkiWiki/Plugin/editpage.pm:336 ../IkiWiki/Plugin/editpage.pm:380
+#: ../IkiWiki/Plugin/editpage.pm:419
#, perl-format
msgid "editing %s"
msgstr ""
@@ -314,18 +321,18 @@ msgstr ""
msgid "fortune failed"
msgstr ""
-#: ../IkiWiki/Plugin/git.pm:618 ../IkiWiki/Plugin/git.pm:636
+#: ../IkiWiki/Plugin/git.pm:624 ../IkiWiki/Plugin/git.pm:642
#: ../IkiWiki/Receive.pm:129
#, perl-format
msgid "you are not allowed to change %s"
msgstr ""
-#: ../IkiWiki/Plugin/git.pm:658
+#: ../IkiWiki/Plugin/git.pm:664
#, perl-format
msgid "you cannot act on a file with mode %s"
msgstr ""
-#: ../IkiWiki/Plugin/git.pm:662
+#: ../IkiWiki/Plugin/git.pm:668
msgid "you are not allowed to change file modes"
msgstr ""
@@ -338,6 +345,15 @@ msgstr ""
msgid "Failed to parse url, cannot determine domain name"
msgstr ""
+#: ../IkiWiki/Plugin/goto.pm:49
+msgid "missing page"
+msgstr ""
+
+#: ../IkiWiki/Plugin/goto.pm:51
+#, perl-format
+msgid "The page %s does not exist."
+msgstr ""
+
#: ../IkiWiki/Plugin/graphviz.pm:67
msgid "failed to run graphviz"
msgstr ""
@@ -401,7 +417,7 @@ msgstr ""
msgid "Discussion"
msgstr ""
-#: ../IkiWiki/Plugin/inline.pm:587
+#: ../IkiWiki/Plugin/inline.pm:593
msgid "RPC::XML::Client not found, not pinging"
msgstr ""
@@ -423,15 +439,15 @@ msgstr ""
msgid "failed to load Markdown.pm perl module (%s) or /usr/bin/markdown (%s)"
msgstr ""
-#: ../IkiWiki/Plugin/meta.pm:151
+#: ../IkiWiki/Plugin/meta.pm:158
msgid "stylesheet not found"
msgstr ""
-#: ../IkiWiki/Plugin/meta.pm:185
+#: ../IkiWiki/Plugin/meta.pm:192
msgid "redir page not found"
msgstr ""
-#: ../IkiWiki/Plugin/meta.pm:198
+#: ../IkiWiki/Plugin/meta.pm:205
msgid "redir cycle is not allowed"
msgstr ""
@@ -711,18 +727,19 @@ msgstr ""
msgid "search"
msgstr ""
-#: ../IkiWiki/Plugin/shortcut.pm:28
-msgid "shortcut plugin will not work without a shortcuts.mdwn"
+#: ../IkiWiki/Plugin/shortcut.pm:31
+#, perl-format
+msgid "shortcut plugin will not work without %s"
msgstr ""
-#: ../IkiWiki/Plugin/shortcut.pm:38
+#: ../IkiWiki/Plugin/shortcut.pm:44
msgid "missing name or url parameter"
msgstr ""
#. translators: This is used to display what shortcuts are defined.
#. translators: First parameter is the name of the shortcut, the second
#. translators: is an URL.
-#: ../IkiWiki/Plugin/shortcut.pm:48
+#: ../IkiWiki/Plugin/shortcut.pm:54
#, perl-format
msgid "shortcut %s points to %s"
msgstr ""
@@ -818,10 +835,6 @@ msgstr ""
msgid "enable %s?"
msgstr ""
-#: ../IkiWiki/Plugin/websetup.pm:236
-msgid "you are not logged in as an admin"
-msgstr ""
-
#: ../IkiWiki/Plugin/websetup.pm:240
msgid "setup file for this wiki is not known"
msgstr ""
@@ -924,16 +937,16 @@ msgstr ""
msgid "cannot read %s: %s"
msgstr ""
-#: ../IkiWiki/Setup/Automator.pm:33
+#: ../IkiWiki/Setup/Automator.pm:34
msgid "you must enter a wikiname (that contains alphanumerics)"
msgstr ""
-#: ../IkiWiki/Setup/Automator.pm:67
+#: ../IkiWiki/Setup/Automator.pm:68
#, perl-format
msgid "unsupported revision control system %s"
msgstr ""
-#: ../IkiWiki/Setup/Automator.pm:93
+#: ../IkiWiki/Setup/Automator.pm:94
msgid "failed to set up the repository with ikiwiki-makerepo"
msgstr ""
@@ -950,21 +963,14 @@ msgstr ""
msgid "wrapper filename not specified"
msgstr ""
-#. translators: The first parameter is a filename, and the second is
-#. translators: a (probably not translated) error message.
-#: ../IkiWiki/Wrapper.pm:97
-#, perl-format
-msgid "failed to write %s: %s"
-msgstr ""
-
#. translators: The parameter is a C filename.
-#: ../IkiWiki/Wrapper.pm:154
+#: ../IkiWiki/Wrapper.pm:152
#, perl-format
msgid "failed to compile %s"
msgstr ""
#. translators: The parameter is a filename.
-#: ../IkiWiki/Wrapper.pm:174
+#: ../IkiWiki/Wrapper.pm:172
#, perl-format
msgid "successfully generated %s"
msgstr ""
@@ -981,15 +987,15 @@ msgstr ""
msgid "usage: --set var=value"
msgstr ""
-#: ../ikiwiki.in:139
+#: ../ikiwiki.in:140
msgid "generating wrappers.."
msgstr ""
-#: ../ikiwiki.in:197
+#: ../ikiwiki.in:199
msgid "rebuilding wiki.."
msgstr ""
-#: ../ikiwiki.in:200
+#: ../ikiwiki.in:202
msgid "refreshing wiki.."
msgstr ""
@@ -1011,7 +1017,7 @@ msgstr ""
msgid "preprocessing loop detected on %s at depth %i"
msgstr ""
-#: ../IkiWiki.pm:1661
+#: ../IkiWiki.pm:1725
msgid "yes"
msgstr ""
diff --git a/po/pl.po b/po/pl.po
index 52bc55dde..ee3ac8f5d 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-01-17 18:19-0500\n"
+"POT-Creation-Date: 2009-02-14 03:04-0500\n"
"PO-Revision-Date: 2007-04-27 22:05+0200\n"
"Last-Translator: Pawel Tecza \n"
"Language-Team: Debian L10n Polish \n"
@@ -26,7 +26,7 @@ msgstr ""
"Nieudane logowanie. Proszę sprawdzić czy w przeglądarce włączone są "
"ciasteczka (ang. cookies)"
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:280
+#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:294
msgid "Your login session has expired."
msgstr ""
@@ -47,11 +47,11 @@ msgstr ""
msgid "Preferences saved."
msgstr "Preferencje zapisane."
-#: ../IkiWiki/CGI.pm:241
+#: ../IkiWiki/CGI.pm:257
msgid "You are banned."
msgstr "Twój dostęp został zabroniony przez administratora."
-#: ../IkiWiki/CGI.pm:371 ../IkiWiki/CGI.pm:372 ../IkiWiki.pm:1204
+#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1204
msgid "Error"
msgstr "Błąd"
@@ -124,7 +124,7 @@ msgstr ""
msgid "feed crashed XML::Feed!"
msgstr "awaria kanału RSS w module XML::Feed!"
-#: ../IkiWiki/Plugin/aggregate.pm:605
+#: ../IkiWiki/Plugin/aggregate.pm:610
#, perl-format
msgid "creating new page %s"
msgstr "tworzenie nowej strony %s"
@@ -133,7 +133,7 @@ msgstr "tworzenie nowej strony %s"
msgid "deleting bucket.."
msgstr ""
-#: ../IkiWiki/Plugin/amazon_s3.pm:38 ../ikiwiki.in:208
+#: ../IkiWiki/Plugin/amazon_s3.pm:38 ../ikiwiki.in:210
msgid "done"
msgstr "gotowe"
@@ -177,17 +177,13 @@ msgstr ""
msgid "automatic index generation"
msgstr ""
-#: ../IkiWiki/Plugin/blogspam.pm:102
+#: ../IkiWiki/Plugin/blogspam.pm:105
msgid ""
"Sorry, but that looks like spam to blogspam: "
msgstr ""
-#: ../IkiWiki/Plugin/blogspam.pm:105
-msgid "blogspam server failure: "
-msgstr ""
-
-#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:296
+#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:233
#: ../IkiWiki/Plugin/inline.pm:354 ../IkiWiki/Plugin/opendiscussion.pm:26
#: ../IkiWiki/Plugin/orphans.pm:37 ../IkiWiki/Render.pm:79
#: ../IkiWiki/Render.pm:149
@@ -203,58 +199,68 @@ msgstr ""
msgid "There are no broken links!"
msgstr "Wszystkie odnośniki są aktualne!"
-#: ../IkiWiki/Plugin/comments.pm:120 ../IkiWiki/Plugin/format.pm:23
+#: ../IkiWiki/Plugin/comments.pm:122 ../IkiWiki/Plugin/format.pm:23
#, perl-format
msgid "unsupported page format %s"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:125
+#: ../IkiWiki/Plugin/comments.pm:127
msgid "comment must have content"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:181
+#: ../IkiWiki/Plugin/comments.pm:183
msgid "Anonymous"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:252 ../IkiWiki/Plugin/recentchanges.pm:110
-#, fuzzy
-msgid "missing page"
-msgstr "brakujące wartości"
-
-#: ../IkiWiki/Plugin/comments.pm:254 ../IkiWiki/Plugin/recentchanges.pm:112
-#, perl-format
-msgid "The page %s does not exist."
-msgstr ""
-
-#: ../IkiWiki/Plugin/comments.pm:343 ../IkiWiki/Plugin/editpage.pm:160
+#: ../IkiWiki/Plugin/comments.pm:326 ../IkiWiki/Plugin/editpage.pm:97
msgid "bad page name"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:348
+#: ../IkiWiki/Plugin/comments.pm:331
#, fuzzy, perl-format
msgid "commenting on %s"
msgstr "tworzenie %s"
-#: ../IkiWiki/Plugin/comments.pm:366
+#: ../IkiWiki/Plugin/comments.pm:349
#, perl-format
msgid "page '%s' doesn't exist, so you can't comment"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:373
+#: ../IkiWiki/Plugin/comments.pm:356
#, perl-format
msgid "comments on page '%s' are closed"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:493
+#: ../IkiWiki/Plugin/comments.pm:450
+msgid "comment stored for moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:452
+msgid "Your comment will be posted after moderator review"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:465
msgid "Added a comment"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:497
+#: ../IkiWiki/Plugin/comments.pm:469
#, perl-format
msgid "Added a comment: %s"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:611
+#: ../IkiWiki/Plugin/comments.pm:510 ../IkiWiki/Plugin/websetup.pm:236
+msgid "you are not logged in as an admin"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:561
+msgid "Comment moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:600
+msgid "comment moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:750
msgid "Comments"
msgstr ""
@@ -279,19 +285,19 @@ msgstr ""
msgid "removing old preview %s"
msgstr "usuwanie starej strony %s"
-#: ../IkiWiki/Plugin/editpage.pm:176
+#: ../IkiWiki/Plugin/editpage.pm:113
#, perl-format
msgid "%s is not an editable page"
msgstr "Strona %s nie może być edytowana"
-#: ../IkiWiki/Plugin/editpage.pm:352
+#: ../IkiWiki/Plugin/editpage.pm:289
#, perl-format
msgid "creating %s"
msgstr "tworzenie %s"
-#: ../IkiWiki/Plugin/editpage.pm:370 ../IkiWiki/Plugin/editpage.pm:389
-#: ../IkiWiki/Plugin/editpage.pm:399 ../IkiWiki/Plugin/editpage.pm:443
-#: ../IkiWiki/Plugin/editpage.pm:482
+#: ../IkiWiki/Plugin/editpage.pm:307 ../IkiWiki/Plugin/editpage.pm:326
+#: ../IkiWiki/Plugin/editpage.pm:336 ../IkiWiki/Plugin/editpage.pm:380
+#: ../IkiWiki/Plugin/editpage.pm:419
#, perl-format
msgid "editing %s"
msgstr "edycja %s"
@@ -324,18 +330,18 @@ msgstr ""
msgid "fortune failed"
msgstr "awaria fortunki"
-#: ../IkiWiki/Plugin/git.pm:618 ../IkiWiki/Plugin/git.pm:636
+#: ../IkiWiki/Plugin/git.pm:624 ../IkiWiki/Plugin/git.pm:642
#: ../IkiWiki/Receive.pm:129
#, perl-format
msgid "you are not allowed to change %s"
msgstr ""
-#: ../IkiWiki/Plugin/git.pm:658
+#: ../IkiWiki/Plugin/git.pm:664
#, perl-format
msgid "you cannot act on a file with mode %s"
msgstr ""
-#: ../IkiWiki/Plugin/git.pm:662
+#: ../IkiWiki/Plugin/git.pm:668
msgid "you are not allowed to change file modes"
msgstr ""
@@ -348,6 +354,16 @@ msgstr "Wtyczka do wyszukiwarka wymaga podania %s"
msgid "Failed to parse url, cannot determine domain name"
msgstr ""
+#: ../IkiWiki/Plugin/goto.pm:49
+#, fuzzy
+msgid "missing page"
+msgstr "brakujące wartości"
+
+#: ../IkiWiki/Plugin/goto.pm:51
+#, perl-format
+msgid "The page %s does not exist."
+msgstr ""
+
#: ../IkiWiki/Plugin/graphviz.pm:67
#, fuzzy
msgid "failed to run graphviz"
@@ -417,7 +433,7 @@ msgstr "brakujący szablon %s"
msgid "Discussion"
msgstr "Dyskusja"
-#: ../IkiWiki/Plugin/inline.pm:587
+#: ../IkiWiki/Plugin/inline.pm:593
msgid "RPC::XML::Client not found, not pinging"
msgstr "Nieznaleziony moduł RPC::XML::Client, brak możliwości pingowania"
@@ -444,17 +460,17 @@ msgstr ""
"Awaria w trakcie ładowania perlowego modułu Markdown.pm (%s) lub "
"uruchamiania programu /usr/bin/markdown (%s)"
-#: ../IkiWiki/Plugin/meta.pm:151
+#: ../IkiWiki/Plugin/meta.pm:158
#, fuzzy
msgid "stylesheet not found"
msgstr "nieznaleziony szablon ze stylami CSS"
-#: ../IkiWiki/Plugin/meta.pm:185
+#: ../IkiWiki/Plugin/meta.pm:192
#, fuzzy
msgid "redir page not found"
msgstr "nieznaleziony kanał RSS"
-#: ../IkiWiki/Plugin/meta.pm:198
+#: ../IkiWiki/Plugin/meta.pm:205
#, fuzzy
msgid "redir cycle is not allowed"
msgstr "nieznaleziony kanał RSS"
@@ -741,11 +757,12 @@ msgstr ""
msgid "search"
msgstr ""
-#: ../IkiWiki/Plugin/shortcut.pm:28
-msgid "shortcut plugin will not work without a shortcuts.mdwn"
+#: ../IkiWiki/Plugin/shortcut.pm:31
+#, perl-format
+msgid "shortcut plugin will not work without %s"
msgstr ""
-#: ../IkiWiki/Plugin/shortcut.pm:38
+#: ../IkiWiki/Plugin/shortcut.pm:44
#, fuzzy
msgid "missing name or url parameter"
msgstr "brakujący parametr name lub url"
@@ -753,7 +770,7 @@ msgstr "brakujący parametr name lub url"
#. translators: This is used to display what shortcuts are defined.
#. translators: First parameter is the name of the shortcut, the second
#. translators: is an URL.
-#: ../IkiWiki/Plugin/shortcut.pm:48
+#: ../IkiWiki/Plugin/shortcut.pm:54
#, fuzzy, perl-format
msgid "shortcut %s points to %s"
msgstr "skrót %s wskazuje na adres %s"
@@ -859,10 +876,6 @@ msgstr ""
msgid "enable %s?"
msgstr ""
-#: ../IkiWiki/Plugin/websetup.pm:236
-msgid "you are not logged in as an admin"
-msgstr ""
-
#: ../IkiWiki/Plugin/websetup.pm:240
msgid "setup file for this wiki is not known"
msgstr ""
@@ -965,16 +978,16 @@ msgstr "ikiwiki: awaria w trakcie tworzenia %s"
msgid "cannot read %s: %s"
msgstr "awaria w trakcie odczytu %s: %s"
-#: ../IkiWiki/Setup/Automator.pm:33
+#: ../IkiWiki/Setup/Automator.pm:34
msgid "you must enter a wikiname (that contains alphanumerics)"
msgstr ""
-#: ../IkiWiki/Setup/Automator.pm:67
+#: ../IkiWiki/Setup/Automator.pm:68
#, perl-format
msgid "unsupported revision control system %s"
msgstr ""
-#: ../IkiWiki/Setup/Automator.pm:93
+#: ../IkiWiki/Setup/Automator.pm:94
msgid "failed to set up the repository with ikiwiki-makerepo"
msgstr ""
@@ -991,21 +1004,14 @@ msgstr "awaria w trakcie tworzenia osłony używającej pliku konfiguracyjnego"
msgid "wrapper filename not specified"
msgstr "nieokreślona nazwa pliku osłony"
-#. translators: The first parameter is a filename, and the second is
-#. translators: a (probably not translated) error message.
-#: ../IkiWiki/Wrapper.pm:97
-#, perl-format
-msgid "failed to write %s: %s"
-msgstr "awaria w trakcie zapisu %s: %s"
-
#. translators: The parameter is a C filename.
-#: ../IkiWiki/Wrapper.pm:154
+#: ../IkiWiki/Wrapper.pm:152
#, perl-format
msgid "failed to compile %s"
msgstr "awaria w trakcie kompilowania %s"
#. translators: The parameter is a filename.
-#: ../IkiWiki/Wrapper.pm:174
+#: ../IkiWiki/Wrapper.pm:172
#, perl-format
msgid "successfully generated %s"
msgstr "pomyślnie utworzono %s"
@@ -1022,15 +1028,15 @@ msgstr ""
msgid "usage: --set var=value"
msgstr ""
-#: ../ikiwiki.in:139
+#: ../ikiwiki.in:140
msgid "generating wrappers.."
msgstr "tworzenie osłon..."
-#: ../ikiwiki.in:197
+#: ../ikiwiki.in:199
msgid "rebuilding wiki.."
msgstr "przebudowywanie wiki..."
-#: ../ikiwiki.in:200
+#: ../ikiwiki.in:202
msgid "refreshing wiki.."
msgstr "odświeżanie wiki..."
@@ -1054,7 +1060,7 @@ msgstr ""
msgid "preprocessing loop detected on %s at depth %i"
msgstr "polecenie preprocesora %s wykryte w %s na głębokości %i"
-#: ../IkiWiki.pm:1661
+#: ../IkiWiki.pm:1725
msgid "yes"
msgstr ""
@@ -1078,6 +1084,9 @@ msgstr ""
msgid "What is the domain name of the web server?"
msgstr ""
+#~ msgid "failed to write %s: %s"
+#~ msgstr "awaria w trakcie zapisu %s: %s"
+
#, fuzzy
#~ msgid "failed to find url in html"
#~ msgstr "awaria w trakcie wyszukiwania adresu URL na stronie HTML"
diff --git a/po/sv.po b/po/sv.po
index 5bf8b3faf..a2b121423 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-01-17 18:19-0500\n"
+"POT-Creation-Date: 2009-02-14 03:04-0500\n"
"PO-Revision-Date: 2007-01-10 23:47+0100\n"
"Last-Translator: Daniel Nylander \n"
"Language-Team: Swedish \n"
@@ -23,7 +23,7 @@ msgstr "Du måste logga in först."
msgid "login failed, perhaps you need to turn on cookies?"
msgstr ""
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:280
+#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:294
msgid "Your login session has expired."
msgstr ""
@@ -44,11 +44,11 @@ msgstr ""
msgid "Preferences saved."
msgstr "Inställningar sparades."
-#: ../IkiWiki/CGI.pm:241
+#: ../IkiWiki/CGI.pm:257
msgid "You are banned."
msgstr "Du är bannlyst."
-#: ../IkiWiki/CGI.pm:371 ../IkiWiki/CGI.pm:372 ../IkiWiki.pm:1204
+#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1204
msgid "Error"
msgstr "Fel"
@@ -121,7 +121,7 @@ msgstr ""
msgid "feed crashed XML::Feed!"
msgstr "kanalen kraschade XML::Feed!"
-#: ../IkiWiki/Plugin/aggregate.pm:605
+#: ../IkiWiki/Plugin/aggregate.pm:610
#, perl-format
msgid "creating new page %s"
msgstr "skapar nya sidan %s"
@@ -130,7 +130,7 @@ msgstr "skapar nya sidan %s"
msgid "deleting bucket.."
msgstr ""
-#: ../IkiWiki/Plugin/amazon_s3.pm:38 ../ikiwiki.in:208
+#: ../IkiWiki/Plugin/amazon_s3.pm:38 ../ikiwiki.in:210
msgid "done"
msgstr "klar"
@@ -174,17 +174,13 @@ msgstr ""
msgid "automatic index generation"
msgstr ""
-#: ../IkiWiki/Plugin/blogspam.pm:102
+#: ../IkiWiki/Plugin/blogspam.pm:105
msgid ""
"Sorry, but that looks like spam to blogspam: "
msgstr ""
-#: ../IkiWiki/Plugin/blogspam.pm:105
-msgid "blogspam server failure: "
-msgstr ""
-
-#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:296
+#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:233
#: ../IkiWiki/Plugin/inline.pm:354 ../IkiWiki/Plugin/opendiscussion.pm:26
#: ../IkiWiki/Plugin/orphans.pm:37 ../IkiWiki/Render.pm:79
#: ../IkiWiki/Render.pm:149
@@ -200,58 +196,68 @@ msgstr ""
msgid "There are no broken links!"
msgstr "Det finns inga trasiga länkar!"
-#: ../IkiWiki/Plugin/comments.pm:120 ../IkiWiki/Plugin/format.pm:23
+#: ../IkiWiki/Plugin/comments.pm:122 ../IkiWiki/Plugin/format.pm:23
#, perl-format
msgid "unsupported page format %s"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:125
+#: ../IkiWiki/Plugin/comments.pm:127
msgid "comment must have content"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:181
+#: ../IkiWiki/Plugin/comments.pm:183
msgid "Anonymous"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:252 ../IkiWiki/Plugin/recentchanges.pm:110
-#, fuzzy
-msgid "missing page"
-msgstr "mall saknar id-parameter"
-
-#: ../IkiWiki/Plugin/comments.pm:254 ../IkiWiki/Plugin/recentchanges.pm:112
-#, perl-format
-msgid "The page %s does not exist."
-msgstr ""
-
-#: ../IkiWiki/Plugin/comments.pm:343 ../IkiWiki/Plugin/editpage.pm:160
+#: ../IkiWiki/Plugin/comments.pm:326 ../IkiWiki/Plugin/editpage.pm:97
msgid "bad page name"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:348
+#: ../IkiWiki/Plugin/comments.pm:331
#, fuzzy, perl-format
msgid "commenting on %s"
msgstr "skapar %s"
-#: ../IkiWiki/Plugin/comments.pm:366
+#: ../IkiWiki/Plugin/comments.pm:349
#, perl-format
msgid "page '%s' doesn't exist, so you can't comment"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:373
+#: ../IkiWiki/Plugin/comments.pm:356
#, perl-format
msgid "comments on page '%s' are closed"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:493
+#: ../IkiWiki/Plugin/comments.pm:450
+msgid "comment stored for moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:452
+msgid "Your comment will be posted after moderator review"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:465
msgid "Added a comment"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:497
+#: ../IkiWiki/Plugin/comments.pm:469
#, perl-format
msgid "Added a comment: %s"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:611
+#: ../IkiWiki/Plugin/comments.pm:510 ../IkiWiki/Plugin/websetup.pm:236
+msgid "you are not logged in as an admin"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:561
+msgid "Comment moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:600
+msgid "comment moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:750
msgid "Comments"
msgstr ""
@@ -276,19 +282,19 @@ msgstr ""
msgid "removing old preview %s"
msgstr "tar bort gammal sida %s"
-#: ../IkiWiki/Plugin/editpage.pm:176
+#: ../IkiWiki/Plugin/editpage.pm:113
#, perl-format
msgid "%s is not an editable page"
msgstr ""
-#: ../IkiWiki/Plugin/editpage.pm:352
+#: ../IkiWiki/Plugin/editpage.pm:289
#, perl-format
msgid "creating %s"
msgstr "skapar %s"
-#: ../IkiWiki/Plugin/editpage.pm:370 ../IkiWiki/Plugin/editpage.pm:389
-#: ../IkiWiki/Plugin/editpage.pm:399 ../IkiWiki/Plugin/editpage.pm:443
-#: ../IkiWiki/Plugin/editpage.pm:482
+#: ../IkiWiki/Plugin/editpage.pm:307 ../IkiWiki/Plugin/editpage.pm:326
+#: ../IkiWiki/Plugin/editpage.pm:336 ../IkiWiki/Plugin/editpage.pm:380
+#: ../IkiWiki/Plugin/editpage.pm:419
#, perl-format
msgid "editing %s"
msgstr "redigerar %s"
@@ -321,18 +327,18 @@ msgstr ""
msgid "fortune failed"
msgstr "fortune misslyckades"
-#: ../IkiWiki/Plugin/git.pm:618 ../IkiWiki/Plugin/git.pm:636
+#: ../IkiWiki/Plugin/git.pm:624 ../IkiWiki/Plugin/git.pm:642
#: ../IkiWiki/Receive.pm:129
#, perl-format
msgid "you are not allowed to change %s"
msgstr ""
-#: ../IkiWiki/Plugin/git.pm:658
+#: ../IkiWiki/Plugin/git.pm:664
#, perl-format
msgid "you cannot act on a file with mode %s"
msgstr ""
-#: ../IkiWiki/Plugin/git.pm:662
+#: ../IkiWiki/Plugin/git.pm:668
msgid "you are not allowed to change file modes"
msgstr ""
@@ -345,6 +351,16 @@ 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:49
+#, fuzzy
+msgid "missing page"
+msgstr "mall saknar id-parameter"
+
+#: ../IkiWiki/Plugin/goto.pm:51
+#, perl-format
+msgid "The page %s does not exist."
+msgstr ""
+
#: ../IkiWiki/Plugin/graphviz.pm:67
#, fuzzy
msgid "failed to run graphviz"
@@ -412,7 +428,7 @@ msgstr ""
msgid "Discussion"
msgstr "Diskussion"
-#: ../IkiWiki/Plugin/inline.pm:587
+#: ../IkiWiki/Plugin/inline.pm:593
msgid "RPC::XML::Client not found, not pinging"
msgstr "RPC::XML::Client hittades inte, pingar inte"
@@ -437,17 +453,17 @@ msgstr ""
"misslyckades med att läsa in Perl-modulen Markdown.pm (%s) eller /usr/bin/"
"markdown (%s)"
-#: ../IkiWiki/Plugin/meta.pm:151
+#: ../IkiWiki/Plugin/meta.pm:158
#, fuzzy
msgid "stylesheet not found"
msgstr "mallen %s hittades inte"
-#: ../IkiWiki/Plugin/meta.pm:185
+#: ../IkiWiki/Plugin/meta.pm:192
#, fuzzy
msgid "redir page not found"
msgstr "mallen %s hittades inte"
-#: ../IkiWiki/Plugin/meta.pm:198
+#: ../IkiWiki/Plugin/meta.pm:205
#, fuzzy
msgid "redir cycle is not allowed"
msgstr "mallen %s hittades inte"
@@ -731,11 +747,12 @@ msgstr ""
msgid "search"
msgstr ""
-#: ../IkiWiki/Plugin/shortcut.pm:28
-msgid "shortcut plugin will not work without a shortcuts.mdwn"
+#: ../IkiWiki/Plugin/shortcut.pm:31
+#, perl-format
+msgid "shortcut plugin will not work without %s"
msgstr ""
-#: ../IkiWiki/Plugin/shortcut.pm:38
+#: ../IkiWiki/Plugin/shortcut.pm:44
#, fuzzy
msgid "missing name or url parameter"
msgstr "genväg saknar parameter för namn eller url"
@@ -743,7 +760,7 @@ msgstr "genväg saknar parameter för namn eller url"
#. translators: This is used to display what shortcuts are defined.
#. translators: First parameter is the name of the shortcut, the second
#. translators: is an URL.
-#: ../IkiWiki/Plugin/shortcut.pm:48
+#: ../IkiWiki/Plugin/shortcut.pm:54
#, fuzzy, perl-format
msgid "shortcut %s points to %s"
msgstr "genvägen %s pekar på %s"
@@ -848,10 +865,6 @@ msgstr ""
msgid "enable %s?"
msgstr ""
-#: ../IkiWiki/Plugin/websetup.pm:236
-msgid "you are not logged in as an admin"
-msgstr ""
-
#: ../IkiWiki/Plugin/websetup.pm:240
msgid "setup file for this wiki is not known"
msgstr ""
@@ -954,16 +967,16 @@ msgstr "ikiwiki: kan inte rita upp %s"
msgid "cannot read %s: %s"
msgstr "kan inte läsa %s: %s"
-#: ../IkiWiki/Setup/Automator.pm:33
+#: ../IkiWiki/Setup/Automator.pm:34
msgid "you must enter a wikiname (that contains alphanumerics)"
msgstr ""
-#: ../IkiWiki/Setup/Automator.pm:67
+#: ../IkiWiki/Setup/Automator.pm:68
#, perl-format
msgid "unsupported revision control system %s"
msgstr ""
-#: ../IkiWiki/Setup/Automator.pm:93
+#: ../IkiWiki/Setup/Automator.pm:94
msgid "failed to set up the repository with ikiwiki-makerepo"
msgstr ""
@@ -980,21 +993,14 @@ msgstr "kan inte skapa en wrapper som använder en konfigurationsfil"
msgid "wrapper filename not specified"
msgstr "filnamn för wrapper har inte angivits"
-#. translators: The first parameter is a filename, and the second is
-#. translators: a (probably not translated) error message.
-#: ../IkiWiki/Wrapper.pm:97
-#, perl-format
-msgid "failed to write %s: %s"
-msgstr "misslyckades med att skriva %s: %s"
-
#. translators: The parameter is a C filename.
-#: ../IkiWiki/Wrapper.pm:154
+#: ../IkiWiki/Wrapper.pm:152
#, perl-format
msgid "failed to compile %s"
msgstr "misslyckades med att kompilera %s"
#. translators: The parameter is a filename.
-#: ../IkiWiki/Wrapper.pm:174
+#: ../IkiWiki/Wrapper.pm:172
#, perl-format
msgid "successfully generated %s"
msgstr "generering av %s lyckades"
@@ -1011,15 +1017,15 @@ msgstr ""
msgid "usage: --set var=value"
msgstr ""
-#: ../ikiwiki.in:139
+#: ../ikiwiki.in:140
msgid "generating wrappers.."
msgstr "genererar wrappers.."
-#: ../ikiwiki.in:197
+#: ../ikiwiki.in:199
msgid "rebuilding wiki.."
msgstr "bygger om wiki.."
-#: ../ikiwiki.in:200
+#: ../ikiwiki.in:202
msgid "refreshing wiki.."
msgstr "uppdaterar wiki.."
@@ -1041,7 +1047,7 @@ msgstr ""
msgid "preprocessing loop detected on %s at depth %i"
msgstr "%s förbehandlingsslinga detekterades på %s, djup %i"
-#: ../IkiWiki.pm:1661
+#: ../IkiWiki.pm:1725
msgid "yes"
msgstr ""
@@ -1065,6 +1071,9 @@ msgstr ""
msgid "What is the domain name of the web server?"
msgstr ""
+#~ msgid "failed to write %s: %s"
+#~ msgstr "misslyckades med att skriva %s: %s"
+
#, fuzzy
#~ msgid "failed to find url in html"
#~ msgstr "googlecalendar misslyckades med att hitta url i html"
diff --git a/po/vi.po b/po/vi.po
index 6082879f5..d7ea90473 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-01-17 18:19-0500\n"
+"POT-Creation-Date: 2009-02-14 03:04-0500\n"
"PO-Revision-Date: 2007-01-13 15:31+1030\n"
"Last-Translator: Clytie Siddall \n"
"Language-Team: Vietnamese \n"
@@ -24,7 +24,7 @@ msgstr "Trước tiên bạn cần phải đăng nhập."
msgid "login failed, perhaps you need to turn on cookies?"
msgstr ""
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:280
+#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:294
msgid "Your login session has expired."
msgstr ""
@@ -45,11 +45,11 @@ msgstr ""
msgid "Preferences saved."
msgstr "Tùy thích đã được lưu."
-#: ../IkiWiki/CGI.pm:241
+#: ../IkiWiki/CGI.pm:257
msgid "You are banned."
msgstr "Bạn bị cấm ra."
-#: ../IkiWiki/CGI.pm:371 ../IkiWiki/CGI.pm:372 ../IkiWiki.pm:1204
+#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1204
msgid "Error"
msgstr "Lỗi"
@@ -122,7 +122,7 @@ msgstr ""
msgid "feed crashed XML::Feed!"
msgstr "nguồn tin đã gây ra XML::Feed sụp đổ."
-#: ../IkiWiki/Plugin/aggregate.pm:605
+#: ../IkiWiki/Plugin/aggregate.pm:610
#, perl-format
msgid "creating new page %s"
msgstr "đang tạo trang mới %s"
@@ -131,7 +131,7 @@ msgstr "đang tạo trang mới %s"
msgid "deleting bucket.."
msgstr ""
-#: ../IkiWiki/Plugin/amazon_s3.pm:38 ../ikiwiki.in:208
+#: ../IkiWiki/Plugin/amazon_s3.pm:38 ../ikiwiki.in:210
msgid "done"
msgstr "xong"
@@ -175,17 +175,13 @@ msgstr ""
msgid "automatic index generation"
msgstr ""
-#: ../IkiWiki/Plugin/blogspam.pm:102
+#: ../IkiWiki/Plugin/blogspam.pm:105
msgid ""
"Sorry, but that looks like spam to blogspam: "
msgstr ""
-#: ../IkiWiki/Plugin/blogspam.pm:105
-msgid "blogspam server failure: "
-msgstr ""
-
-#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:296
+#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:233
#: ../IkiWiki/Plugin/inline.pm:354 ../IkiWiki/Plugin/opendiscussion.pm:26
#: ../IkiWiki/Plugin/orphans.pm:37 ../IkiWiki/Render.pm:79
#: ../IkiWiki/Render.pm:149
@@ -201,58 +197,68 @@ msgstr ""
msgid "There are no broken links!"
msgstr "Không có liên kết bị ngắt nào."
-#: ../IkiWiki/Plugin/comments.pm:120 ../IkiWiki/Plugin/format.pm:23
+#: ../IkiWiki/Plugin/comments.pm:122 ../IkiWiki/Plugin/format.pm:23
#, perl-format
msgid "unsupported page format %s"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:125
+#: ../IkiWiki/Plugin/comments.pm:127
msgid "comment must have content"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:181
+#: ../IkiWiki/Plugin/comments.pm:183
msgid "Anonymous"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:252 ../IkiWiki/Plugin/recentchanges.pm:110
-#, fuzzy
-msgid "missing page"
-msgstr "mẫu thiếu tham số id"
-
-#: ../IkiWiki/Plugin/comments.pm:254 ../IkiWiki/Plugin/recentchanges.pm:112
-#, perl-format
-msgid "The page %s does not exist."
-msgstr ""
-
-#: ../IkiWiki/Plugin/comments.pm:343 ../IkiWiki/Plugin/editpage.pm:160
+#: ../IkiWiki/Plugin/comments.pm:326 ../IkiWiki/Plugin/editpage.pm:97
msgid "bad page name"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:348
+#: ../IkiWiki/Plugin/comments.pm:331
#, fuzzy, perl-format
msgid "commenting on %s"
msgstr "đang tạo %s"
-#: ../IkiWiki/Plugin/comments.pm:366
+#: ../IkiWiki/Plugin/comments.pm:349
#, perl-format
msgid "page '%s' doesn't exist, so you can't comment"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:373
+#: ../IkiWiki/Plugin/comments.pm:356
#, perl-format
msgid "comments on page '%s' are closed"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:493
+#: ../IkiWiki/Plugin/comments.pm:450
+msgid "comment stored for moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:452
+msgid "Your comment will be posted after moderator review"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:465
msgid "Added a comment"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:497
+#: ../IkiWiki/Plugin/comments.pm:469
#, perl-format
msgid "Added a comment: %s"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:611
+#: ../IkiWiki/Plugin/comments.pm:510 ../IkiWiki/Plugin/websetup.pm:236
+msgid "you are not logged in as an admin"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:561
+msgid "Comment moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:600
+msgid "comment moderation"
+msgstr ""
+
+#: ../IkiWiki/Plugin/comments.pm:750
msgid "Comments"
msgstr ""
@@ -277,19 +283,19 @@ msgstr ""
msgid "removing old preview %s"
msgstr "đang gỡ bỏ trang cũ %s"
-#: ../IkiWiki/Plugin/editpage.pm:176
+#: ../IkiWiki/Plugin/editpage.pm:113
#, perl-format
msgid "%s is not an editable page"
msgstr ""
-#: ../IkiWiki/Plugin/editpage.pm:352
+#: ../IkiWiki/Plugin/editpage.pm:289
#, perl-format
msgid "creating %s"
msgstr "đang tạo %s"
-#: ../IkiWiki/Plugin/editpage.pm:370 ../IkiWiki/Plugin/editpage.pm:389
-#: ../IkiWiki/Plugin/editpage.pm:399 ../IkiWiki/Plugin/editpage.pm:443
-#: ../IkiWiki/Plugin/editpage.pm:482
+#: ../IkiWiki/Plugin/editpage.pm:307 ../IkiWiki/Plugin/editpage.pm:326
+#: ../IkiWiki/Plugin/editpage.pm:336 ../IkiWiki/Plugin/editpage.pm:380
+#: ../IkiWiki/Plugin/editpage.pm:419
#, perl-format
msgid "editing %s"
msgstr "đang sửa %s"
@@ -322,18 +328,18 @@ msgstr ""
msgid "fortune failed"
msgstr "fortune bị lỗi"
-#: ../IkiWiki/Plugin/git.pm:618 ../IkiWiki/Plugin/git.pm:636
+#: ../IkiWiki/Plugin/git.pm:624 ../IkiWiki/Plugin/git.pm:642
#: ../IkiWiki/Receive.pm:129
#, perl-format
msgid "you are not allowed to change %s"
msgstr ""
-#: ../IkiWiki/Plugin/git.pm:658
+#: ../IkiWiki/Plugin/git.pm:664
#, perl-format
msgid "you cannot act on a file with mode %s"
msgstr ""
-#: ../IkiWiki/Plugin/git.pm:662
+#: ../IkiWiki/Plugin/git.pm:668
msgid "you are not allowed to change file modes"
msgstr ""
@@ -346,6 +352,16 @@ 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:49
+#, fuzzy
+msgid "missing page"
+msgstr "mẫu thiếu tham số id"
+
+#: ../IkiWiki/Plugin/goto.pm:51
+#, perl-format
+msgid "The page %s does not exist."
+msgstr ""
+
#: ../IkiWiki/Plugin/graphviz.pm:67
#, fuzzy
msgid "failed to run graphviz"
@@ -415,7 +431,7 @@ msgstr ""
msgid "Discussion"
msgstr "Thảo luận"
-#: ../IkiWiki/Plugin/inline.pm:587
+#: ../IkiWiki/Plugin/inline.pm:593
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"
@@ -438,17 +454,17 @@ msgstr ""
msgid "failed to load Markdown.pm perl module (%s) or /usr/bin/markdown (%s)"
msgstr "lỗi nạp mô-đun perl Markdown.pm (%s) hay « /usr/bin/markdown » (%s)"
-#: ../IkiWiki/Plugin/meta.pm:151
+#: ../IkiWiki/Plugin/meta.pm:158
#, fuzzy
msgid "stylesheet not found"
msgstr "không tìm thấy mẫu %s"
-#: ../IkiWiki/Plugin/meta.pm:185
+#: ../IkiWiki/Plugin/meta.pm:192
#, fuzzy
msgid "redir page not found"
msgstr "không tìm thấy mẫu %s"
-#: ../IkiWiki/Plugin/meta.pm:198
+#: ../IkiWiki/Plugin/meta.pm:205
#, fuzzy
msgid "redir cycle is not allowed"
msgstr "không tìm thấy mẫu %s"
@@ -732,11 +748,12 @@ msgstr ""
msgid "search"
msgstr ""
-#: ../IkiWiki/Plugin/shortcut.pm:28
-msgid "shortcut plugin will not work without a shortcuts.mdwn"
+#: ../IkiWiki/Plugin/shortcut.pm:31
+#, perl-format
+msgid "shortcut plugin will not work without %s"
msgstr ""
-#: ../IkiWiki/Plugin/shortcut.pm:38
+#: ../IkiWiki/Plugin/shortcut.pm:44
#, fuzzy
msgid "missing name or url parameter"
msgstr "lối tắt thiếu tên hay tham số url"
@@ -744,7 +761,7 @@ msgstr "lối tắt thiếu tên hay tham số url"
#. translators: This is used to display what shortcuts are defined.
#. translators: First parameter is the name of the shortcut, the second
#. translators: is an URL.
-#: ../IkiWiki/Plugin/shortcut.pm:48
+#: ../IkiWiki/Plugin/shortcut.pm:54
#, fuzzy, perl-format
msgid "shortcut %s points to %s"
msgstr "lối tắt %s chỉ tới %s"
@@ -849,10 +866,6 @@ msgstr ""
msgid "enable %s?"
msgstr ""
-#: ../IkiWiki/Plugin/websetup.pm:236
-msgid "you are not logged in as an admin"
-msgstr ""
-
#: ../IkiWiki/Plugin/websetup.pm:240
msgid "setup file for this wiki is not known"
msgstr ""
@@ -955,16 +968,16 @@ msgstr "ikiwiki: không thể vẽ %s"
msgid "cannot read %s: %s"
msgstr "không thể đọc %s: %s"
-#: ../IkiWiki/Setup/Automator.pm:33
+#: ../IkiWiki/Setup/Automator.pm:34
msgid "you must enter a wikiname (that contains alphanumerics)"
msgstr ""
-#: ../IkiWiki/Setup/Automator.pm:67
+#: ../IkiWiki/Setup/Automator.pm:68
#, perl-format
msgid "unsupported revision control system %s"
msgstr ""
-#: ../IkiWiki/Setup/Automator.pm:93
+#: ../IkiWiki/Setup/Automator.pm:94
msgid "failed to set up the repository with ikiwiki-makerepo"
msgstr ""
@@ -981,21 +994,14 @@ msgstr "không thể tạo bộ bao bọc sử dụng tập tin thiết lập"
msgid "wrapper filename not specified"
msgstr "chưa xác định tên tập tin bộ bao bọc"
-#. translators: The first parameter is a filename, and the second is
-#. translators: a (probably not translated) error message.
-#: ../IkiWiki/Wrapper.pm:97
-#, perl-format
-msgid "failed to write %s: %s"
-msgstr "lỗi ghi %s: %s"
-
#. translators: The parameter is a C filename.
-#: ../IkiWiki/Wrapper.pm:154
+#: ../IkiWiki/Wrapper.pm:152
#, perl-format
msgid "failed to compile %s"
msgstr "lỗi biên dịch %s"
#. translators: The parameter is a filename.
-#: ../IkiWiki/Wrapper.pm:174
+#: ../IkiWiki/Wrapper.pm:172
#, perl-format
msgid "successfully generated %s"
msgstr "%s đã được tạo ra"
@@ -1012,15 +1018,15 @@ msgstr ""
msgid "usage: --set var=value"
msgstr ""
-#: ../ikiwiki.in:139
+#: ../ikiwiki.in:140
msgid "generating wrappers.."
msgstr "đang tạo ra các bộ bao bọc.."
-#: ../ikiwiki.in:197
+#: ../ikiwiki.in:199
msgid "rebuilding wiki.."
msgstr "đang xây dựng lại wiki.."
-#: ../ikiwiki.in:200
+#: ../ikiwiki.in:202
msgid "refreshing wiki.."
msgstr "đang làm tươi wiki.."
@@ -1042,7 +1048,7 @@ msgstr ""
msgid "preprocessing loop detected on %s at depth %i"
msgstr "vòng lặp tiền xử lý %s được phát hiện trên %s ở độ sâu %i"
-#: ../IkiWiki.pm:1661
+#: ../IkiWiki.pm:1725
msgid "yes"
msgstr ""
@@ -1066,6 +1072,9 @@ msgstr ""
msgid "What is the domain name of the web server?"
msgstr ""
+#~ msgid "failed to write %s: %s"
+#~ msgstr "lỗi ghi %s: %s"
+
#, fuzzy
#~ msgid "failed to find url in html"
#~ msgstr "googlecalendar không tìm thấy địa chỉ URL trong mã HTML"
--
cgit v1.2.3
From a543e8934b4562d175dcc24a13f97ec6d07d5647 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Sun, 15 Feb 2009 18:32:09 -0500
Subject: add news item for ikiwiki 3.04
---
doc/news/version_3.03.mdwn | 15 ---------------
doc/news/version_3.04.mdwn | 17 +++++++++++++++++
2 files changed, 17 insertions(+), 15 deletions(-)
delete mode 100644 doc/news/version_3.03.mdwn
create mode 100644 doc/news/version_3.04.mdwn
diff --git a/doc/news/version_3.03.mdwn b/doc/news/version_3.03.mdwn
deleted file mode 100644
index b999344e1..000000000
--- a/doc/news/version_3.03.mdwn
+++ /dev/null
@@ -1,15 +0,0 @@
-ikiwiki 3.03 released with [[!toggle text="these changes"]]
-[[!toggleable text="""
- * Avoid feeding decoded unicode to Term::ReadLine. Closes: [512169](http://bugs.debian.org/512169)
- * blogspam: Log spam info on failure in debug mode.
- * Remove nonstandard css. Closes: #[512378](http://bugs.debian.org/512378)
- * blogspam: Fix use of blogspam\_options and blogspam\_server config settings.
- * comments: If comment content checks fail, store the comment
- (in .ikiwiki/comments\_pending) for moderator review.
- * comments: Add a moderation web interface, which admins can
- access via their Preferences page.
- * git: Fix malformed utf8 received from git.
- * meta: New "updated" metadata specifies a fake modification time for a
- page, to be output into RSS and Atom feeds. (smcv)
- * underlay: New plugin, allows pulling in additional files not
- in version control. (smcv)"""]]
\ No newline at end of file
diff --git a/doc/news/version_3.04.mdwn b/doc/news/version_3.04.mdwn
new file mode 100644
index 000000000..b29a43a09
--- /dev/null
+++ b/doc/news/version_3.04.mdwn
@@ -0,0 +1,17 @@
+ikiwiki 3.04 released with [[!toggle text="these changes"]]
+[[!toggleable text="""
+ * 404: New plugin which lets you use the IkiWiki CGI script as
+ an Apache 404 handler, to give the behaviour of various other wiki
+ engines where visiting a nonexistent page provides you with a link
+ to create it. (smcv)
+ * Factor out redundant code into goto plugin. (smcv)
+ * Work around XML::Atom strangeness that results in double-encoded posts.
+ (smcv)
+ * Updated German translation (Kai Wasserbäch). Closes: #[514251](http://bugs.debian.org/514251)
+ * Fix unusual --setup --post-commit command line option combo.
+ * Create any missing directory necessary to put the wrapper
+ file into. Closes: #[514384](http://bugs.debian.org/514384)
+ * shortcut: If default\_pageext is set, first look for
+ shortcuts.default\_pageext.
+ * Allow comments, rename, remove, and attachment plugins to be used
+ even if the editpage plugin is disabled."""]]
\ No newline at end of file
--
cgit v1.2.3
From 862caff2a9d66ec7b79f03cf769a53ba0fdc3539 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Sun, 15 Feb 2009 20:12:16 -0500
Subject: debhelper v7; rules file minimisation.
---
Makefile.PL | 2 +-
debian/changelog | 6 ++++++
debian/control | 2 +-
debian/docs | 1 +
debian/link | 2 ++
debian/rules | 42 ++----------------------------------------
6 files changed, 13 insertions(+), 42 deletions(-)
create mode 100644 debian/docs
create mode 100644 debian/link
diff --git a/Makefile.PL b/Makefile.PL
index 5c450e619..93f9e89e2 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -42,7 +42,7 @@ extra_build: ikiwiki.out ikiwiki.setup docwiki
./mdwn2man ikiwiki-makerepo 1 doc/ikiwiki-makerepo.mdwn > ikiwiki-makerepo.man
./mdwn2man ikiwiki-transition 1 doc/ikiwiki-transition.mdwn > ikiwiki-transition.man
./mdwn2man ikiwiki-update-wikilist 1 doc/ikiwiki-update-wikilist.mdwn > ikiwiki-update-wikilist.man
- $(MAKE) -C po mo
+ $(MAKE) -C po
docwiki: ikiwiki.out
$(PERL) -Iblib/lib $(extramodules) $(tflag) ikiwiki.out -libdir . -setup docwiki.setup -refresh
diff --git a/debian/changelog b/debian/changelog
index 87fc347e5..2492cc253 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ikiwiki (3.05) UNRELEASED; urgency=low
+
+ * debhelper v7; rules file minimisation.
+
+ -- Joey Hess Sun, 15 Feb 2009 20:11:57 -0500
+
ikiwiki (3.04) unstable; urgency=low
* 404: New plugin which lets you use the IkiWiki CGI script as
diff --git a/debian/control b/debian/control
index 8622362bf..72ed77445 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
Source: ikiwiki
Section: web
Priority: optional
-Build-Depends: perl, debhelper (>= 5)
+Build-Depends: perl, debhelper (>= 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
Maintainer: Joey Hess
Uploaders: Josh Triplett
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 000000000..1936cc1d4
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+html
diff --git a/debian/link b/debian/link
new file mode 100644
index 000000000..cb3793191
--- /dev/null
+++ b/debian/link
@@ -0,0 +1,2 @@
+usr/share/ikiwiki/examples usr/share/doc/ikiwiki/examples
+usr/share/common-licenses/GPL-2 usr/share/doc/ikiwiki/html/GPL
diff --git a/debian/rules b/debian/rules
index 2434d92c8..115b3f0c2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,45 +1,7 @@
#!/usr/bin/make -f
-
-build: build-stamp
-build-stamp:
- dh_testdir
- perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor
- $(MAKE) -C po
- $(MAKE)
- $(MAKE) test
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
- perl Makefile.PL
- if [ -e Makefile ]; then $(MAKE) realclean; fi
- dh_clean
-
-binary-arch: build
-
-binary-indep: build
- dh_testdir
- dh_testroot
- dh_clean -k
- $(MAKE) pure_install DESTDIR=$(shell pwd)/debian/ikiwiki
- dh_installdocs html
- dh_link usr/share/ikiwiki/examples usr/share/doc/ikiwiki/examples
- dh_link usr/share/common-licenses/GPL-2 usr/share/doc/ikiwiki/html/GPL
- dh_installexamples
- dh_installchangelogs
- dh_compress -X html
- dh_fixperms
- dh_perl
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
+%:
+ dh $@
# Not intended for use by anyone except the author.
announcedir:
@echo ${HOME}/src/ikiwiki/doc/news
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
--
cgit v1.2.3
From 14e081b2c6cf5eed4903d61bee0a23ac49fc120f Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Sun, 15 Feb 2009 22:08:04 -0500
Subject: avoid compressing html
---
debian/rules | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/debian/rules b/debian/rules
index 115b3f0c2..da8249920 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,11 @@
#!/usr/bin/make -f
+
+binary: binary-indep
+binary-indep:
+ dh $@ --before dh_compress
+ dh_compress -Xhtml
+ dh $@ --after dh_compress
+
%:
dh $@
--
cgit v1.2.3
From aadfc9e4eb388ae77e67156bca53877b49cde7ea Mon Sep 17 00:00:00 2001
From: "http://hendry.iki.fi/"
Date: Mon, 16 Feb 2009 04:56:59 -0500
Subject: fixed git cloneurl
---
doc/bugs/html5_support.mdwn | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/doc/bugs/html5_support.mdwn b/doc/bugs/html5_support.mdwn
index fe70a08d1..1090db154 100644
--- a/doc/bugs/html5_support.mdwn
+++ b/doc/bugs/html5_support.mdwn
@@ -23,17 +23,12 @@ However as an [early adopter](http://en.wikipedia.org/wiki/Early_adopter) I woul
* [Initial patch](http://git.webconverger.org/?p=ikiwiki;a=commit;h=2e2bb3f74f5000b1269142d6f9bdf1bcb4075ca4)
> I can't figure out how to pull from this repository.
-
- joey@gnu:~/tmp>git clone git://webconverger.org/git/ikiwiki.git
- Initialized empty Git repository in /home/joey/tmp/ikiwiki/.git/
- fatal: The remote end hung up unexpectedly
-
-> Assuming I got the url right.. your gitweb claims it's
-> `git://webconverger.org/git/iceweasel-webconverger.git` --[[Joey]]
+>> Sorry! I have fixed the cloneurl file to read `git clone git://webconverger.org/git/ikiwiki`
I'm unsure how to turn off the test validation by the very old [wdg-html-validator](http://packages.qa.debian.org/w/wdg-html-validator.html). So I have been unable to test my initial patches as I can't build ikiwiki. I would like to know how to edit the rules/Makefile to temporarily disable this.
> Don't run ¨make test" ... --[[Joey]]
+>> I don't quite grok debhelper7 [rules](http://git.ikiwiki.info/?p=ikiwiki;a=blob;f=debian/rules).
[validator.nu](http://validator.nu/) incidentally is **the** HTML5 validator, however it is almost impossible to sanely introduce as a build dependency because of its insane Java requirements. :( I test locally via [cURL](http://wiki.whatwg.org/wiki/IDE), though Debian packages cannot be built with a network dependency.
@@ -44,5 +39,6 @@ I'm unsure how to turn off the test validation by the very old [wdg-html-validat
* ` ` and too many `
`s usually indicates poor semantics.
> YMMV, but I tend to find that kind of concern counterproductive.
> --[[Joey]]
+
* Many of the header ``s should be proper [header elements](http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements)
> See [[todo/Option_to_make_title_an_h1__63__]] for why not. --[[Joey]]
--
cgit v1.2.3
From 87210fc19e79c766976dabcd5ce6824d7fc2a5ef Mon Sep 17 00:00:00 2001
From: Jon Dowland
Date: Mon, 16 Feb 2009 11:31:46 +0000
Subject: fix link to h1title plugin
---
doc/todo/Option_to_make_title_an_h1__63__.mdwn | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/todo/Option_to_make_title_an_h1__63__.mdwn b/doc/todo/Option_to_make_title_an_h1__63__.mdwn
index 8676bec48..f4023d6dd 100644
--- a/doc/todo/Option_to_make_title_an_h1__63__.mdwn
+++ b/doc/todo/Option_to_make_title_an_h1__63__.mdwn
@@ -11,4 +11,4 @@ Currently, the page title (either the name of the page or the title specified wi
> latter, making `#` (only when on the first line) set the page title, removing it from
> the page body. --[[JasonBlevins]], October 22, 2008
- [h1title]: http://code.jblevins.org/ikiwiki/plugins/h1title.pm
+ [h1title]: http://code.jblevins.org/ikiwiki/plugins.git/plain/h1title.pm
--
cgit v1.2.3
From c1d800f29c869fd53b28ada69dba6e9e4700011f Mon Sep 17 00:00:00 2001
From: Jon Dowland
Date: Mon, 16 Feb 2009 11:33:39 +0000
Subject: link to goto plugin page
---
doc/news/version_3.04.mdwn | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/news/version_3.04.mdwn b/doc/news/version_3.04.mdwn
index b29a43a09..e04093c8f 100644
--- a/doc/news/version_3.04.mdwn
+++ b/doc/news/version_3.04.mdwn
@@ -4,7 +4,7 @@ ikiwiki 3.04 released with [[!toggle text="these changes"]]
an Apache 404 handler, to give the behaviour of various other wiki
engines where visiting a nonexistent page provides you with a link
to create it. (smcv)
- * Factor out redundant code into goto plugin. (smcv)
+ * Factor out redundant code into [[plugins/goto]] plugin. (smcv)
* Work around XML::Atom strangeness that results in double-encoded posts.
(smcv)
* Updated German translation (Kai Wasserbäch). Closes: #[514251](http://bugs.debian.org/514251)
@@ -14,4 +14,4 @@ ikiwiki 3.04 released with [[!toggle text="these changes"]]
* shortcut: If default\_pageext is set, first look for
shortcuts.default\_pageext.
* Allow comments, rename, remove, and attachment plugins to be used
- even if the editpage plugin is disabled."""]]
\ No newline at end of file
+ even if the editpage plugin is disabled."""]]
--
cgit v1.2.3
From 6f9c18f7cbbdc8305c6d4373a9d8a00d0c47af5f Mon Sep 17 00:00:00 2001
From: AlexandreDupas
Date: Mon, 16 Feb 2009 08:00:18 -0500
Subject: correct WikiLinks to the WikiLink page
---
doc/plugins/write.mdwn | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn
index 1a119b99b..acf9a2cdd 100644
--- a/doc/plugins/write.mdwn
+++ b/doc/plugins/write.mdwn
@@ -90,6 +90,11 @@ function is passed no values. It's ok for the function to call
This hook is called just before ikiwiki scans the wiki for changed files.
It's useful for plugins that need to create or modify a source page. The
+
+
+
+
+
function is passed no values.
### needsbuild
@@ -107,7 +112,7 @@ adding or removing files from it.
This hook is called early in the process of building the wiki, and is used
as a first pass scan of the page, to collect metadata about the page. It's
-mostly used to scan the page for WikiLinks, and add them to `%links`.
+mostly used to scan the page for [[WikiLinks|ikiwiki/WikiLink]], and add them to `%links`.
Present in IkiWiki 2.40 and later.
The function is passed named parameters "page" and "content". Its return
@@ -168,7 +173,7 @@ htmlize the page) along with the rest of the page.
hook(type => "linkify", id => "foo", call => \&linkify);
-This hook is called to convert [[WikiLinks|WikiLink]] on the page into html
+This hook is called to convert [[WikiLinks|ikiwiki/WikiLink]] on the page into html
links. The function is passed named parameters "page", "destpage", and
"content". It should return the linkified content. Present in IkiWiki 2.40
and later.
@@ -434,7 +439,7 @@ describes the plugin as a whole. For example:
* `example` can be set to an example value.
* `description` is a short description of the option.
* `link` is a link to further information about the option. This can either
- be a wikilink, or an url.
+ be a [[ikiwiki/WikiLink]], or an url.
* `advanced` can be set to true if the option is more suitable for advanced
users.
* `safe` should be false if the option should not be displayed in unsafe
@@ -680,7 +685,7 @@ a wiki page name.
#### `linkpage($)`
This converts text that could have been entered by the user as a
-[[WikiLink]] into a wiki page name.
+[[ikiwiki/WikiLink]] into a wiki page name.
#### `srcfile($;$)`
@@ -745,7 +750,7 @@ are collected together to form the RecentChanges page, for example.
To make an internal use page, register a filename extension that starts
with "_". Internal use pages cannot be edited with the web interface,
-generally shouldn't contain wikilinks or preprocessor directives (use
+generally shouldn't contain [[WikiLinks|ikiwiki/WikiLink]] or preprocessor directives (use
either on them with extreme caution), and are not matched by regular
PageSpecs glob patterns, but instead only by a special `internal()`
[[ikiwiki/PageSpec]].
@@ -914,7 +919,7 @@ or wrap one of the functions.
For example, your plugin might want to override `displaytime`, to change
the html markup used when displaying a date. Or it might want to override
`IkiWiki::formattime`, to change how a date is formatted. Or perhaps you
-want to override `bestlink` and change how ikiwiki deals with WikiLinks.
+want to override `bestlink` and change how ikiwiki deals with [[WikiLinks|ikiwiki/WikiLink]].
By venturing into this territory, your plugin is becoming tightly tied to
ikiwiki's internals. And it might break if those internals change. But
--
cgit v1.2.3
From 1611abd99a35a4ffcc6a0e779845733578406b2a Mon Sep 17 00:00:00 2001
From: rafael2k
Date: Mon, 16 Feb 2009 08:46:57 -0500
Subject:
---
doc/todo/latex.mdwn | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/todo/latex.mdwn b/doc/todo/latex.mdwn
index eb53538b4..604c5e87f 100644
--- a/doc/todo/latex.mdwn
+++ b/doc/todo/latex.mdwn
@@ -31,6 +31,9 @@ Conversely, how about adding a plugin to support exporting to LaTeX?
a latex plugin. Examples [here](http://ng.l4x.org/latex/). Currently without image support for hevea. And the latex2html
output has the wrong charset and no command line switch to change that. Dreamland.
+As this link is not working, I setted a mirror here: http://satangoss.sarava.org/ikiwiki/latex.pm.
+
+
----
Okay, now is the time for a mid term report i think.
--
cgit v1.2.3
From d48dc0ea679fad8f5b342a4f40ccffb03f13fce0 Mon Sep 17 00:00:00 2001
From: Víctor Moral
Date: Mon, 16 Feb 2009 10:24:42 +0100
Subject: updated spanish translation
---
po/es.po | 31 ++++++++++++-------------------
1 file changed, 12 insertions(+), 19 deletions(-)
diff --git a/po/es.po b/po/es.po
index 6e5262ee1..7991ba2d6 100644
--- a/po/es.po
+++ b/po/es.po
@@ -1,3 +1,4 @@
+# translation of es.po to spanish
# translation of es.po to
# ikiwiki spanish translation
# Copyright (C) 2007, 2009 The Free Software Foundation, Inc
@@ -10,9 +11,9 @@ msgstr ""
"Project-Id-Version: es\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-02-14 03:04-0500\n"
-"PO-Revision-Date: 2009-01-30 18:01+0100\n"
-"Last-Translator: Victor Moral \n"
-"Language-Team: \n"
+"PO-Revision-Date: 2009-02-16 10:22+0100\n"
+"Last-Translator: Víctor Moral \n"
+"Language-Team: spanish \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -24,8 +25,7 @@ msgstr "Antes es necesario identificarse."
#: ../IkiWiki/CGI.pm:145
msgid "login failed, perhaps you need to turn on cookies?"
-msgstr ""
-"registro fallido, ¿ tal vez necesita activar las cookies en el navegador ?"
+msgstr "registro fallido, ¿ tal vez necesita activar las cookies en el navegador ?"
#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:294
msgid "Your login session has expired."
@@ -61,8 +61,7 @@ msgstr "Contenido añadido activado vía web."
#: ../IkiWiki/Plugin/aggregate.pm:93
msgid "Nothing to do right now, all feeds are up-to-date!"
-msgstr ""
-"¡ No hay nada que hacer, todas las fuentes de noticias están actualizadas !"
+msgstr "¡ No hay nada que hacer, todas las fuentes de noticias están actualizadas !"
#: ../IkiWiki/Plugin/aggregate.pm:220
#, perl-format
@@ -351,8 +350,7 @@ msgstr ""
#: ../IkiWiki/Plugin/google.pm:31
msgid "Failed to parse url, cannot determine domain name"
-msgstr ""
-"Error en el análisis del URL, no puedo determinar el nombre del dominio"
+msgstr "Error en el análisis del URL, no puedo determinar el nombre del dominio"
#: ../IkiWiki/Plugin/goto.pm:49
msgid "missing page"
@@ -443,8 +441,7 @@ msgstr "La página %s está bloqueada y no puede modificarse"
#: ../IkiWiki/Plugin/mdwn.pm:44
msgid "multimarkdown is enabled, but Text::MultiMarkdown is not installed"
-msgstr ""
-"el modo multimarkdown está activo, pero no está instalado Text::MultiMarkdown"
+msgstr "el modo multimarkdown está activo, pero no está instalado Text::MultiMarkdown"
#: ../IkiWiki/Plugin/mdwn.pm:67
#, perl-format
@@ -746,9 +743,9 @@ msgid "search"
msgstr "buscar"
#: ../IkiWiki/Plugin/shortcut.pm:31
-#, fuzzy, perl-format
+#, perl-format
msgid "shortcut plugin will not work without %s"
-msgstr "el complemento shortcut no funciona sin una página shortcuts.mdwn"
+msgstr "el complemento shortcut no funcionará si no existe la página %s"
#: ../IkiWiki/Plugin/shortcut.pm:44
msgid "missing name or url parameter"
@@ -866,8 +863,7 @@ msgid "plugins"
msgstr "complementos"
#: ../IkiWiki/Plugin/websetup.pm:395
-msgid ""
-"The configuration changes shown below require a wiki rebuild to take effect."
+msgid "The configuration changes shown below require a wiki rebuild to take effect."
msgstr ""
"Los cambios en la configuración que se muestran más abajo precisan una "
"reconstrucción del wiki para tener efecto."
@@ -983,8 +979,7 @@ msgstr "el programa %s no parece ser ejecutable"
#: ../IkiWiki/Wrapper.pm:20
msgid "cannot create a wrapper that uses a setup file"
-msgstr ""
-"no puedo crear un programa envoltorio que utiliza un archivo de configuración"
+msgstr "no puedo crear un programa envoltorio que utiliza un archivo de configuración"
#: ../IkiWiki/Wrapper.pm:24
msgid "wrapper filename not specified"
@@ -1074,5 +1069,3 @@ msgstr ""
msgid "What is the domain name of the web server?"
msgstr "¿ Cuál es el dominio para el servidor web ?"
-#~ msgid "failed to write %s: %s"
-#~ msgstr "no puedo escribir en %s: %s"
--
cgit v1.2.3
From 6dd9f998b3e071c17c3958232907fe7cffe81566 Mon Sep 17 00:00:00 2001
From: "http://josephturian.blogspot.com/"
Date: Mon, 16 Feb 2009 17:03:10 -0500
Subject:
---
doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn | 2 ++
1 file changed, 2 insertions(+)
diff --git a/doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn b/doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn
index 57792c5ec..5cc669106 100644
--- a/doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn
+++ b/doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn
@@ -29,3 +29,5 @@ I am not sure why it is not finding shortcuts.mdwn. -- [[JosephTurian]]
>>>> Why don't you strace it and look at where it's looking for
>>>> shortcuts.mdwn. --[[Joey]]
+
+>>>>>> Hmm, so change the PERL5LIB seemed to fix this. [[Done]].
--
cgit v1.2.3
From efc40f05a5fa3db1de0af87e6885663a8546f7e3 Mon Sep 17 00:00:00 2001
From: "http://josephturian.blogspot.com/"
Date: Mon, 16 Feb 2009 17:14:01 -0500
Subject:
---
.../Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn | 9 +++++++++
1 file changed, 9 insertions(+)
create mode 100644 doc/bugs/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn
diff --git a/doc/bugs/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn b/doc/bugs/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn
new file mode 100644
index 000000000..1eac9c76d
--- /dev/null
+++ b/doc/bugs/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn
@@ -0,0 +1,9 @@
+How do I setup an old ikiwiki repository on a new system?
+
+I have a git repository from an old ikiwiki system.
+I reformatted that hard drive, but saved the repository.
+
+I copied it the repository to my new system, which is now the "master" host.
+I installed ikiwiki on the new system.
+
+How do I set up an ikiwiki system using a pre-existing repository (instead of creating a new one)? --[[JosephTurian]]
--
cgit v1.2.3
From e30725efa8f85a788540efcddb80acc3ba23c257 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Mon, 16 Feb 2009 21:49:03 -0500
Subject: update compat level
---
debian/compat | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/compat b/debian/compat
index 7ed6ff82d..7f8f011eb 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+7
--
cgit v1.2.3
From 25b1f60aeb26f8d14d7619b304f8aca0735c850f Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Mon, 16 Feb 2009 21:49:26 -0500
Subject: need to pass PREFIX=/usr to avoid
was lost in rules file rewrite
I used debhelper 7.2 features too, shoot me :-)
---
debian/changelog | 2 +-
debian/control | 2 +-
debian/rules | 17 +++++++++++------
3 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 2492cc253..62374d2dc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
ikiwiki (3.05) UNRELEASED; urgency=low
- * debhelper v7; rules file minimisation.
+ * debhelper v7.2; rules file minimisation.
-- Joey Hess Sun, 15 Feb 2009 20:11:57 -0500
diff --git a/debian/control b/debian/control
index 72ed77445..0506dec24 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
Source: ikiwiki
Section: web
Priority: optional
-Build-Depends: perl, debhelper (>= 7)
+Build-Depends: perl, debhelper (>= 7.2)
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
Maintainer: Joey Hess
Uploaders: Josh Triplett
diff --git a/debian/rules b/debian/rules
index da8249920..0a6571521 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,18 @@
#!/usr/bin/make -f
+%:
+ dh $@
+
+# keeps it out if /usr/local
+override_dh_auto_configure:
+ dh_auto_configure -- PREFIX=/usr
-binary: binary-indep
-binary-indep:
- dh $@ --before dh_compress
+# avoid compressing files in the doc wiki
+override_dh_compress:
dh_compress -Xhtml
- dh $@ --after dh_compress
-%:
- dh $@
+# distclean moans about MANIFEST, this is quieter
+override_dh_auto_clean:
+ $(MAKE) realclean
# Not intended for use by anyone except the author.
announcedir:
--
cgit v1.2.3
From eb01c46a15f927541751726d49b2f8a429f1935a Mon Sep 17 00:00:00 2001
From: "http://jjheng.myopenid.com/"
Date: Tue, 17 Feb 2009 01:55:10 -0500
Subject: ask indexpages question
---
doc/forum/usedirs___38___indexpages_using_problem.mdwn | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 doc/forum/usedirs___38___indexpages_using_problem.mdwn
diff --git a/doc/forum/usedirs___38___indexpages_using_problem.mdwn b/doc/forum/usedirs___38___indexpages_using_problem.mdwn
new file mode 100644
index 000000000..1ca95cc88
--- /dev/null
+++ b/doc/forum/usedirs___38___indexpages_using_problem.mdwn
@@ -0,0 +1,12 @@
+My ikiwiki setup file configed like:
+
+ usedirs => 0,
+ indexpages => 1,
+
+I create a directory and some .mdwn source file /Whatis/index.mdwn and /Whatis/OSS.mdwn . The html file ikiwiki generated is
+/Whatis/index.html and /Whatis/OSS.html .
+
+But in the page [OSS.html](http://atoz.org.cn/Whatis/OSS.html) , the auto generated link (on the page top)
+to “Whatis” is /Whatis.html file , not to /Whatis/index.html. So the link to “Whatis” is fail .
+
+Is it a bug , and how can I do for that ?
--
cgit v1.2.3
From 544a62493c43dc05e622aa4639e490c35c1cfb51 Mon Sep 17 00:00:00 2001
From: Jon Dowland
Date: Tue, 17 Feb 2009 14:05:25 +0000
Subject: add issues with tags and backlinks
---
doc/bugs/tags_backlinks_and_3.x.mdwn | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 doc/bugs/tags_backlinks_and_3.x.mdwn
diff --git a/doc/bugs/tags_backlinks_and_3.x.mdwn b/doc/bugs/tags_backlinks_and_3.x.mdwn
new file mode 100644
index 000000000..f9180506e
--- /dev/null
+++ b/doc/bugs/tags_backlinks_and_3.x.mdwn
@@ -0,0 +1,27 @@
+I think there might be an issue in the backlinks calculation in ikiwiki 3.04.
+
+I've just migrated to 3.04. In doing so, the following pagespec
+
+> "log/* and !link(tag/aggregation) and !link(tag/draft) and !*/Discussion"
+
+...started matching pages which contained
+
+> \[\[!template draft\]\]
+
+The page templates/draft.mdwn contains (amongst some markup)
+
+> \[\[!tag draft \]\]
+
+Prior to migration, the pagespec definitely took effect post-transclusion.
+
+An example: contains the
+template inclusion, which can be seen to have worked due to markup at the
+bottom of the page. It even includes a "Tags: draft" link at the bottom.
+
+Strangely, does not contain backlinks to pages
+which are tagged using the procedure above.
+
+After the first rebuild, it's broken, after a subsequent refresh, it is fixed.
+I've reproduced this twice (but assumed I'd done something wrong the first
+time, so went ahead and migrated live, spamming planet debian in the process
+:(). I will try and put together a testcase. -- [[users/Jon]], 2009/02/17
--
cgit v1.2.3
From 22a46962b5bafe0c447579947fc984482f5e58a1 Mon Sep 17 00:00:00 2001
From: Jon Dowland
Date: Tue, 17 Feb 2009 14:06:53 +0000
Subject: escaped comma in page title
---
doc/bugs/tags__44___backlinks_and_3.x.mdwn | 27 +++++++++++++++++++++++++++
doc/bugs/tags_backlinks_and_3.x.mdwn | 27 ---------------------------
2 files changed, 27 insertions(+), 27 deletions(-)
create mode 100644 doc/bugs/tags__44___backlinks_and_3.x.mdwn
delete mode 100644 doc/bugs/tags_backlinks_and_3.x.mdwn
diff --git a/doc/bugs/tags__44___backlinks_and_3.x.mdwn b/doc/bugs/tags__44___backlinks_and_3.x.mdwn
new file mode 100644
index 000000000..f9180506e
--- /dev/null
+++ b/doc/bugs/tags__44___backlinks_and_3.x.mdwn
@@ -0,0 +1,27 @@
+I think there might be an issue in the backlinks calculation in ikiwiki 3.04.
+
+I've just migrated to 3.04. In doing so, the following pagespec
+
+> "log/* and !link(tag/aggregation) and !link(tag/draft) and !*/Discussion"
+
+...started matching pages which contained
+
+> \[\[!template draft\]\]
+
+The page templates/draft.mdwn contains (amongst some markup)
+
+> \[\[!tag draft \]\]
+
+Prior to migration, the pagespec definitely took effect post-transclusion.
+
+An example: contains the
+template inclusion, which can be seen to have worked due to markup at the
+bottom of the page. It even includes a "Tags: draft" link at the bottom.
+
+Strangely, does not contain backlinks to pages
+which are tagged using the procedure above.
+
+After the first rebuild, it's broken, after a subsequent refresh, it is fixed.
+I've reproduced this twice (but assumed I'd done something wrong the first
+time, so went ahead and migrated live, spamming planet debian in the process
+:(). I will try and put together a testcase. -- [[users/Jon]], 2009/02/17
diff --git a/doc/bugs/tags_backlinks_and_3.x.mdwn b/doc/bugs/tags_backlinks_and_3.x.mdwn
deleted file mode 100644
index f9180506e..000000000
--- a/doc/bugs/tags_backlinks_and_3.x.mdwn
+++ /dev/null
@@ -1,27 +0,0 @@
-I think there might be an issue in the backlinks calculation in ikiwiki 3.04.
-
-I've just migrated to 3.04. In doing so, the following pagespec
-
-> "log/* and !link(tag/aggregation) and !link(tag/draft) and !*/Discussion"
-
-...started matching pages which contained
-
-> \[\[!template draft\]\]
-
-The page templates/draft.mdwn contains (amongst some markup)
-
-> \[\[!tag draft \]\]
-
-Prior to migration, the pagespec definitely took effect post-transclusion.
-
-An example: contains the
-template inclusion, which can be seen to have worked due to markup at the
-bottom of the page. It even includes a "Tags: draft" link at the bottom.
-
-Strangely, does not contain backlinks to pages
-which are tagged using the procedure above.
-
-After the first rebuild, it's broken, after a subsequent refresh, it is fixed.
-I've reproduced this twice (but assumed I'd done something wrong the first
-time, so went ahead and migrated live, spamming planet debian in the process
-:(). I will try and put together a testcase. -- [[users/Jon]], 2009/02/17
--
cgit v1.2.3
From 64000366bde6dbd3a329e4665b0712ceac0993ac Mon Sep 17 00:00:00 2001
From: Jon Dowland
Date: Tue, 17 Feb 2009 15:44:48 +0000
Subject: patch to add tag() pagespec
---
doc/todo/tag_pagespec_function.mdwn | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 doc/todo/tag_pagespec_function.mdwn
diff --git a/doc/todo/tag_pagespec_function.mdwn b/doc/todo/tag_pagespec_function.mdwn
new file mode 100644
index 000000000..0a51c7220
--- /dev/null
+++ b/doc/todo/tag_pagespec_function.mdwn
@@ -0,0 +1,27 @@
+Implementing tags in terms of links is clever, but it would be nice if it was
+opaque in both directions: tagging and matching tags. Writing pagespecs to
+find out which pages are tagged with a given name means that the pagespec is
+tied to whatever the tagbase is.
+
+This patch adds a pagespec function 'tag' which lets you write pagespecs to
+match tagged pages independent of whatever the tagbase is set to.
+
+ -- [[users/Jon]] 2009/02/17
+
+[[!tag patch]]
+
+ --- a/plugins/IkiWiki/Plugin/tag.pm 2009-02-16 11:30:11.000000000 +0000
+ +++ b/plugins/IkiWiki/Plugin/tag.pm 2009-02-17 15:40:03.000000000 +0000
+ @@ -125,4 +125,12 @@
+ }
+ }
+
+ +package IkiWiki::PageSpec;
+ +
+ +sub match_tag ($$;@) {
+ + my $page = shift;
+ + my $glob = shift;
+ + return match_link($page, IkiWiki::Plugin::tag::tagpage($glob));
+ +}
+ +
+ 1
--
cgit v1.2.3
From 0b2e755253e2b20993e50b19a206597a3ff88e2d Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Tue, 17 Feb 2009 13:08:57 -0500
Subject: this bug also affects using tags in templates
---
doc/bugs/cannot_reliably_use_meta_in_template.mdwn | 2 ++
1 file changed, 2 insertions(+)
diff --git a/doc/bugs/cannot_reliably_use_meta_in_template.mdwn b/doc/bugs/cannot_reliably_use_meta_in_template.mdwn
index 046f40a7e..48288a2b3 100644
--- a/doc/bugs/cannot_reliably_use_meta_in_template.mdwn
+++ b/doc/bugs/cannot_reliably_use_meta_in_template.mdwn
@@ -4,6 +4,8 @@ pass, which does not look at the template a page includes, it will not be
seen then, and so other pages that use the page title probably won't use
it. (Barring luck with build order.)
+Update: This also affects using tags from templates.
+
There is a simple fix for this, just add `scan => 1` when registering the
preprocess hook for the template plugin.
--
cgit v1.2.3
From 7aeead03d003f2c2bc2d77ba6723f781fe62e978 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Tue, 17 Feb 2009 13:13:01 -0500
Subject: link to other bug
---
doc/bugs/tags__44___backlinks_and_3.x.mdwn | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/doc/bugs/tags__44___backlinks_and_3.x.mdwn b/doc/bugs/tags__44___backlinks_and_3.x.mdwn
index f9180506e..ea0eecc80 100644
--- a/doc/bugs/tags__44___backlinks_and_3.x.mdwn
+++ b/doc/bugs/tags__44___backlinks_and_3.x.mdwn
@@ -25,3 +25,8 @@ After the first rebuild, it's broken, after a subsequent refresh, it is fixed.
I've reproduced this twice (but assumed I'd done something wrong the first
time, so went ahead and migrated live, spamming planet debian in the process
:(). I will try and put together a testcase. -- [[users/Jon]], 2009/02/17
+
+> Looks like the same problem as
+> [[cannot_reliably_use_meta_in_template]]. AFAIK, this has never worked
+> reliably, although the linked page has a simple, though potentially
+> expensive fix. --[[Joey]]
--
cgit v1.2.3
From bb8b8787ef9477c027b9e5d8b7b5e1addfd1ca32 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Tue, 17 Feb 2009 13:25:06 -0500
Subject: comments
---
IkiWiki/Plugin/template.pm | 3 ++-
debian/changelog | 4 ++++
doc/bugs/cannot_reliably_use_meta_in_template.mdwn | 2 ++
doc/bugs/tags__44___backlinks_and_3.x.mdwn | 2 ++
doc/todo/tag_pagespec_function.mdwn | 7 +++++++
5 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/IkiWiki/Plugin/template.pm b/IkiWiki/Plugin/template.pm
index 57bff20ff..b872f0962 100644
--- a/IkiWiki/Plugin/template.pm
+++ b/IkiWiki/Plugin/template.pm
@@ -10,7 +10,8 @@ use Encode;
sub import {
hook(type => "getsetup", id => "template", call => \&getsetup);
- hook(type => "preprocess", id => "template", call => \&preprocess);
+ hook(type => "preprocess", id => "template", call => \&preprocess,
+ scan => 1);
}
sub getsetup () {
diff --git a/debian/changelog b/debian/changelog
index 62374d2dc..c28d36c84 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,10 @@
ikiwiki (3.05) UNRELEASED; urgency=low
* debhelper v7.2; rules file minimisation.
+ * template: Load templates in scan mode.
+ This is potentially expensive, but is necessary so that meta and tag
+ directives, and other links on templates affect the page using the
+ template reliably.
-- Joey Hess Sun, 15 Feb 2009 20:11:57 -0500
diff --git a/doc/bugs/cannot_reliably_use_meta_in_template.mdwn b/doc/bugs/cannot_reliably_use_meta_in_template.mdwn
index 48288a2b3..de6c227f6 100644
--- a/doc/bugs/cannot_reliably_use_meta_in_template.mdwn
+++ b/doc/bugs/cannot_reliably_use_meta_in_template.mdwn
@@ -14,3 +14,5 @@ scan pass, every page containing a template will cause the template to be
loaded and filled out. This can be some serious additional overhead.
--[[Joey]]
+
+[[done]]
diff --git a/doc/bugs/tags__44___backlinks_and_3.x.mdwn b/doc/bugs/tags__44___backlinks_and_3.x.mdwn
index ea0eecc80..4fe9a4723 100644
--- a/doc/bugs/tags__44___backlinks_and_3.x.mdwn
+++ b/doc/bugs/tags__44___backlinks_and_3.x.mdwn
@@ -30,3 +30,5 @@ time, so went ahead and migrated live, spamming planet debian in the process
> [[cannot_reliably_use_meta_in_template]]. AFAIK, this has never worked
> reliably, although the linked page has a simple, though potentially
> expensive fix. --[[Joey]]
+
+> fix made, [[done]] --[[Joey]]
diff --git a/doc/todo/tag_pagespec_function.mdwn b/doc/todo/tag_pagespec_function.mdwn
index 0a51c7220..060368179 100644
--- a/doc/todo/tag_pagespec_function.mdwn
+++ b/doc/todo/tag_pagespec_function.mdwn
@@ -8,6 +8,13 @@ match tagged pages independent of whatever the tagbase is set to.
-- [[users/Jon]] 2009/02/17
+> So, this looks good, appreciate the patch.
+>
+> The only problem I see is it could be confusing if `tag(foo)` matched
+> a page that just linked to the tag via a wikilink, w/o actually tagging it.
+>
+> One other thing, perhaps it should be called `tagged()`? --[[Joey]]
+
[[!tag patch]]
--- a/plugins/IkiWiki/Plugin/tag.pm 2009-02-16 11:30:11.000000000 +0000
--
cgit v1.2.3
From a4497591f958f3d2fb28ef597c7870bfc4db72e3 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Tue, 17 Feb 2009 13:29:08 -0500
Subject: Revert "comments" (stupid commit)
This reverts commit bb8b8787ef9477c027b9e5d8b7b5e1addfd1ca32.
---
IkiWiki/Plugin/template.pm | 3 +--
debian/changelog | 4 ----
doc/bugs/cannot_reliably_use_meta_in_template.mdwn | 2 --
doc/bugs/tags__44___backlinks_and_3.x.mdwn | 2 --
doc/todo/tag_pagespec_function.mdwn | 7 -------
5 files changed, 1 insertion(+), 17 deletions(-)
diff --git a/IkiWiki/Plugin/template.pm b/IkiWiki/Plugin/template.pm
index b872f0962..57bff20ff 100644
--- a/IkiWiki/Plugin/template.pm
+++ b/IkiWiki/Plugin/template.pm
@@ -10,8 +10,7 @@ use Encode;
sub import {
hook(type => "getsetup", id => "template", call => \&getsetup);
- hook(type => "preprocess", id => "template", call => \&preprocess,
- scan => 1);
+ hook(type => "preprocess", id => "template", call => \&preprocess);
}
sub getsetup () {
diff --git a/debian/changelog b/debian/changelog
index c28d36c84..62374d2dc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,6 @@
ikiwiki (3.05) UNRELEASED; urgency=low
* debhelper v7.2; rules file minimisation.
- * template: Load templates in scan mode.
- This is potentially expensive, but is necessary so that meta and tag
- directives, and other links on templates affect the page using the
- template reliably.
-- Joey Hess Sun, 15 Feb 2009 20:11:57 -0500
diff --git a/doc/bugs/cannot_reliably_use_meta_in_template.mdwn b/doc/bugs/cannot_reliably_use_meta_in_template.mdwn
index de6c227f6..48288a2b3 100644
--- a/doc/bugs/cannot_reliably_use_meta_in_template.mdwn
+++ b/doc/bugs/cannot_reliably_use_meta_in_template.mdwn
@@ -14,5 +14,3 @@ scan pass, every page containing a template will cause the template to be
loaded and filled out. This can be some serious additional overhead.
--[[Joey]]
-
-[[done]]
diff --git a/doc/bugs/tags__44___backlinks_and_3.x.mdwn b/doc/bugs/tags__44___backlinks_and_3.x.mdwn
index 4fe9a4723..ea0eecc80 100644
--- a/doc/bugs/tags__44___backlinks_and_3.x.mdwn
+++ b/doc/bugs/tags__44___backlinks_and_3.x.mdwn
@@ -30,5 +30,3 @@ time, so went ahead and migrated live, spamming planet debian in the process
> [[cannot_reliably_use_meta_in_template]]. AFAIK, this has never worked
> reliably, although the linked page has a simple, though potentially
> expensive fix. --[[Joey]]
-
-> fix made, [[done]] --[[Joey]]
diff --git a/doc/todo/tag_pagespec_function.mdwn b/doc/todo/tag_pagespec_function.mdwn
index 060368179..0a51c7220 100644
--- a/doc/todo/tag_pagespec_function.mdwn
+++ b/doc/todo/tag_pagespec_function.mdwn
@@ -8,13 +8,6 @@ match tagged pages independent of whatever the tagbase is set to.
-- [[users/Jon]] 2009/02/17
-> So, this looks good, appreciate the patch.
->
-> The only problem I see is it could be confusing if `tag(foo)` matched
-> a page that just linked to the tag via a wikilink, w/o actually tagging it.
->
-> One other thing, perhaps it should be called `tagged()`? --[[Joey]]
-
[[!tag patch]]
--- a/plugins/IkiWiki/Plugin/tag.pm 2009-02-16 11:30:11.000000000 +0000
--
cgit v1.2.3
From 84b48681c630c1c2dab21ad6c260be3a5b5fff0e Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Tue, 17 Feb 2009 13:29:37 -0500
Subject: re-add actual comments
---
doc/todo/tag_pagespec_function.mdwn | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/doc/todo/tag_pagespec_function.mdwn b/doc/todo/tag_pagespec_function.mdwn
index 0a51c7220..060368179 100644
--- a/doc/todo/tag_pagespec_function.mdwn
+++ b/doc/todo/tag_pagespec_function.mdwn
@@ -8,6 +8,13 @@ match tagged pages independent of whatever the tagbase is set to.
-- [[users/Jon]] 2009/02/17
+> So, this looks good, appreciate the patch.
+>
+> The only problem I see is it could be confusing if `tag(foo)` matched
+> a page that just linked to the tag via a wikilink, w/o actually tagging it.
+>
+> One other thing, perhaps it should be called `tagged()`? --[[Joey]]
+
[[!tag patch]]
--- a/plugins/IkiWiki/Plugin/tag.pm 2009-02-16 11:30:11.000000000 +0000
--
cgit v1.2.3
From 9acc4d578d7468ebb54a02377e571c89bb76ad9b Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Tue, 17 Feb 2009 13:30:07 -0500
Subject: template: Load templates in scan mode
This is potentially expensive, but is necessary so that meta and tag
directives, and other links on templates affect the page using the template
reliably.
---
IkiWiki/Plugin/template.pm | 3 ++-
debian/changelog | 4 ++++
doc/bugs/cannot_reliably_use_meta_in_template.mdwn | 2 ++
doc/bugs/tags__44___backlinks_and_3.x.mdwn | 2 ++
4 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/IkiWiki/Plugin/template.pm b/IkiWiki/Plugin/template.pm
index 57bff20ff..b872f0962 100644
--- a/IkiWiki/Plugin/template.pm
+++ b/IkiWiki/Plugin/template.pm
@@ -10,7 +10,8 @@ use Encode;
sub import {
hook(type => "getsetup", id => "template", call => \&getsetup);
- hook(type => "preprocess", id => "template", call => \&preprocess);
+ hook(type => "preprocess", id => "template", call => \&preprocess,
+ scan => 1);
}
sub getsetup () {
diff --git a/debian/changelog b/debian/changelog
index 62374d2dc..c28d36c84 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,10 @@
ikiwiki (3.05) UNRELEASED; urgency=low
* debhelper v7.2; rules file minimisation.
+ * template: Load templates in scan mode.
+ This is potentially expensive, but is necessary so that meta and tag
+ directives, and other links on templates affect the page using the
+ template reliably.
-- Joey Hess Sun, 15 Feb 2009 20:11:57 -0500
diff --git a/doc/bugs/cannot_reliably_use_meta_in_template.mdwn b/doc/bugs/cannot_reliably_use_meta_in_template.mdwn
index 48288a2b3..de6c227f6 100644
--- a/doc/bugs/cannot_reliably_use_meta_in_template.mdwn
+++ b/doc/bugs/cannot_reliably_use_meta_in_template.mdwn
@@ -14,3 +14,5 @@ scan pass, every page containing a template will cause the template to be
loaded and filled out. This can be some serious additional overhead.
--[[Joey]]
+
+[[done]]
diff --git a/doc/bugs/tags__44___backlinks_and_3.x.mdwn b/doc/bugs/tags__44___backlinks_and_3.x.mdwn
index ea0eecc80..4fe9a4723 100644
--- a/doc/bugs/tags__44___backlinks_and_3.x.mdwn
+++ b/doc/bugs/tags__44___backlinks_and_3.x.mdwn
@@ -30,3 +30,5 @@ time, so went ahead and migrated live, spamming planet debian in the process
> [[cannot_reliably_use_meta_in_template]]. AFAIK, this has never worked
> reliably, although the linked page has a simple, though potentially
> expensive fix. --[[Joey]]
+
+> fix made, [[done]] --[[Joey]]
--
cgit v1.2.3
From 008f1c19ac354b5d9fd2feaaf20913a29d04297d Mon Sep 17 00:00:00 2001
From: NicolasLimare
Date: Tue, 17 Feb 2009 16:04:31 -0500
Subject: easy access to the userdb for apache auth?
---
doc/plugins/passwordauth/discussion.mdwn | 50 ++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/doc/plugins/passwordauth/discussion.mdwn b/doc/plugins/passwordauth/discussion.mdwn
index f4e7ae7a1..8ae960edd 100644
--- a/doc/plugins/passwordauth/discussion.mdwn
+++ b/doc/plugins/passwordauth/discussion.mdwn
@@ -9,3 +9,53 @@ the *Preferences -- Subscriptions*. --[[tschwinge]]
>> Aha, then the problem is Firefox, which is automatically filling the
>> *Password* field with its previous value, but not filling the
>> *Confirm Password* one. --[[tschwinge]]
+
+## easy access to the userdb for apache auth?
+
+My use case is:
+
+* restricted ikiwiki
+* read/edit only allowed from the local network (done with apache restrictions)
+* edit only for people authenticated (done with vanilla ikiwiki passwordauth)
+
+I would like to allow people to read/edit the wiki from outside of the
+local network, if and only if they already have an ikiwiki account.
+
+[[httpauth]] doesn't fit since it doesn't allow anonymous local users
+to create their own account. I want a single, local, simple auth
+database.
+
+My (naïve?) idea would be:
+
+* keep the [[passwordauth]] system
+* provide a way for Apache to use the userdb for authentication if
+people want to connect from outside
+
+I looked at the various auth modules for apache2. It seems that none
+can use a "perl Storable data" file. So, I think some solutions could
+be:
+
+* use a sqlite database instead of a perl Storable file
+ * can be used with
+ [mod_auth_dbd](http://httpd.apache.org/docs/2.2/mod/mod_authn_dbd.html)
+ * requires a change in ikiwiki module [[passwordauth]]
+* use an external program to read the userdb and talk with
+ [mod_auth_external](http://unixpapa.com/mod_auth_external.html)
+ * requires the maintainance of this external auth proxy over ikiwiki
+ userdb format changes
+ * (I don't know perl)
+* include this wrapper in ikiwiki
+ * something like `ikiwiki --auth user:pass:userdb` check the
+ `user:pass` pair in `userdb` and returns an Accept/Reject flag to
+ Apache
+ * requires a change in ikiwiki core
+ * still requires
+ [mod_auth_external](http://unixpapa.com/mod_auth_external.html)
+* do it with Apache perl sections
+ * (I don't know perl)
+
+Any opinion/suggestion/solution to this is welcome and appreciated.
+
+--
+[[NicolasLimare]]
+
--
cgit v1.2.3
From 2d220da53c6ebcaf962045fdf5db947074cc0e7c Mon Sep 17 00:00:00 2001
From: "http://arpitjain11.myopenid.com/"
Date: Tue, 17 Feb 2009 18:47:47 -0500
Subject:
---
doc/todo/Gallery.mdwn | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/todo/Gallery.mdwn b/doc/todo/Gallery.mdwn
index fbf1802fd..89676c457 100644
--- a/doc/todo/Gallery.mdwn
+++ b/doc/todo/Gallery.mdwn
@@ -1,6 +1,6 @@
New Version of gallery is available now. Few more features have been added like support for multiple pages, sorting and resizing of images etc.
-SVN repository of plugin is located at http://ned.snow-crash.org:8080/svn/ikiwiki-gallery
+Gallery repo is now available at
--[[arpitjain]]
--
cgit v1.2.3
From edad904f4c3b8621d11cd4e45e7bc5a669752d11 Mon Sep 17 00:00:00 2001
From: "http://arpitjain11.myopenid.com/"
Date: Tue, 17 Feb 2009 18:53:56 -0500
Subject:
---
doc/plugins/contrib/gallery.mdwn | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/plugins/contrib/gallery.mdwn b/doc/plugins/contrib/gallery.mdwn
index 7148de3ef..72df13bd0 100644
--- a/doc/plugins/contrib/gallery.mdwn
+++ b/doc/plugins/contrib/gallery.mdwn
@@ -2,7 +2,7 @@
This plugin would create a nice looking gallery of the images. It has been build over the img plugin in Ikiwiki
-SVN repository of plugin is located at
+GIT repo of the plugin is located at
USAGE :
--
cgit v1.2.3
From 52f2235e6072bfb2e39a52bd8c106ae890ba4a5a Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Tue, 17 Feb 2009 19:36:58 -0500
Subject: goto: Fix redirect to comments.
---
IkiWiki/Plugin/goto.pm | 2 +-
debian/changelog | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/IkiWiki/Plugin/goto.pm b/IkiWiki/Plugin/goto.pm
index 7cc8cb484..4fd1471e9 100644
--- a/IkiWiki/Plugin/goto.pm
+++ b/IkiWiki/Plugin/goto.pm
@@ -38,7 +38,7 @@ sub cgi_goto ($;$) {
# permalink. Comments do.
if (IkiWiki::isinternal($page) &&
defined $pagestate{$page}{meta}{permalink}) {
- redirect($q, $pagestate{$page}{meta}{permalink});
+ Ikiwiki::redirect($q, $pagestate{$page}{meta}{permalink});
}
my $link = bestlink("", $page);
diff --git a/debian/changelog b/debian/changelog
index c28d36c84..b644ac99c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ ikiwiki (3.05) UNRELEASED; urgency=low
This is potentially expensive, but is necessary so that meta and tag
directives, and other links on templates affect the page using the
template reliably.
+ * goto: Fix redirect to comments.
-- Joey Hess Sun, 15 Feb 2009 20:11:57 -0500
--
cgit v1.2.3
From 5f96944dd5ad099d96adbf0273b4dc7d1da98829 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Tue, 17 Feb 2009 19:37:36 -0500
Subject: typo
---
IkiWiki/Plugin/goto.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/IkiWiki/Plugin/goto.pm b/IkiWiki/Plugin/goto.pm
index 4fd1471e9..06ec0bdca 100644
--- a/IkiWiki/Plugin/goto.pm
+++ b/IkiWiki/Plugin/goto.pm
@@ -38,7 +38,7 @@ sub cgi_goto ($;$) {
# permalink. Comments do.
if (IkiWiki::isinternal($page) &&
defined $pagestate{$page}{meta}{permalink}) {
- Ikiwiki::redirect($q, $pagestate{$page}{meta}{permalink});
+ IkiWiki::redirect($q, $pagestate{$page}{meta}{permalink});
}
my $link = bestlink("", $page);
--
cgit v1.2.3
From 4762da8831f6e0a8f29ce762dc71b0e958c20cb9 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Tue, 17 Feb 2009 22:16:34 -0500
Subject: hint
---
doc/bugs/html5_support.mdwn | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/bugs/html5_support.mdwn b/doc/bugs/html5_support.mdwn
index 1090db154..41f955e51 100644
--- a/doc/bugs/html5_support.mdwn
+++ b/doc/bugs/html5_support.mdwn
@@ -30,6 +30,9 @@ I'm unsure how to turn off the test validation by the very old [wdg-html-validat
> Don't run ¨make test" ... --[[Joey]]
>> I don't quite grok debhelper7 [rules](http://git.ikiwiki.info/?p=ikiwiki;a=blob;f=debian/rules).
+>>> Well, ok :-) `rm t/html.t` or, add an empty `override_dh_auto_test` rule.
+>>> --[[Joey]]
+
[validator.nu](http://validator.nu/) incidentally is **the** HTML5 validator, however it is almost impossible to sanely introduce as a build dependency because of its insane Java requirements. :( I test locally via [cURL](http://wiki.whatwg.org/wiki/IDE), though Debian packages cannot be built with a network dependency.
# Notes
--
cgit v1.2.3
From 1473fb0b4fe89eeaf3740c4c6c97338d542b3d97 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Tue, 17 Feb 2009 22:16:51 -0500
Subject: add hendy's git repo
---
doc/git.mdwn | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/git.mdwn b/doc/git.mdwn
index e9c2e040f..8a89546cf 100644
--- a/doc/git.mdwn
+++ b/doc/git.mdwn
@@ -37,6 +37,7 @@ into [[Joey]]'s working tree. This is recommended. :-)
* [[intrigeri]] `git://gaffer.ptitcanardnoir.org/ikiwiki.git`
* [[gmcmanus]] `git://github.com/gmcmanus/ikiwiki.git`
* [[jelmer]] `git://git.samba.org/jelmer/ikiwiki.git`
+* [[hendry]] `git://webconverger.org/git/ikiwiki`
## branches
--
cgit v1.2.3
From 3ce8a2f8b91ed468fc174da55e5161745ef0d9d1 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Tue, 17 Feb 2009 22:17:59 -0500
Subject: revert addition of several blank lines
---
doc/plugins/write.mdwn | 5 -----
1 file changed, 5 deletions(-)
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn
index acf9a2cdd..2e907938f 100644
--- a/doc/plugins/write.mdwn
+++ b/doc/plugins/write.mdwn
@@ -90,11 +90,6 @@ function is passed no values. It's ok for the function to call
This hook is called just before ikiwiki scans the wiki for changed files.
It's useful for plugins that need to create or modify a source page. The
-
-
-
-
-
function is passed no values.
### needsbuild
--
cgit v1.2.3
From d244a0bc8e3576d20a69193b97d874db78a1eb91 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Tue, 17 Feb 2009 22:19:33 -0500
Subject: move to forum, as this is a question
---
.../Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn | 9 ---------
.../Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn | 9 +++++++++
2 files changed, 9 insertions(+), 9 deletions(-)
delete mode 100644 doc/bugs/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn
create mode 100644 doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn
diff --git a/doc/bugs/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn b/doc/bugs/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn
deleted file mode 100644
index 1eac9c76d..000000000
--- a/doc/bugs/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn
+++ /dev/null
@@ -1,9 +0,0 @@
-How do I setup an old ikiwiki repository on a new system?
-
-I have a git repository from an old ikiwiki system.
-I reformatted that hard drive, but saved the repository.
-
-I copied it the repository to my new system, which is now the "master" host.
-I installed ikiwiki on the new system.
-
-How do I set up an ikiwiki system using a pre-existing repository (instead of creating a new one)? --[[JosephTurian]]
diff --git a/doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn b/doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn
new file mode 100644
index 000000000..1eac9c76d
--- /dev/null
+++ b/doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn
@@ -0,0 +1,9 @@
+How do I setup an old ikiwiki repository on a new system?
+
+I have a git repository from an old ikiwiki system.
+I reformatted that hard drive, but saved the repository.
+
+I copied it the repository to my new system, which is now the "master" host.
+I installed ikiwiki on the new system.
+
+How do I set up an ikiwiki system using a pre-existing repository (instead of creating a new one)? --[[JosephTurian]]
--
cgit v1.2.3
From 13f64fccecca4b6aee4d1ac2456cebf9c782c212 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Tue, 17 Feb 2009 22:26:33 -0500
Subject: response
---
...g_old_repository_to_new_ikiwiki_system__63__.mdwn | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn b/doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn
index 1eac9c76d..ccc45ddca 100644
--- a/doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn
+++ b/doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn
@@ -7,3 +7,23 @@ I copied it the repository to my new system, which is now the "master" host.
I installed ikiwiki on the new system.
How do I set up an ikiwiki system using a pre-existing repository (instead of creating a new one)? --[[JosephTurian]]
+
+> Well, if you have:
+> * A git repository of the wiki
+> * A setup file for the wiki
+>
+> Then you should
+> 1. Manually set up a bare git repository, and push
+> your backed up repository to it.
+> 2. `git clone` from the bare git repository to
+> recreate the ikiwiki srcdir
+> 3. `git clone` from the bare git repository a second time,
+> to create a checkout you can manually edit (optional)
+> 4. run `ikiwiki --getctime --setup your.setup`
+> The getctime will ensure page creation times are accurate
+> by putting the info out of the git history,
+> and only needs to be done once.
+>
+> If you preserved your repository, but not the setup file,
+> the easiest way to make one is probably to run
+> `ikiwiki -dumpsetup` and edit the setup file. --[[Joey]]
--
cgit v1.2.3
From d522dfadd1ff0041c62a46460e1524eb0db89cb6 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Tue, 17 Feb 2009 22:37:20 -0500
Subject: is this patch complete?
---
doc/todo/Allow_filenames_that_are_all_type.mdwn | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/doc/todo/Allow_filenames_that_are_all_type.mdwn b/doc/todo/Allow_filenames_that_are_all_type.mdwn
index 55e29b645..b8b136aeb 100644
--- a/doc/todo/Allow_filenames_that_are_all_type.mdwn
+++ b/doc/todo/Allow_filenames_that_are_all_type.mdwn
@@ -5,6 +5,10 @@ if the plugin can process files of type `.Makefile` then it will also process `M
I put this patch on the [[todo/syntax_highlighting/]] page a while ago, but it seemed to get
lost because it didn't have its own bug to track it. Now it does :). -- [[Will]]
+> This changes `pagename()`, but what about `pagetype()`?
+> Many things in ikiwiki check if `pagetype($file)` returns
+> true to see if it's a page, etc. --[[Joey]]
+
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 8d728c9..1bd46a9 100644
--- a/IkiWiki.pm
--
cgit v1.2.3
From ccec866a786bec1f929aebbd5b037243dcb956f2 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Tue, 17 Feb 2009 22:51:03 -0500
Subject: formatting
---
doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn b/doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn
index ccc45ddca..98ee723f0 100644
--- a/doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn
+++ b/doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn
@@ -12,7 +12,8 @@ How do I set up an ikiwiki system using a pre-existing repository (instead of cr
> * A git repository of the wiki
> * A setup file for the wiki
>
-> Then you should
+> Then you should:
+>
> 1. Manually set up a bare git repository, and push
> your backed up repository to it.
> 2. `git clone` from the bare git repository to
--
cgit v1.2.3
From 02d64838405e470493b8b0b47fbeb64b12c47a4b Mon Sep 17 00:00:00 2001
From: "http://josephturian.blogspot.com/"
Date: Wed, 18 Feb 2009 18:24:21 -0500
Subject:
---
...old_repository_to_new_ikiwiki_system__63__.mdwn | 23 ++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn b/doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn
index 98ee723f0..a6bb16171 100644
--- a/doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn
+++ b/doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn
@@ -28,3 +28,26 @@ How do I set up an ikiwiki system using a pre-existing repository (instead of cr
> If you preserved your repository, but not the setup file,
> the easiest way to make one is probably to run
> `ikiwiki -dumpsetup` and edit the setup file. --[[Joey]]
+
+> > I get the following errors after running ikiwiki setup:
+
+ shortcut plugin will not work without shortcuts.mdwn
+ shortcut plugin will not work without shortcuts.mdwn
+ successfully generated /home/turian/public_html/iki/ikiwiki.cgi
+ shortcut plugin will not work without shortcuts.mdwn
+ successfully generated /home/turian/repos/iki.git/hooks/post-update
+ Can't stat /usr/share/ikiwiki/basewiki/../javascript: No such file or directory
+ at /home/turian/utils//lib/perl5/site_perl/5.8.8//IkiWiki/Plugin/autoindex.pm line 60
+ Can't stat /usr/share/ikiwiki/basewiki/../smiley: No such file or directory
+ at /home/turian/utils//lib/perl5/site_perl/5.8.8//IkiWiki/Plugin/autoindex.pm line 60
+ Can't stat /usr/share/ikiwiki/basewiki: No such file or directory
+ at /home/turian/utils//lib/perl5/site_perl/5.8.8//IkiWiki/Plugin/autoindex.pm line 60
+ Can't stat /usr/share/ikiwiki/basewiki/../javascript: No such file or directory
+ at /home/turian/utils//lib/perl5/site_perl/5.8.8//IkiWiki/Render.pm line 320
+ Can't stat /usr/share/ikiwiki/basewiki/../smiley: No such file or directory
+ at /home/turian/utils//lib/perl5/site_perl/5.8.8//IkiWiki/Render.pm line 320
+ Can't stat /usr/share/ikiwiki/basewiki: No such file or directory
+ at /home/turian/utils//lib/perl5/site_perl/5.8.8//IkiWiki/Render.pm line 320
+ internal error: smileys.mdwn cannot be found in /home/turian/iki or underlay
+
+> > How do I resolve these errors? I have my PERL5LIB location set correctly.
--
cgit v1.2.3
From c1b051600036291f20bc179d7149410379832e37 Mon Sep 17 00:00:00 2001
From: "http://www.cse.unsw.edu.au/~willu/"
Date: Thu, 19 Feb 2009 06:45:40 -0500
Subject: Yes, the patch is complete.
---
doc/todo/Allow_filenames_that_are_all_type.mdwn | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/doc/todo/Allow_filenames_that_are_all_type.mdwn b/doc/todo/Allow_filenames_that_are_all_type.mdwn
index b8b136aeb..e165da7dc 100644
--- a/doc/todo/Allow_filenames_that_are_all_type.mdwn
+++ b/doc/todo/Allow_filenames_that_are_all_type.mdwn
@@ -9,6 +9,19 @@ lost because it didn't have its own bug to track it. Now it does :). -- [[Will
> Many things in ikiwiki check if `pagetype($file)` returns
> true to see if it's a page, etc. --[[Joey]]
+>> I think this patch is complete. It does not change `pagename()`, it
+>> changes `pagetype()` (the diff is fairly old - line numbers may have
+>> changed).
+>>
+>> Before this patch, `pagetype()` required a `.` in the page name. With
+>> this patch it doesn't, as long as the extension is being kept. This allows
+>> the filename to be all extension. `pagename()` relies on `pagetype()`
+>> to detect the type. `pagename()` also removes the extension on some
+>> pages, but this patch only affects pages where the extension isn't
+>> removed.
+>>
+>> So, yeah, I think this patch is complete. :) -- [[Will]]
+
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 8d728c9..1bd46a9 100644
--- a/IkiWiki.pm
--
cgit v1.2.3
From 621e8d876ba516ee1aa641554280c20cfbbf0fc7 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Thu, 19 Feb 2009 17:50:43 -0500
Subject: response
---
doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn b/doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn
index a6bb16171..fe67e6aba 100644
--- a/doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn
+++ b/doc/forum/Migrating_old_repository_to_new_ikiwiki_system__63__.mdwn
@@ -51,3 +51,8 @@ How do I set up an ikiwiki system using a pre-existing repository (instead of cr
internal error: smileys.mdwn cannot be found in /home/turian/iki or underlay
> > How do I resolve these errors? I have my PERL5LIB location set correctly.
+
+>>> Well, that's unrelated to the original question, but
+>>> I guess you should set `underlaydir` in your setup file to
+>>> point to whereever you have installed the basewiki directory.
+>>> --[[Joey]]
--
cgit v1.2.3
From 8c8b18935b84bcfbf06649c9683e236e39f75df3 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Thu, 19 Feb 2009 18:22:51 -0500
Subject: fix pagetype test
File had wrong name, and made wrong assumption about what pagetype does for
bare files.
---
t/pagetype.mdwn | 14 --------------
t/pagetype.t | 17 +++++++++++++++++
2 files changed, 17 insertions(+), 14 deletions(-)
delete mode 100755 t/pagetype.mdwn
create mode 100755 t/pagetype.t
diff --git a/t/pagetype.mdwn b/t/pagetype.mdwn
deleted file mode 100755
index 76cacd8f7..000000000
--- a/t/pagetype.mdwn
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/perl
-use warnings;
-use strict;
-use Test::More tests => 5;
-
-BEGIN { use_ok("IkiWiki"); }
-
-# Used internally.
-$IkiWiki::hooks{htmlize}{mdwn}=1;
-
-is(pagetype("foo.mdwn"), "mdwn");
-is(pagetype("foo/bar.mdwn"), "mdwn");
-is(pagename("foo.png"), undef);
-is(pagename("foo"), undef);
diff --git a/t/pagetype.t b/t/pagetype.t
new file mode 100755
index 000000000..2df59387a
--- /dev/null
+++ b/t/pagetype.t
@@ -0,0 +1,17 @@
+#!/usr/bin/perl
+use warnings;
+use strict;
+use Test::More tests => 6;
+
+BEGIN { use_ok("IkiWiki"); }
+
+# Used internally.
+$IkiWiki::hooks{htmlize}{mdwn}=1;
+
+is(pagetype("foo.mdwn"), "mdwn");
+is(pagetype("foo/bar.mdwn"), "mdwn");
+
+# bare files get the full filename as page name
+is(pagename("foo.png"), "foo.png");
+is(pagename("foo/bar.png"), "foo/bar.png");
+is(pagename("foo"), "foo");
--
cgit v1.2.3
From c1907ded879f75ef07c5bbab26b84042bafc1b17 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Thu, 19 Feb 2009 18:28:43 -0500
Subject: fix pagename, pagetype tests
Put tests in right file.
Set internal variable to hash, the functions expect that.
---
t/pagename.t | 5 ++++-
t/pagetype.t | 10 ++++------
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/t/pagename.t b/t/pagename.t
index c7f1ce180..43f574e98 100755
--- a/t/pagename.t
+++ b/t/pagename.t
@@ -1,7 +1,7 @@
#!/usr/bin/perl
use warnings;
use strict;
-use Test::More tests => 5;
+use Test::More tests => 6;
BEGIN { use_ok("IkiWiki"); }
@@ -10,5 +10,8 @@ $IkiWiki::hooks{htmlize}{mdwn}{call}=sub {};
is(pagename("foo.mdwn"), "foo");
is(pagename("foo/bar.mdwn"), "foo/bar");
+
+# bare files get the full filename as page name
is(pagename("foo.png"), "foo.png");
+is(pagename("foo/bar.png"), "foo/bar.png");
is(pagename("foo"), "foo");
diff --git a/t/pagetype.t b/t/pagetype.t
index 2df59387a..bb06a1568 100755
--- a/t/pagetype.t
+++ b/t/pagetype.t
@@ -6,12 +6,10 @@ use Test::More tests => 6;
BEGIN { use_ok("IkiWiki"); }
# Used internally.
-$IkiWiki::hooks{htmlize}{mdwn}=1;
+$IkiWiki::hooks{htmlize}{mdwn}={};
is(pagetype("foo.mdwn"), "mdwn");
is(pagetype("foo/bar.mdwn"), "mdwn");
-
-# bare files get the full filename as page name
-is(pagename("foo.png"), "foo.png");
-is(pagename("foo/bar.png"), "foo/bar.png");
-is(pagename("foo"), "foo");
+is(pagetype("foo.png"), undef);
+is(pagetype("foo/bar.png"), undef);
+is(pagetype("foo"), undef);
--
cgit v1.2.3
From 9ecb0036a32c6930d9400040161c3b9e41ef9b1f Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Thu, 19 Feb 2009 18:31:57 -0500
Subject: add keepextension tests
---
t/pagename.t | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/t/pagename.t b/t/pagename.t
index 43f574e98..488e341fa 100755
--- a/t/pagename.t
+++ b/t/pagename.t
@@ -1,12 +1,13 @@
#!/usr/bin/perl
use warnings;
use strict;
-use Test::More tests => 6;
+use Test::More tests => 8;
BEGIN { use_ok("IkiWiki"); }
# Used internally.
-$IkiWiki::hooks{htmlize}{mdwn}{call}=sub {};
+$IkiWiki::hooks{htmlize}{mdwn}={};
+$IkiWiki::hooks{htmlize}{txt}={keepextension => 1};
is(pagename("foo.mdwn"), "foo");
is(pagename("foo/bar.mdwn"), "foo/bar");
@@ -15,3 +16,7 @@ is(pagename("foo/bar.mdwn"), "foo/bar");
is(pagename("foo.png"), "foo.png");
is(pagename("foo/bar.png"), "foo/bar.png");
is(pagename("foo"), "foo");
+
+# keepextension preserves the extension in the page name
+is(pagename("foo.txt"), "foo.txt");
+is(pagename("foo/bar.txt"), "foo/bar.txt");
--
cgit v1.2.3
From 66dc253437e7ce2e3e8984513b3ecf96603d6670 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Thu, 19 Feb 2009 18:38:45 -0500
Subject: Add noextension parameter to htmlize hooks to support, eg, Makefile.
---
IkiWiki.pm | 23 ++++++++++++++---------
debian/changelog | 1 +
doc/plugins/write.mdwn | 7 ++++++-
doc/todo/Allow_filenames_that_are_all_type.mdwn | 4 ++++
t/pagename.t | 23 ++++++++++++++++++-----
t/pagetype.t | 15 ---------------
6 files changed, 43 insertions(+), 30 deletions(-)
delete mode 100755 t/pagetype.t
diff --git a/IkiWiki.pm b/IkiWiki.pm
index ce1ceb351..f580d1f0d 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -627,27 +627,32 @@ sub dirname ($) {
return $file;
}
-sub pagetype ($) {
+sub isinternal ($) {
my $page=shift;
+ return exists $pagesources{$page} &&
+ $pagesources{$page} =~ /\._([^.]+)$/;
+}
+
+sub pagetype ($) {
+ my $file=shift;
- if ($page =~ /\.([^.]+)$/) {
+ if ($file =~ /\.([^.]+)$/) {
return $1 if exists $hooks{htmlize}{$1};
}
+ elsif ($hooks{htmlize}{basename($file)}{noextension}) {
+ return basename($file);
+ }
return;
}
-sub isinternal ($) {
- my $page=shift;
- return exists $pagesources{$page} &&
- $pagesources{$page} =~ /\._([^.]+)$/;
-}
-
sub pagename ($) {
my $file=shift;
my $type=pagetype($file);
my $page=$file;
- $page=~s/\Q.$type\E*$// if defined $type && !$hooks{htmlize}{$type}{keepextension};
+ $page=~s/\Q.$type\E*$//
+ if defined $type && !$hooks{htmlize}{$type}{keepextension}
+ && !$hooks{htmlize}{$type}{noextension};
if ($config{indexpages} && $page=~/(.*)\/index$/) {
$page=$1;
}
diff --git a/debian/changelog b/debian/changelog
index b644ac99c..810c59f4e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ ikiwiki (3.05) UNRELEASED; urgency=low
directives, and other links on templates affect the page using the
template reliably.
* goto: Fix redirect to comments.
+ * Add noextension parameter to htmlize hooks to support, eg, Makefile.
-- Joey Hess Sun, 15 Feb 2009 20:11:57 -0500
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn
index 2e907938f..696bc6bc3 100644
--- a/doc/plugins/write.mdwn
+++ b/doc/plugins/write.mdwn
@@ -189,9 +189,14 @@ The function is passed named parameters: "page" and "content" and should
return the htmlized content.
If `hook` is passed an optional "keepextension" parameter, set to a true
-value, then this extension will not be stripped from the source filename when
+value, then the extension will not be stripped from the source filename when
generating the page.
+If `hook` is passed an optional "noextension" parameter, set to a true
+value, then the id parameter specifies not a filename extension, but
+a whole filename that can be htmlized. This is useful for files
+like `Makefile` that have no extension.
+
### pagetemplate
hook(type => "pagetemplate", id => "foo", call => \&pagetemplate);
diff --git a/doc/todo/Allow_filenames_that_are_all_type.mdwn b/doc/todo/Allow_filenames_that_are_all_type.mdwn
index e165da7dc..bebbcafa8 100644
--- a/doc/todo/Allow_filenames_that_are_all_type.mdwn
+++ b/doc/todo/Allow_filenames_that_are_all_type.mdwn
@@ -22,6 +22,10 @@ lost because it didn't have its own bug to track it. Now it does :). -- [[Will
>>
>> So, yeah, I think this patch is complete. :) -- [[Will]]
+>>> Thanks, [[applied|done]], but I added a noextension parameter,
+>>> since having keepextension allow files with no extension didn't make
+>>> sense. Also, made it work for pages in subdirs.. --[[Joey]]
+
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 8d728c9..1bd46a9 100644
--- a/IkiWiki.pm
diff --git a/t/pagename.t b/t/pagename.t
index 488e341fa..540d10f4c 100755
--- a/t/pagename.t
+++ b/t/pagename.t
@@ -1,22 +1,35 @@
#!/usr/bin/perl
use warnings;
use strict;
-use Test::More tests => 8;
+use Test::More tests => 19;
BEGIN { use_ok("IkiWiki"); }
-# Used internally.
+# define mdwn as an extension
$IkiWiki::hooks{htmlize}{mdwn}={};
-$IkiWiki::hooks{htmlize}{txt}={keepextension => 1};
-
+is(pagetype("foo.mdwn"), "mdwn");
is(pagename("foo.mdwn"), "foo");
+is(pagetype("foo/bar.mdwn"), "mdwn");
is(pagename("foo/bar.mdwn"), "foo/bar");
-# bare files get the full filename as page name
+# bare files get the full filename as page name, undef type
+is(pagetype("foo.png"), undef);
is(pagename("foo.png"), "foo.png");
+is(pagetype("foo/bar.png"), undef);
is(pagename("foo/bar.png"), "foo/bar.png");
+is(pagetype("foo"), undef);
is(pagename("foo"), "foo");
# keepextension preserves the extension in the page name
+$IkiWiki::hooks{htmlize}{txt}={keepextension => 1};
is(pagename("foo.txt"), "foo.txt");
+is(pagetype("foo.txt"), "txt");
is(pagename("foo/bar.txt"), "foo/bar.txt");
+is(pagetype("foo/bar.txt"), "txt");
+
+# noextension makes extensionless files be treated as first-class pages
+$IkiWiki::hooks{htmlize}{Makefile}={noextension =>1};
+is(pagetype("Makefile"), "Makefile");
+is(pagename("Makefile"), "Makefile");
+is(pagetype("foo/Makefile"), "Makefile");
+is(pagename("foo/Makefile"), "foo/Makefile");
diff --git a/t/pagetype.t b/t/pagetype.t
deleted file mode 100755
index bb06a1568..000000000
--- a/t/pagetype.t
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/perl
-use warnings;
-use strict;
-use Test::More tests => 6;
-
-BEGIN { use_ok("IkiWiki"); }
-
-# Used internally.
-$IkiWiki::hooks{htmlize}{mdwn}={};
-
-is(pagetype("foo.mdwn"), "mdwn");
-is(pagetype("foo/bar.mdwn"), "mdwn");
-is(pagetype("foo.png"), undef);
-is(pagetype("foo/bar.png"), undef);
-is(pagetype("foo"), undef);
--
cgit v1.2.3
From e611d4cdc10d2fb66d41ec8e101e6e35ddc9fdbf Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Thu, 19 Feb 2009 18:49:30 -0500
Subject: add tag() pagespec
patch from jon
---
IkiWiki/Plugin/tag.pm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/IkiWiki/Plugin/tag.pm b/IkiWiki/Plugin/tag.pm
index d43910910..48c197748 100644
--- a/IkiWiki/Plugin/tag.pm
+++ b/IkiWiki/Plugin/tag.pm
@@ -125,4 +125,12 @@ sub pagetemplate (@) {
}
}
+package IkiWiki::PageSpec;
+
+sub match_tag ($$;@) {
+ my $page = shift;
+ my $glob = shift;
+ return match_link($page, IkiWiki::Plugin::tag::tagpage($glob));
+}
+
1
--
cgit v1.2.3
From f813b10fef13682c95ada9c9a9ccf05ff602c172 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Thu, 19 Feb 2009 18:54:25 -0500
Subject: rename tag() to tagged(); add docs
---
IkiWiki/Plugin/tag.pm | 2 +-
debian/changelog | 1 +
doc/ikiwiki/pagespec.mdwn | 3 ++-
doc/plugins/tag.mdwn | 3 +++
doc/todo/tag_pagespec_function.mdwn | 2 +-
5 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/IkiWiki/Plugin/tag.pm b/IkiWiki/Plugin/tag.pm
index 48c197748..8fe9c6828 100644
--- a/IkiWiki/Plugin/tag.pm
+++ b/IkiWiki/Plugin/tag.pm
@@ -127,7 +127,7 @@ sub pagetemplate (@) {
package IkiWiki::PageSpec;
-sub match_tag ($$;@) {
+sub match_tagged ($$;@) {
my $page = shift;
my $glob = shift;
return match_link($page, IkiWiki::Plugin::tag::tagpage($glob));
diff --git a/debian/changelog b/debian/changelog
index 810c59f4e..80b3c5d8e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ ikiwiki (3.05) UNRELEASED; urgency=low
template reliably.
* goto: Fix redirect to comments.
* Add noextension parameter to htmlize hooks to support, eg, Makefile.
+ * Add tagged() PageSpec.
-- Joey Hess Sun, 15 Feb 2009 20:11:57 -0500
diff --git a/doc/ikiwiki/pagespec.mdwn b/doc/ikiwiki/pagespec.mdwn
index 86abe5745..b476bde1f 100644
--- a/doc/ikiwiki/pagespec.mdwn
+++ b/doc/ikiwiki/pagespec.mdwn
@@ -25,6 +25,7 @@ match all pages except for Discussion pages and the SandBox:
Some more elaborate limits can be added to what matches using these functions:
* "`link(page)`" - match only pages that link to a given page (or glob)
+* "`tagged(tag)`" - match pages that are tagged or link to the given tag (or glob)
* "`backlink(page)`" - match only pages that a given page links to
* "`creation_month(month)`" - match only pages created on the given month
* "`creation_day(mday)`" - or day of the month
@@ -65,7 +66,7 @@ More complex expressions can also be created, by using parentheses for
grouping. For example, to match pages in a blog that are tagged with either
of two tags, use:
- blog/* and (link(tag/foo) or link(tag/bar))
+ blog/* and (tagged(foo) or tagged(bar))
Note that page names in PageSpecs are matched against the absolute
filenames of the pages in the wiki, so a pagespec "foo" used on page
diff --git a/doc/plugins/tag.mdwn b/doc/plugins/tag.mdwn
index 17bb086a1..8ff70a069 100644
--- a/doc/plugins/tag.mdwn
+++ b/doc/plugins/tag.mdwn
@@ -5,6 +5,9 @@ This plugin provides the [[ikiwiki/directive/tag]] and
[[ikiwiki/directive/taglink]] [[directives|ikiwiki/directive]].
These directives allow tagging pages.
+It also provides the `tagged()` [[ikiwiki/PageSpec]], which can be used to
+match pages that are tagged with a specific tag.
+
[[!if test="enabled(tag)" then="""
This wiki has the tag plugin enabled, so you'll see a note below that this
page is tagged with the "tags" tag.
diff --git a/doc/todo/tag_pagespec_function.mdwn b/doc/todo/tag_pagespec_function.mdwn
index 060368179..681a1f661 100644
--- a/doc/todo/tag_pagespec_function.mdwn
+++ b/doc/todo/tag_pagespec_function.mdwn
@@ -15,7 +15,7 @@ match tagged pages independent of whatever the tagbase is set to.
>
> One other thing, perhaps it should be called `tagged()`? --[[Joey]]
-[[!tag patch]]
+[[!tag patch done]]
--- a/plugins/IkiWiki/Plugin/tag.pm 2009-02-16 11:30:11.000000000 +0000
+++ b/plugins/IkiWiki/Plugin/tag.pm 2009-02-17 15:40:03.000000000 +0000
--
cgit v1.2.3
From ca7a4ae840d84f75bd2bb95d7150bb1974bd0c3a Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Thu, 19 Feb 2009 18:58:46 -0500
Subject: comments
---
debian/rules | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/rules b/debian/rules
index 0a6571521..28ac84d25 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,16 +2,16 @@
%:
dh $@
-# keeps it out if /usr/local
override_dh_auto_configure:
+ # keeps it out of /usr/local
dh_auto_configure -- PREFIX=/usr
-# avoid compressing files in the doc wiki
override_dh_compress:
+ # avoid compressing files in the doc wiki
dh_compress -Xhtml
-# distclean moans about MANIFEST, this is quieter
override_dh_auto_clean:
+ # distclean moans about MANIFEST, this is quieter
$(MAKE) realclean
# Not intended for use by anyone except the author.
--
cgit v1.2.3
From 1b7845927c1e50d1a2e7a5b20ffdbc42fd40d68f Mon Sep 17 00:00:00 2001
From: "http://people.ee.ethz.ch/~andrmuel/openid/"
Date: Fri, 20 Feb 2009 02:44:01 -0500
Subject: added cosin
---
doc/ikiwikiusers.mdwn | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/ikiwikiusers.mdwn b/doc/ikiwikiusers.mdwn
index f7a4cfca7..b85157f99 100644
--- a/doc/ikiwikiusers.mdwn
+++ b/doc/ikiwikiusers.mdwn
@@ -43,6 +43,7 @@ Projects & Organizations
* The support pages for [Trinity Centre for High Performance Computing](http://www.tchpc.tcd.ie/support/)
* [St Hugh of Lincoln Primary School in Surrey](http://hugh.vm.bytemark.co.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.
Personal sites and blogs
========================
--
cgit v1.2.3
From 65c6bc687ee76cdb1cf5810fbaa51a1d5b91beb9 Mon Sep 17 00:00:00 2001
From: "http://taozhyn.myopenid.com/"
Date: Fri, 20 Feb 2009 04:58:52 -0500
Subject: Adding patch, moved from plugins/tag/discussion
---
...o-create_tag_pages_according_to_a_template.mdwn | 99 ++++++++++++++++++++++
1 file changed, 99 insertions(+)
diff --git a/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn b/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn
index bfb4a863b..ab9263556 100644
--- a/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn
+++ b/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn
@@ -7,3 +7,102 @@ Also see: and "preprocess", id => "tag", call => \&preprocess_tag, scan => 1);
+ hook(type => "preprocess", id => "taglink", call => \&preprocess_taglink, scan => 1);
+ hook(type => "pagetemplate", id => "tag", call => \&pagetemplate);
+ + hook(type => "change", id => "tag", call => \&change);
+ }
+
+ sub getopt () {
+ @@ -36,6 +37,36 @@
+ safe => 1,
+ rebuild => 1,
+ },
+ + tag_autocreate => {
+ + type => "boolean",
+ + example => 0,
+ + description => "Auto-create the new tag pages, uses autotagpage.tmpl ",
+ + safe => 1,
+ + rebulid => 1,
+ + },
+ +}
+ +
+ +my $autocreated_page = 0;
+ +
+ +sub gen_tag_page($) {
+ + my $tag=shift;
+ +
+ + my $tag_file=$tag.'.'.$config{default_pageext};
+ + return if (-f $config{srcdir}.$tag_file);
+ +
+ + my $template=template("autotagpage.tmpl");
+ + $template->param(tag => $tag);
+ + writefile($tag_file, $config{srcdir}, $template->output);
+ + $autocreated_page = 1;
+ +
+ + if ($config{rcs}) {
+ + IkiWiki::disable_commit_hook();
+ + IkiWiki::rcs_add($tag_file);
+ + IkiWiki::rcs_commit_staged(
+ + gettext("Automatic tag page generation"),
+ + undef, undef);
+ + IkiWiki::enable_commit_hook();
+ + }
+ }
+
+ sub tagpage ($) {
+ @@ -47,6 +78,10 @@
+ $tag=~y#/#/#s; # squash dups
+ }
+
+ + if (defined $config{tag_autocreate} && $config{tag_autocreate} ) {
+ + gen_tag_page($tag);
+ + }
+ +
+ return $tag;
+ }
+
+ @@ -125,4 +160,18 @@
+ }
+ }
+
+ +sub change(@) {
+ + return unless($autocreated_page);
+ + $autocreated_page = 0;
+ +
+ + # This refresh/saveindex is to complie the autocreated tag pages
+ + IkiWiki::refresh();
+ + IkiWiki::saveindex();
+ +
+ + # This refresh/saveindex is to fix the Tags link
+ + # With out this additional refresh/saveindex the tag link displays ?tag
+ + IkiWiki::refresh();
+ + IkiWiki::saveindex();
+ +}
+ +
+
+
+This uses a template called `autotagpage.tmpl`, here is my template file:
+
+ \[[!inline pages="link()" archive="yes"]]
+
+
+A quirk I have not figured out is during the `sub change`, see my comments in the code.
+I am not sure if that is the best way to handle it.
+
+[[!tag patch]]
+-- Jeremy Schultz
--
cgit v1.2.3
From ae8266f8bcaef4a29e29163507a9dcf14d440c8f Mon Sep 17 00:00:00 2001
From: "http://taozhyn.myopenid.com/"
Date: Fri, 20 Feb 2009 05:00:42 -0500
Subject: Moved to patch to todo/auto-create
---
doc/plugins/tag/discussion.mdwn | 95 +----------------------------------------
1 file changed, 1 insertion(+), 94 deletions(-)
diff --git a/doc/plugins/tag/discussion.mdwn b/doc/plugins/tag/discussion.mdwn
index e478ec564..1b3043014 100644
--- a/doc/plugins/tag/discussion.mdwn
+++ b/doc/plugins/tag/discussion.mdwn
@@ -23,99 +23,6 @@ better" --[[DavidBremner]]
Please make the actual text used a template some way or another. I may want `map` instead of `inline`. --[[madduck]]
----
-
-I have create a patch to tag.pm for add the option for auto create tag pages.
-A new setting is used to enable or disable auto-create tag pages, `tag_autocreate`.
-The new tag file is created during the preprocess phase.
-The new tag file is then complied during the change phase.
-
- --- tag.pm 2009-02-06 10:26:03.000000000 -0700
- +++ tag_new.pm 2009-02-06 12:17:19.000000000 -0700
- @@ -14,6 +14,7 @@
- hook(type => "preprocess", id => "tag", call => \&preprocess_tag, scan => 1);
- hook(type => "preprocess", id => "taglink", call => \&preprocess_taglink, scan => 1);
- hook(type => "pagetemplate", id => "tag", call => \&pagetemplate);
- + hook(type => "change", id => "tag", call => \&change);
- }
-
- sub getopt () {
- @@ -36,6 +37,36 @@
- safe => 1,
- rebuild => 1,
- },
- + tag_autocreate => {
- + type => "boolean",
- + example => 0,
- + description => "Auto-create the new tag pages, uses autotagpage.tmpl ",
- + safe => 1,
- + rebulid => 1,
- + },
- +}
- +
- +my $autocreated_page = 0;
- +
- +sub gen_tag_page($) {
- + my $tag=shift;
- +
- + my $tag_file=$tag.'.'.$config{default_pageext};
- + return if (-f $config{srcdir}.$tag_file);
- +
- + my $template=template("autotagpage.tmpl");
- + $template->param(tag => $tag);
- + writefile($tag_file, $config{srcdir}, $template->output);
- + $autocreated_page = 1;
- +
- + if ($config{rcs}) {
- + IkiWiki::disable_commit_hook();
- + IkiWiki::rcs_add($tag_file);
- + IkiWiki::rcs_commit_staged(
- + gettext("Automatic tag page generation"),
- + undef, undef);
- + IkiWiki::enable_commit_hook();
- + }
- }
-
- sub tagpage ($) {
- @@ -47,6 +78,10 @@
- $tag=~y#/#/#s; # squash dups
- }
-
- + if (defined $config{tag_autocreate} && $config{tag_autocreate} ) {
- + gen_tag_page($tag);
- + }
- +
- return $tag;
- }
-
- @@ -125,4 +160,18 @@
- }
- }
-
- +sub change(@) {
- + return unless($autocreated_page);
- + $autocreated_page = 0;
- +
- + # This refresh/saveindex is to complie the autocreated tag pages
- + IkiWiki::refresh();
- + IkiWiki::saveindex();
- +
- + # This refresh/saveindex is to fix the Tags link
- + # With out this additional refresh/saveindex the tag link displays ?tag
- + IkiWiki::refresh();
- + IkiWiki::saveindex();
- +}
- +
-
-
-This uses a template called `autotagpage.tmpl`, here is my template file:
-
- \[[!inline pages="link()" archive="yes"]]
-
-
-A quirk I have not figured out is during the `sub change`, see my comments in the code.
-I am not sure if that is the best way to handle it.
-
-[[!tag patch]]
+See [[/todo/auto-create]]
-- Jeremy Schultz
--
cgit v1.2.3
From 08615b9a5e54b6402e52b88be377e48b8bc42944 Mon Sep 17 00:00:00 2001
From: "http://taozhyn.myopenid.com/"
Date: Fri, 20 Feb 2009 05:05:57 -0500
Subject: Fix wikilink to correct todo page
---
doc/plugins/tag/discussion.mdwn | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/doc/plugins/tag/discussion.mdwn b/doc/plugins/tag/discussion.mdwn
index 1b3043014..b6dab5358 100644
--- a/doc/plugins/tag/discussion.mdwn
+++ b/doc/plugins/tag/discussion.mdwn
@@ -23,6 +23,8 @@ better" --[[DavidBremner]]
Please make the actual text used a template some way or another. I may want `map` instead of `inline`. --[[madduck]]
-See [[/todo/auto-create]]
+
+See [[todo/auto-create tag pages according to a template]]
+
-- Jeremy Schultz
--
cgit v1.2.3
From 1e9629b8f63e182a32459ae0d901a61f007ea769 Mon Sep 17 00:00:00 2001
From: "http://smcv.pseudorandom.co.uk/"
Date: Fri, 20 Feb 2009 10:25:47 -0500
Subject: Link my version
---
doc/todo/Gallery.mdwn | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/doc/todo/Gallery.mdwn b/doc/todo/Gallery.mdwn
index 89676c457..bc1d5bea4 100644
--- a/doc/todo/Gallery.mdwn
+++ b/doc/todo/Gallery.mdwn
@@ -73,3 +73,9 @@ Additional details are available [here](http://myweb.unomaha.edu/~ajain/ikiwikig
> the gallery and put it in a "gallery" branch of my git repository.
>
> --[[Joey]]
+
+----
+
+See also [[/users/smcv/gallery]] for another implementation of the same sort of
+thing. Unfortunately, none of the implementation ideas
+I have there seem quite right either... --[[smcv]]
--
cgit v1.2.3
From 3534dc39ed9389586fd1966b5392bf3f3fcde1ec Mon Sep 17 00:00:00 2001
From: "http://smcv.pseudorandom.co.uk/"
Date: Fri, 20 Feb 2009 11:05:05 -0500
Subject: Some more thoughts on this...
---
doc/users/smcv/gallery.mdwn | 21 +++++++++++++++++----
1 file changed, 17 insertions(+), 4 deletions(-)
diff --git a/doc/users/smcv/gallery.mdwn b/doc/users/smcv/gallery.mdwn
index 5b4c6fe00..b6b8de79f 100644
--- a/doc/users/smcv/gallery.mdwn
+++ b/doc/users/smcv/gallery.mdwn
@@ -89,12 +89,15 @@ could look something like this:
The next/previous part this plugin overlaps with [[todo/wikitrails]].
-A \[[!galleryimg]] directive to assign metadata to images is probably necessary, so
+A \[[!galleryimg]] directive to assign metadata to images might be necessary, so
the gallery page can contain something like:
\[[!galleryimg p1010001.jpg title="..." caption="..." tags="foo"]]
\[[!galleryimg p1010002.jpg title="..." caption="..." tags="foo bar"]]
+However, allowing other pages to push in metadata like that will make
+dependency tracking difficult.
+
Making the viewer pages could be rather tricky. Here are some options:
"synthesize source pages for viewers" is the one I'm leaning towards at the
moment.
@@ -105,9 +108,19 @@ One possibility is to write out the viewer pages as a side-effect of
preprocessing the \[[!gallery]] directive. The proof-of-concept implementation
below does this. However, this does mean the viewer pages can't have tags or
metadata of their own and can't be matched by [[pagespecs|ikiwiki/pagespec]] or
-[[wikilinks|ikiwiki/wikilink]]. It might be possible to implement tagging by
-using \[[!galleryimg]] to assign the metadata to the *images* instead of their
-viewers.
+[[wikilinks|ikiwiki/wikilink]].
+
+It might be possible to implement tagging by using \[[!galleryimg]] to assign
+the metadata to the *images* instead of their viewers; however, that would
+require hacking up both `IkiWiki::htmllink` and `IkiWiki::urlto` to redirect
+links to the image (e.g. from the \[[!map]] on a tag page) to become links to
+the viewer page.
+
+Modifications to the comments plugin would also be required, to make it allow
+comments written to `foo/bar/comment_1._comment` even though the page foo/bar
+does not really exist, and display comments on the viewer pages even though
+they're not real pages. (Writing comments to `foo/bar.jpg/*._comment` is not
+an option!)
### Synthesize source pages for viewers
--
cgit v1.2.3
From 786a9e20efbd6e8f3a321e4fde410828904e71bd Mon Sep 17 00:00:00 2001
From: intrigeri
Date: Mon, 23 Feb 2009 07:02:34 -0500
Subject: link to other todo item, personal opinions
---
doc/plugins/passwordauth/discussion.mdwn | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/doc/plugins/passwordauth/discussion.mdwn b/doc/plugins/passwordauth/discussion.mdwn
index 8ae960edd..3362ae7d2 100644
--- a/doc/plugins/passwordauth/discussion.mdwn
+++ b/doc/plugins/passwordauth/discussion.mdwn
@@ -59,3 +59,9 @@ Any opinion/suggestion/solution to this is welcome and appreciated.
--
[[NicolasLimare]]
+For a similar use case, I've been intending to implement
+[[todo/httpauth_feature_parity_with_passwordauth]], but your idea may
+actually be the way to go. IMHO, the Perl sections idea is the
+easiest to setup, but on the long run, I'd prefer ikiwiki to optionnally
+use a userdb storage backend supported at least by Apache and lighttpd.
+--[[intrigeri]]
--
cgit v1.2.3
From bf5dfa8a68216341c1db9d69ae2e9ee699c4a3cd Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Mon, 23 Feb 2009 13:44:32 -0500
Subject: Updated German translation (Kai Wasserbäch). Closes: #516770
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
debian/changelog | 2 +-
po/de.po | 53 ++++++++++++++++++++++++++---------------------------
2 files changed, 27 insertions(+), 28 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 80b3c5d8e..a650529eb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ ikiwiki (3.05) UNRELEASED; urgency=low
* goto: Fix redirect to comments.
* Add noextension parameter to htmlize hooks to support, eg, Makefile.
* Add tagged() PageSpec.
+ * Updated German translation (Kai Wasserbäch). Closes: #516770
-- Joey Hess Sun, 15 Feb 2009 20:11:57 -0500
@@ -20,7 +21,6 @@ ikiwiki (3.04) unstable; urgency=low
* Factor out redundant code into goto plugin. (smcv)
* Work around XML::Atom strangeness that results in double-encoded posts.
(smcv)
- * Updated German translation (Kai Wasserbäch). Closes: #514251
* Fix unusual --setup --post-commit command line option combo.
* Create any missing directory necessary to put the wrapper
file into. Closes: #514384
diff --git a/po/de.po b/po/de.po
index b51384da4..1c45c73dc 100644
--- a/po/de.po
+++ b/po/de.po
@@ -4,10 +4,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: ikiwiki 3.03\n"
-"Report-Msgid-Bugs-To: \n"
+"Project-Id-Version: ikiwiki 3.04\n"
+"Report-Msgid-Bugs-To: ikiwiki@packages.debian.org\n"
"POT-Creation-Date: 2009-02-14 03:04-0500\n"
-"PO-Revision-Date: 2009-02-02 11:23+0100\n"
+"PO-Revision-Date: 2009-02-20 17:44+0100\n"
"Last-Translator: Kai Wasserbäch \n"
"Language-Team: German \n"
"MIME-Version: 1.0\n"
@@ -225,15 +225,17 @@ msgstr ""
#: ../IkiWiki/Plugin/comments.pm:356
#, perl-format
msgid "comments on page '%s' are closed"
-msgstr "Es können keine weitern Kommentare für die Seite »%s« abgegeben werden."
+msgstr ""
+"Es können keine weiteren Kommentare für die Seite »%s« abgegeben werden."
#: ../IkiWiki/Plugin/comments.pm:450
msgid "comment stored for moderation"
-msgstr ""
+msgstr "Kommentar wurde gespeichert und erwartet Freischaltung."
#: ../IkiWiki/Plugin/comments.pm:452
msgid "Your comment will be posted after moderator review"
msgstr ""
+"Ihr Kommentar wird freigegeben, nachdem ein Moderator ihn überprüft hat."
#: ../IkiWiki/Plugin/comments.pm:465
msgid "Added a comment"
@@ -250,11 +252,11 @@ msgstr "Sie sind nicht als Administrator angemeldet"
#: ../IkiWiki/Plugin/comments.pm:561
msgid "Comment moderation"
-msgstr ""
+msgstr "Kommentarmoderation"
#: ../IkiWiki/Plugin/comments.pm:600
msgid "comment moderation"
-msgstr ""
+msgstr "Kommentarmoderation"
#: ../IkiWiki/Plugin/comments.pm:750
msgid "Comments"
@@ -284,7 +286,7 @@ msgstr "entferne alte Vorschau %s"
#: ../IkiWiki/Plugin/editpage.pm:113
#, perl-format
msgid "%s is not an editable page"
-msgstr "%s ist keine bearbeitbare Seite"
+msgstr "Die Seite %s kann nicht bearbeitet werden"
#: ../IkiWiki/Plugin/editpage.pm:289
#, perl-format
@@ -313,11 +315,11 @@ msgstr "»edittemplate« %s für %s registriert."
#: ../IkiWiki/Plugin/edittemplate.pm:133
msgid "failed to process"
-msgstr "Bearbeitung fehlgeschlagen"
+msgstr "Verarbeitung fehlgeschlagen"
#: ../IkiWiki/Plugin/format.pm:20
msgid "must specify format and text"
-msgstr "Format und Text muss spezifiziert werden"
+msgstr "Format und Text müssen spezifiziert werden"
#: ../IkiWiki/Plugin/fortune.pm:27
msgid "fortune failed"
@@ -360,7 +362,7 @@ msgstr "Die Seite %s existiert nicht."
#: ../IkiWiki/Plugin/graphviz.pm:67
msgid "failed to run graphviz"
-msgstr "konnte graphviz nicht ausführen"
+msgstr "graphviz konnte nicht ausgeführt werden"
#: ../IkiWiki/Plugin/graphviz.pm:94
msgid "prog not a valid graphviz program"
@@ -520,7 +522,7 @@ msgstr "Fehlerhafte URL zum Zurücksetzen des Passworts"
#: ../IkiWiki/Plugin/passwordauth.pm:331
msgid "password reset denied"
-msgstr "Zurücksetzen des Passworts verboten"
+msgstr "Zurücksetzen des Passworts abgelehnt"
#: ../IkiWiki/Plugin/pingee.pm:30
msgid "Ping received."
@@ -639,11 +641,13 @@ msgstr "Unzulässiger Prozentwert (%s)"
#: ../IkiWiki/Plugin/progress.pm:59
msgid "need either `percent` or `totalpages` and `donepages` parameters"
-msgstr "Benötige entweder »percent«- oder »totalpages«- und »donepages«-Parameter"
+msgstr ""
+"Es werden entweder »percent«- oder »totalpages«- und »donepages«-Parameter "
+"benötigt"
#: ../IkiWiki/Plugin/recentchangesdiff.pm:37
msgid "(Diff truncated)"
-msgstr "(Diff beschnitten)"
+msgstr "(Diff verkürzt)"
#: ../IkiWiki/Plugin/remove.pm:31 ../IkiWiki/Plugin/rename.pm:36
#, perl-format
@@ -706,7 +710,7 @@ msgstr "benenne %s um"
#: ../IkiWiki/Plugin/rename.pm:138
msgid "Also rename SubPages and attachments"
-msgstr "Auch SubPages und Anhänge umbenennen"
+msgstr "Auch Unterseiten und Anhänge umbenennen"
#: ../IkiWiki/Plugin/rename.pm:224
msgid "Only one attachment can be renamed at a time."
@@ -741,9 +745,9 @@ msgid "search"
msgstr "suchen"
#: ../IkiWiki/Plugin/shortcut.pm:31
-#, fuzzy, perl-format
+#, perl-format
msgid "shortcut plugin will not work without %s"
-msgstr "die »shortcut«-Erweiterung funktioniert nicht ohne eine »shortcuts.mdwn«"
+msgstr "die »shortcut«-Erweiterung funktioniert nicht ohne %s"
#: ../IkiWiki/Plugin/shortcut.pm:44
msgid "missing name or url parameter"
@@ -755,7 +759,7 @@ msgstr "fehlender Name oder URL-Parameter"
#: ../IkiWiki/Plugin/shortcut.pm:54
#, perl-format
msgid "shortcut %s points to %s"
-msgstr "Shortcut %s zeigt auf %s"
+msgstr "Tastenkürzel %s verweist auf %s"
#: ../IkiWiki/Plugin/smiley.pm:43
msgid "failed to parse any smileys"
@@ -791,11 +795,11 @@ msgstr "fehlerhafte Breitenangabe"
#: ../IkiWiki/Plugin/sparkline.pm:153
msgid "failed to run php"
-msgstr "konnte PHP nicht ausführen"
+msgstr "PHP konnte nicht ausgeführt werden"
#: ../IkiWiki/Plugin/table.pm:31
msgid "cannot find file"
-msgstr "konnte Datei nicht finden"
+msgstr "Datei konnte nicht gefunden werden"
#: ../IkiWiki/Plugin/table.pm:87
msgid "unknown data format"
@@ -1028,7 +1032,8 @@ msgstr ""
#: ../IkiWiki.pm:526
msgid "cannot use multiple rcs plugins"
-msgstr "Kann nicht mehrere Versionskontrollsystem-Erweiterungen verwenden"
+msgstr ""
+"Es können nicht mehrere Versionskontrollsystem-Erweiterungen verwandt werden"
#: ../IkiWiki.pm:555
#, perl-format
@@ -1065,9 +1070,3 @@ msgstr ""
#: ../auto.setup:23
msgid "What is the domain name of the web server?"
msgstr "Wie lautet der Domainname des Webservers?"
-
-#~ msgid "blogspam server failure: "
-#~ msgstr "blogspam-Server-Fehler: "
-
-#~ msgid "failed to write %s: %s"
-#~ msgstr "Schreiben von %s fehlgeschlagen: %s"
--
cgit v1.2.3
From f4848d3c875827410f129a8efc61ecdb97ea95fa Mon Sep 17 00:00:00 2001
From: "http://ypoocs.livejournal.com/"
Date: Mon, 23 Feb 2009 15:36:44 -0500
Subject:
---
doc/sandbox.mdwn | 2 ++
1 file changed, 2 insertions(+)
diff --git a/doc/sandbox.mdwn b/doc/sandbox.mdwn
index f684a0586..14f72f4ad 100644
--- a/doc/sandbox.mdwn
+++ b/doc/sandbox.mdwn
@@ -1,6 +1,8 @@
This is the [[SandBox]], a page anyone can edit to try out ikiwiki (version [[!version ]]).
----
+misc test
+
test more test
[[中文显示]]
--
cgit v1.2.3
From 8682daad58023fd6297945d602d2044f3e8f063f Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Tue, 24 Feb 2009 16:30:39 -0500
Subject: Setup automator: Prompt for password twice. Closes: #516973
---
IkiWiki/Setup/Automator.pm | 13 +++++++++++--
debian/changelog | 1 +
po/de.po | 16 ++++++++--------
po/es.po | 33 +++++++++++++++++++--------------
po/ikiwiki.pot | 14 +++++++-------
5 files changed, 46 insertions(+), 31 deletions(-)
diff --git a/IkiWiki/Setup/Automator.pm b/IkiWiki/Setup/Automator.pm
index 42caf3039..b63c8e245 100644
--- a/IkiWiki/Setup/Automator.pm
+++ b/IkiWiki/Setup/Automator.pm
@@ -110,11 +110,20 @@ sub import (@) {
next if $admin=~/^http\?:\/\//; # openid
# Prompt for password w/o echo.
+ my ($password, $password2);
system('stty -echo 2>/dev/null');
local $|=1;
print "\n\nCreating wiki admin $admin ...\n";
- print "Choose a password: ";
- chomp(my $password=);
+ for (;;) {
+ print "Choose a password: ";
+ chomp($password=);
+ print "Confirm password: ";
+ chomp($password2=);
+
+ last if $password2 ne $password;
+
+ print "Password mismatch.\n\n";
+ }
print "\n\n\n";
system('stty sane 2>/dev/null');
diff --git a/debian/changelog b/debian/changelog
index a650529eb..1dc01878b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ ikiwiki (3.05) UNRELEASED; urgency=low
* Add noextension parameter to htmlize hooks to support, eg, Makefile.
* Add tagged() PageSpec.
* Updated German translation (Kai Wasserbäch). Closes: #516770
+ * Setup automator: Prompt for password twice. Closes: #516973
-- Joey Hess Sun, 15 Feb 2009 20:11:57 -0500
diff --git a/po/de.po b/po/de.po
index 1c45c73dc..25ec8b5c0 100644
--- a/po/de.po
+++ b/po/de.po
@@ -5,8 +5,8 @@
msgid ""
msgstr ""
"Project-Id-Version: ikiwiki 3.04\n"
-"Report-Msgid-Bugs-To: ikiwiki@packages.debian.org\n"
-"POT-Creation-Date: 2009-02-14 03:04-0500\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-02-24 16:31-0500\n"
"PO-Revision-Date: 2009-02-20 17:44+0100\n"
"Last-Translator: Kai Wasserbäch \n"
"Language-Team: German \n"
@@ -47,7 +47,7 @@ msgstr "Einstellungen gespeichert."
msgid "You are banned."
msgstr "Sie sind ausgeschlossen worden."
-#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1204
+#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1209
msgid "Error"
msgstr "Fehler"
@@ -818,16 +818,16 @@ msgstr "Direkter Daten-Download"
msgid "parse fail at line %d: %s"
msgstr "Verarbeitungsfehler in Zeile %d: %s"
-#: ../IkiWiki/Plugin/template.pm:28
+#: ../IkiWiki/Plugin/template.pm:29
msgid "missing id parameter"
msgstr "fehlender »id«-Parameter"
-#: ../IkiWiki/Plugin/template.pm:35
+#: ../IkiWiki/Plugin/template.pm:36
#, perl-format
msgid "template %s not found"
msgstr "Vorlage %s nicht gefunden"
-#: ../IkiWiki/Plugin/template.pm:54
+#: ../IkiWiki/Plugin/template.pm:55
msgid "failed to process:"
msgstr "Verarbeitung fehlgeschlagen von:"
@@ -1040,12 +1040,12 @@ msgstr ""
msgid "failed to load external plugin needed for %s plugin: %s"
msgstr "Laden der für %s benötigten externen Erweiterung fehlgeschlagen: %s"
-#: ../IkiWiki.pm:1187
+#: ../IkiWiki.pm:1192
#, perl-format
msgid "preprocessing loop detected on %s at depth %i"
msgstr "Präprozessorschleife auf %s in Tiefe %i erkannt"
-#: ../IkiWiki.pm:1725
+#: ../IkiWiki.pm:1730
msgid "yes"
msgstr "ja"
diff --git a/po/es.po b/po/es.po
index 7991ba2d6..e18f146d4 100644
--- a/po/es.po
+++ b/po/es.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: es\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-02-14 03:04-0500\n"
+"POT-Creation-Date: 2009-02-24 16:31-0500\n"
"PO-Revision-Date: 2009-02-16 10:22+0100\n"
"Last-Translator: Víctor Moral \n"
"Language-Team: spanish \n"
@@ -25,7 +25,8 @@ msgstr "Antes es necesario identificarse."
#: ../IkiWiki/CGI.pm:145
msgid "login failed, perhaps you need to turn on cookies?"
-msgstr "registro fallido, ¿ tal vez necesita activar las cookies en el navegador ?"
+msgstr ""
+"registro fallido, ¿ tal vez necesita activar las cookies en el navegador ?"
#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:294
msgid "Your login session has expired."
@@ -51,7 +52,7 @@ msgstr "Las preferencias se han guardado."
msgid "You are banned."
msgstr "Ha sido expulsado."
-#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1204
+#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1209
msgid "Error"
msgstr "Error"
@@ -61,7 +62,8 @@ msgstr "Contenido añadido activado vía web."
#: ../IkiWiki/Plugin/aggregate.pm:93
msgid "Nothing to do right now, all feeds are up-to-date!"
-msgstr "¡ No hay nada que hacer, todas las fuentes de noticias están actualizadas !"
+msgstr ""
+"¡ No hay nada que hacer, todas las fuentes de noticias están actualizadas !"
#: ../IkiWiki/Plugin/aggregate.pm:220
#, perl-format
@@ -350,7 +352,8 @@ msgstr ""
#: ../IkiWiki/Plugin/google.pm:31
msgid "Failed to parse url, cannot determine domain name"
-msgstr "Error en el análisis del URL, no puedo determinar el nombre del dominio"
+msgstr ""
+"Error en el análisis del URL, no puedo determinar el nombre del dominio"
#: ../IkiWiki/Plugin/goto.pm:49
msgid "missing page"
@@ -441,7 +444,8 @@ msgstr "La página %s está bloqueada y no puede modificarse"
#: ../IkiWiki/Plugin/mdwn.pm:44
msgid "multimarkdown is enabled, but Text::MultiMarkdown is not installed"
-msgstr "el modo multimarkdown está activo, pero no está instalado Text::MultiMarkdown"
+msgstr ""
+"el modo multimarkdown está activo, pero no está instalado Text::MultiMarkdown"
#: ../IkiWiki/Plugin/mdwn.pm:67
#, perl-format
@@ -816,16 +820,16 @@ msgstr "Enlace directo para descarga"
msgid "parse fail at line %d: %s"
msgstr "error de análisis en la línea %d: %s"
-#: ../IkiWiki/Plugin/template.pm:28
+#: ../IkiWiki/Plugin/template.pm:29
msgid "missing id parameter"
msgstr "falta el parámetro \"id\""
-#: ../IkiWiki/Plugin/template.pm:35
+#: ../IkiWiki/Plugin/template.pm:36
#, perl-format
msgid "template %s not found"
msgstr "no he encontrado la plantilla %s"
-#: ../IkiWiki/Plugin/template.pm:54
+#: ../IkiWiki/Plugin/template.pm:55
msgid "failed to process:"
msgstr "se ha producido un error fatal mientras procesaba la plantilla:"
@@ -863,7 +867,8 @@ msgid "plugins"
msgstr "complementos"
#: ../IkiWiki/Plugin/websetup.pm:395
-msgid "The configuration changes shown below require a wiki rebuild to take effect."
+msgid ""
+"The configuration changes shown below require a wiki rebuild to take effect."
msgstr ""
"Los cambios en la configuración que se muestran más abajo precisan una "
"reconstrucción del wiki para tener efecto."
@@ -979,7 +984,8 @@ msgstr "el programa %s no parece ser ejecutable"
#: ../IkiWiki/Wrapper.pm:20
msgid "cannot create a wrapper that uses a setup file"
-msgstr "no puedo crear un programa envoltorio que utiliza un archivo de configuración"
+msgstr ""
+"no puedo crear un programa envoltorio que utiliza un archivo de configuración"
#: ../IkiWiki/Wrapper.pm:24
msgid "wrapper filename not specified"
@@ -1036,14 +1042,14 @@ msgstr "no puedo emplear varios complementos rcs"
msgid "failed to load external plugin needed for %s plugin: %s"
msgstr "no he podido cargar el complemento externo %s necesario para %s"
-#: ../IkiWiki.pm:1187
+#: ../IkiWiki.pm:1192
#, perl-format
msgid "preprocessing loop detected on %s at depth %i"
msgstr ""
"se ha detectado en la página %s un bucle de preprocesado en la iteración "
"número %i"
-#: ../IkiWiki.pm:1725
+#: ../IkiWiki.pm:1730
msgid "yes"
msgstr "si"
@@ -1068,4 +1074,3 @@ msgstr ""
#: ../auto.setup:23
msgid "What is the domain name of the web server?"
msgstr "¿ Cuál es el dominio para el servidor web ?"
-
diff --git a/po/ikiwiki.pot b/po/ikiwiki.pot
index a0fef590c..4ef0c23d1 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-02-14 03:04-0500\n"
+"POT-Creation-Date: 2009-02-24 16:31-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -48,7 +48,7 @@ msgstr ""
msgid "You are banned."
msgstr ""
-#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1204
+#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1209
msgid "Error"
msgstr ""
@@ -801,16 +801,16 @@ msgstr ""
msgid "parse fail at line %d: %s"
msgstr ""
-#: ../IkiWiki/Plugin/template.pm:28
+#: ../IkiWiki/Plugin/template.pm:29
msgid "missing id parameter"
msgstr ""
-#: ../IkiWiki/Plugin/template.pm:35
+#: ../IkiWiki/Plugin/template.pm:36
#, perl-format
msgid "template %s not found"
msgstr ""
-#: ../IkiWiki/Plugin/template.pm:54
+#: ../IkiWiki/Plugin/template.pm:55
msgid "failed to process:"
msgstr ""
@@ -1012,12 +1012,12 @@ msgstr ""
msgid "failed to load external plugin needed for %s plugin: %s"
msgstr ""
-#: ../IkiWiki.pm:1187
+#: ../IkiWiki.pm:1192
#, perl-format
msgid "preprocessing loop detected on %s at depth %i"
msgstr ""
-#: ../IkiWiki.pm:1725
+#: ../IkiWiki.pm:1730
msgid "yes"
msgstr ""
--
cgit v1.2.3
From 8638b8ed31879c34bfa37bbb9a079052fff7c4b3 Mon Sep 17 00:00:00 2001
From: "http://liw.fi/"
Date: Wed, 25 Feb 2009 07:19:39 -0500
Subject:
---
doc/bugs/bzr_plugin_does_not_define_rcs__95__diff.mdwn | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 doc/bugs/bzr_plugin_does_not_define_rcs__95__diff.mdwn
diff --git a/doc/bugs/bzr_plugin_does_not_define_rcs__95__diff.mdwn b/doc/bugs/bzr_plugin_does_not_define_rcs__95__diff.mdwn
new file mode 100644
index 000000000..e57924131
--- /dev/null
+++ b/doc/bugs/bzr_plugin_does_not_define_rcs__95__diff.mdwn
@@ -0,0 +1,12 @@
+The bzr plugin does not seem to define the rcs_diff subroutine.
+I got the follow error after enabling recentchangesdiff:
+
+"Undefined subroutine &IkiWiki::Plugin::bzr::rcs_diff called at /usr/share/perl5/IkiWiki.pm line 1590."
+
+Grepping to verify absence of rcs_diff:
+
+ $ grep rcs_diff /usr/share/perl5/IkiWiki/Plugin/{git,bzr}.pm
+ /usr/share/perl5/IkiWiki/Plugin/git.pm: hook(type => "rcs", id => "rcs_diff", call => \&rcs_diff);
+ /usr/share/perl5/IkiWiki/Plugin/git.pm:sub rcs_diff ($) {
+ /usr/share/perl5/IkiWiki/Plugin/bzr.pm: hook(type => "rcs", id => "rcs_diff", call => \&rcs_diff);
+
--
cgit v1.2.3
From 63439fa10b2b59e85337d7a0f71ddaa38dfb0018 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Wed, 25 Feb 2009 16:56:02 -0500
Subject: bzr: Add missing stub rcs_diff.
---
IkiWiki/Plugin/bzr.pm | 4 ++++
debian/changelog | 1 +
2 files changed, 5 insertions(+)
diff --git a/IkiWiki/Plugin/bzr.pm b/IkiWiki/Plugin/bzr.pm
index 16c959069..783623dee 100644
--- a/IkiWiki/Plugin/bzr.pm
+++ b/IkiWiki/Plugin/bzr.pm
@@ -255,6 +255,10 @@ sub rcs_recentchanges ($) {
return @ret;
}
+sub rcs_diff ($) {
+ # TODO
+}
+
sub rcs_getctime ($) {
my ($file) = @_;
diff --git a/debian/changelog b/debian/changelog
index 1dc01878b..ac7e2f21d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ ikiwiki (3.05) UNRELEASED; urgency=low
* Add tagged() PageSpec.
* Updated German translation (Kai Wasserbäch). Closes: #516770
* Setup automator: Prompt for password twice. Closes: #516973
+ * bzr: Add missing stub rcs_diff.
-- Joey Hess Sun, 15 Feb 2009 20:11:57 -0500
--
cgit v1.2.3
From 2e0dec2ffcab5af04f5e6c3e1e3504a7aca9e56e Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Wed, 25 Feb 2009 17:15:25 -0500
Subject: response
---
doc/bugs/bzr_plugin_does_not_define_rcs__95__diff.mdwn | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/doc/bugs/bzr_plugin_does_not_define_rcs__95__diff.mdwn b/doc/bugs/bzr_plugin_does_not_define_rcs__95__diff.mdwn
index e57924131..ece919f09 100644
--- a/doc/bugs/bzr_plugin_does_not_define_rcs__95__diff.mdwn
+++ b/doc/bugs/bzr_plugin_does_not_define_rcs__95__diff.mdwn
@@ -10,3 +10,8 @@ Grepping to verify absence of rcs_diff:
/usr/share/perl5/IkiWiki/Plugin/git.pm:sub rcs_diff ($) {
/usr/share/perl5/IkiWiki/Plugin/bzr.pm: hook(type => "rcs", id => "rcs_diff", call => \&rcs_diff);
+> I've added the minimal stub needed to avoid the crash, but for
+> recentchangesdiff to work, someone needs to implement `rcs_diff` for bzr.
+> This should be trivial if you know and use bzr. The function
+> is passed as a parameter the revno of interest and just needs
+> to ask bzr for the diff between that and the previous version. --[[Joey]]
--
cgit v1.2.3
From 158c6c3ac8a8975741587b55a298f10e632e993e Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Thu, 26 Feb 2009 01:59:05 -0500
Subject: detect sslcookie set and no https
This is likely a misconfiguration and can cause login to fail as the
browser refuses the send the session cookie back over http.
Not entirely happy with putting the check where I did, since users have to
try to log in, and fail, to see the misconfiguration explained. But I could
not find a better place to put the check.
---
IkiWiki/CGI.pm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm
index 3000ed100..04f24b04f 100644
--- a/IkiWiki/CGI.pm
+++ b/IkiWiki/CGI.pm
@@ -142,7 +142,12 @@ sub cgi_postsignin ($$) {
exit;
}
else {
- error(gettext("login failed, perhaps you need to turn on cookies?"));
+ if ($config{sslcookie} && ! $q->https()) {
+ error(gettext("probable misconfiguration: sslcookie is set, but you are attepting to login via http, not https"));
+ }
+ else {
+ error(gettext("login failed, perhaps you need to turn on cookies?"));
+ }
}
}
--
cgit v1.2.3
From 192f042e3a909edb01719da6f9943fcb588e81e6 Mon Sep 17 00:00:00 2001
From: "http://liw.fi/"
Date: Thu, 26 Feb 2009 02:10:15 -0500
Subject:
---
doc/bugs/bzr_plugin_does_not_define_rcs__95__diff.mdwn | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/doc/bugs/bzr_plugin_does_not_define_rcs__95__diff.mdwn b/doc/bugs/bzr_plugin_does_not_define_rcs__95__diff.mdwn
index ece919f09..60d3a7b95 100644
--- a/doc/bugs/bzr_plugin_does_not_define_rcs__95__diff.mdwn
+++ b/doc/bugs/bzr_plugin_does_not_define_rcs__95__diff.mdwn
@@ -15,3 +15,7 @@ Grepping to verify absence of rcs_diff:
> This should be trivial if you know and use bzr. The function
> is passed as a parameter the revno of interest and just needs
> to ask bzr for the diff between that and the previous version. --[[Joey]]
+
+>> I'll see if I can make a patch. The bzr command to get the revision would
+>> look like this: bzr diff -r revno:$PREV:/path/to/src..revno:$REVNO:/path/to/src
+>> (where $PREV would be $REVNO minus one). --liw
--
cgit v1.2.3
From b30c1b0c38bc8e6730a76135e6bff695d0f778c2 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Thu, 26 Feb 2009 02:31:13 -0500
Subject: comments: Avoid showing comment moderation button in prefs to
non-admins.
---
IkiWiki/Plugin/comments.pm | 3 ++-
debian/changelog | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm
index 3cdffe856..ee53dbc91 100644
--- a/IkiWiki/Plugin/comments.pm
+++ b/IkiWiki/Plugin/comments.pm
@@ -605,7 +605,8 @@ sub formbuilder_setup (@) {
my %params=@_;
my $form=$params{form};
- if ($form->title eq "preferences") {
+ if ($form->title eq "preferences" &&
+ IkiWiki::is_admin($params{session}->param("name"))) {
push @{$params{buttons}}, "Comment Moderation";
if ($form->submitted && $form->submitted eq "Comment Moderation") {
commentmoderation($params{cgi}, $params{session});
diff --git a/debian/changelog b/debian/changelog
index ac7e2f21d..68d08ad8e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ ikiwiki (3.05) UNRELEASED; urgency=low
* Updated German translation (Kai Wasserbäch). Closes: #516770
* Setup automator: Prompt for password twice. Closes: #516973
* bzr: Add missing stub rcs_diff.
+ * comments: Avoid showing comment moderation button in prefs to non-admins.
-- Joey Hess Sun, 15 Feb 2009 20:11:57 -0500
--
cgit v1.2.3
From 457d330758ffe0935837ed38a93608c519a62403 Mon Sep 17 00:00:00 2001
From: "http://liw.fi/"
Date: Thu, 26 Feb 2009 03:07:29 -0500
Subject:
---
.../bzr_plugin_does_not_define_rcs__95__diff.mdwn | 40 ++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/doc/bugs/bzr_plugin_does_not_define_rcs__95__diff.mdwn b/doc/bugs/bzr_plugin_does_not_define_rcs__95__diff.mdwn
index 60d3a7b95..110f769c7 100644
--- a/doc/bugs/bzr_plugin_does_not_define_rcs__95__diff.mdwn
+++ b/doc/bugs/bzr_plugin_does_not_define_rcs__95__diff.mdwn
@@ -19,3 +19,43 @@ Grepping to verify absence of rcs_diff:
>> I'll see if I can make a patch. The bzr command to get the revision would
>> look like this: bzr diff -r revno:$PREV:/path/to/src..revno:$REVNO:/path/to/src
>> (where $PREV would be $REVNO minus one). --liw
+
+>> Sorry, that was not entirely correct, for some reason. I'll add a patch below that
+>> seems to work. I am unfortunately not ready to set up a git repository that you
+>> can pull from. --liw
+
+ diff --git a/IkiWiki/Plugin/.bzr.pm.swp b/IkiWiki/Plugin/.bzr.pm.swp
+ new file mode 100644
+ index 0000000..712120c
+ Binary files /dev/null and b/IkiWiki/Plugin/.bzr.pm.swp differ
+ diff --git a/IkiWiki/Plugin/bzr.pm b/IkiWiki/Plugin/bzr.pm
+ index 783623d..f1d5854 100644
+ --- a/IkiWiki/Plugin/bzr.pm
+ +++ b/IkiWiki/Plugin/bzr.pm
+ @@ -256,7 +256,25 @@ sub rcs_recentchanges ($) {
+ }
+
+ sub rcs_diff ($) {
+ - # TODO
+ + my $taintedrev=shift;
+ + my ($rev) = $taintedrev =~ /^(\d+(\.\d+)*)$/; # untaint
+ + print STDERR "taintedrev: $taintedrev\nrev: $rev\n";
+ +
+ + my $prevspec = "before:" . $rev;
+ + my $revspec = "revno:" . $rev;
+ + my @cmdline = ("bzr", "diff", "--old", $config{srcdir},
+ + "--new", $config{srcdir},
+ + "-r", $prevspec . ".." . $revspec);
+ + print STDERR "cmdline: @cmdline\n";
+ + open (my $out, "@cmdline |");
+ +
+ + my @lines = <$out>;
+ + if (wantarray) {
+ + return @lines;
+ + }
+ + else {
+ + return join("", @lines);
+ + }
+ }
+
+ sub rcs_getctime ($) {
--
cgit v1.2.3
From 596b2906fdc863fac2a3c86abbdb39416eee1961 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Thu, 26 Feb 2009 14:09:26 -0500
Subject: bzr: Add missing rcs_diff. (liw)
---
IkiWiki/Plugin/bzr.pm | 18 ++++++++++-
debian/changelog | 2 +-
.../bzr_plugin_does_not_define_rcs__95__diff.mdwn | 36 +---------------------
3 files changed, 19 insertions(+), 37 deletions(-)
diff --git a/IkiWiki/Plugin/bzr.pm b/IkiWiki/Plugin/bzr.pm
index 783623dee..883007367 100644
--- a/IkiWiki/Plugin/bzr.pm
+++ b/IkiWiki/Plugin/bzr.pm
@@ -256,7 +256,23 @@ sub rcs_recentchanges ($) {
}
sub rcs_diff ($) {
- # TODO
+ my $taintedrev=shift;
+ my ($rev) = $taintedrev =~ /^(\d+(\.\d+)*)$/; # untaint
+
+ my $prevspec = "before:" . $rev;
+ my $revspec = "revno:" . $rev;
+ my @cmdline = ("bzr", "diff", "--old", $config{srcdir},
+ "--new", $config{srcdir},
+ "-r", $prevspec . ".." . $revspec);
+ open (my $out, "@cmdline |");
+
+ my @lines = <$out>;
+ if (wantarray) {
+ return @lines;
+ }
+ else {
+ return join("", @lines);
+ }
}
sub rcs_getctime ($) {
diff --git a/debian/changelog b/debian/changelog
index 68d08ad8e..90b672e8d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,7 +10,7 @@ ikiwiki (3.05) UNRELEASED; urgency=low
* Add tagged() PageSpec.
* Updated German translation (Kai Wasserbäch). Closes: #516770
* Setup automator: Prompt for password twice. Closes: #516973
- * bzr: Add missing stub rcs_diff.
+ * bzr: Add missing rcs_diff. (liw)
* comments: Avoid showing comment moderation button in prefs to non-admins.
-- Joey Hess Sun, 15 Feb 2009 20:11:57 -0500
diff --git a/doc/bugs/bzr_plugin_does_not_define_rcs__95__diff.mdwn b/doc/bugs/bzr_plugin_does_not_define_rcs__95__diff.mdwn
index 110f769c7..0294ec62e 100644
--- a/doc/bugs/bzr_plugin_does_not_define_rcs__95__diff.mdwn
+++ b/doc/bugs/bzr_plugin_does_not_define_rcs__95__diff.mdwn
@@ -24,38 +24,4 @@ Grepping to verify absence of rcs_diff:
>> seems to work. I am unfortunately not ready to set up a git repository that you
>> can pull from. --liw
- diff --git a/IkiWiki/Plugin/.bzr.pm.swp b/IkiWiki/Plugin/.bzr.pm.swp
- new file mode 100644
- index 0000000..712120c
- Binary files /dev/null and b/IkiWiki/Plugin/.bzr.pm.swp differ
- diff --git a/IkiWiki/Plugin/bzr.pm b/IkiWiki/Plugin/bzr.pm
- index 783623d..f1d5854 100644
- --- a/IkiWiki/Plugin/bzr.pm
- +++ b/IkiWiki/Plugin/bzr.pm
- @@ -256,7 +256,25 @@ sub rcs_recentchanges ($) {
- }
-
- sub rcs_diff ($) {
- - # TODO
- + my $taintedrev=shift;
- + my ($rev) = $taintedrev =~ /^(\d+(\.\d+)*)$/; # untaint
- + print STDERR "taintedrev: $taintedrev\nrev: $rev\n";
- +
- + my $prevspec = "before:" . $rev;
- + my $revspec = "revno:" . $rev;
- + my @cmdline = ("bzr", "diff", "--old", $config{srcdir},
- + "--new", $config{srcdir},
- + "-r", $prevspec . ".." . $revspec);
- + print STDERR "cmdline: @cmdline\n";
- + open (my $out, "@cmdline |");
- +
- + my @lines = <$out>;
- + if (wantarray) {
- + return @lines;
- + }
- + else {
- + return join("", @lines);
- + }
- }
-
- sub rcs_getctime ($) {
+[[done]] --[[Joey]]
--
cgit v1.2.3
From c2df40c01ba78e0c0631df0a5042980eb1688488 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Thu, 26 Feb 2009 14:16:13 -0500
Subject: mercurial and tla are missing implementations of several things
---
doc/todo/mercurial.mdwn | 4 ++++
doc/todo/tla.mdwn | 3 +++
2 files changed, 7 insertions(+)
diff --git a/doc/todo/mercurial.mdwn b/doc/todo/mercurial.mdwn
index 2f148498e..e71c8106a 100644
--- a/doc/todo/mercurial.mdwn
+++ b/doc/todo/mercurial.mdwn
@@ -14,6 +14,10 @@
It seems that with the current mercurial commit code, it will always
blindly overwrite the current file with the web edited version, losing
any other changes.
+* `rcs_commit_staged`, `rcs_rename`, `rcs_remove`, and `rcs_diff` are not
+ implemented for mercurial, and so attachments, remove and rename plugins
+ and recentchangesdiff cannot be used with it. (These should be fairly
+ easy to add..)
Posthook: in `$srcdir/.hg/hgrc`, I have the following
diff --git a/doc/todo/tla.mdwn b/doc/todo/tla.mdwn
index 6ef8453f1..b6b082cfe 100644
--- a/doc/todo/tla.mdwn
+++ b/doc/todo/tla.mdwn
@@ -1,4 +1,7 @@
* Need to get post commit hook code working.
* Need some example urls for web based diffs.
+* `rcs_commit_staged`, `rcs_rename`, `rcs_remove`, are not
+ implemented for tla, and so attachments, remove and rename plugins
+ cannot be used with it. (These should be fairly easy to add..)
[[!tag rcs/tla]]
--
cgit v1.2.3
From affd4ca3daa8da233d915516fb668c8f99fffe51 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Fri, 27 Feb 2009 13:21:29 -0500
Subject: goto: Fix typo that broke recentchanges_link compatability.
---
IkiWiki/Plugin/goto.pm | 2 +-
debian/changelog | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/IkiWiki/Plugin/goto.pm b/IkiWiki/Plugin/goto.pm
index 06ec0bdca..3f40c5859 100644
--- a/IkiWiki/Plugin/goto.pm
+++ b/IkiWiki/Plugin/goto.pm
@@ -65,7 +65,7 @@ sub cgi ($) {
my $do = $cgi->param('do');
if (defined $do && ($do eq 'goto' || $do eq 'commenter' ||
- $do eq 'recentchanged_link')) {
+ $do eq 'recentchanges_link')) {
# goto is the preferred name for this; recentchanges_link and
# commenter are for compatibility with any saved URLs
cgi_goto($cgi);
diff --git a/debian/changelog b/debian/changelog
index 90b672e8d..0b1eec6cf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ ikiwiki (3.05) UNRELEASED; urgency=low
* Setup automator: Prompt for password twice. Closes: #516973
* bzr: Add missing rcs_diff. (liw)
* comments: Avoid showing comment moderation button in prefs to non-admins.
+ * goto: Fix typo that broke recentchanges_link compatability.
-- Joey Hess Sun, 15 Feb 2009 20:11:57 -0500
--
cgit v1.2.3
From 6f3e348d31761ef6251e71222f01268da1422766 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Fri, 27 Feb 2009 15:33:50 -0500
Subject: lower debhelper build-dep
debhelper 7.0.50 will support everything needed, and will
be backported to stable
---
debian/changelog | 2 +-
debian/control | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 0b1eec6cf..a61868154 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
ikiwiki (3.05) UNRELEASED; urgency=low
- * debhelper v7.2; rules file minimisation.
+ * debhelper v7(.0.50); rules file minimisation.
* template: Load templates in scan mode.
This is potentially expensive, but is necessary so that meta and tag
directives, and other links on templates affect the page using the
diff --git a/debian/control b/debian/control
index 0506dec24..a877bf314 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
Source: ikiwiki
Section: web
Priority: optional
-Build-Depends: perl, debhelper (>= 7.2)
+Build-Depends: perl, debhelper (>= 7.0.50)
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
Maintainer: Joey Hess
Uploaders: Josh Triplett
--
cgit v1.2.3
From 4558674d70dd7cd14a650e28c20cc707b72bf425 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Fri, 27 Feb 2009 15:35:40 -0500
Subject: fix clean on clean tree
---
debian/rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 28ac84d25..bdbbf0050 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@ override_dh_compress:
override_dh_auto_clean:
# distclean moans about MANIFEST, this is quieter
- $(MAKE) realclean
+ -$(MAKE) realclean
# Not intended for use by anyone except the author.
announcedir:
--
cgit v1.2.3
From c42ad8e8de7fc581b57c7407de6a8336cfbc2540 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Fri, 27 Feb 2009 15:40:42 -0500
Subject: lintian fixes
---
debian/changelog | 2 +-
debian/control | 2 +-
debian/rules | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index a61868154..b63c25da7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,7 +12,7 @@ ikiwiki (3.05) UNRELEASED; urgency=low
* Setup automator: Prompt for password twice. Closes: #516973
* bzr: Add missing rcs_diff. (liw)
* comments: Avoid showing comment moderation button in prefs to non-admins.
- * goto: Fix typo that broke recentchanges_link compatability.
+ * goto: Fix typo that broke recentchanges_link compatibility.
-- Joey Hess Sun, 15 Feb 2009 20:11:57 -0500
diff --git a/debian/control b/debian/control
index a877bf314..65b80138b 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,7 @@ Vcs-Browser: http://git.ikiwiki.info/?p=ikiwiki
Package: ikiwiki
Architecture: all
-Depends: ${perl:Depends}, libtext-markdown-perl | markdown, libhtml-scrubber-perl, libhtml-template-perl, libhtml-parser-perl, liburi-perl
+Depends: ${misc:Depends}, ${perl:Depends}, libtext-markdown-perl | markdown, libhtml-scrubber-perl, libhtml-template-perl, libhtml-parser-perl, liburi-perl
Recommends: gcc | c-compiler, libc6-dev | libc-dev, subversion | git-core (>= 1:1.5.0) | tla | bzr (>= 0.91) | mercurial | monotone (>= 0.38), libxml-simple-perl, libnet-openid-consumer-perl, liblwpx-paranoidagent-perl, libtimedate-perl, libcgi-formbuilder-perl (>= 3.05), libcgi-session-perl (>= 4.14-1), libmail-sendmail-perl, libauthen-passphrase-perl, libterm-readline-gnu-perl
Suggests: viewvc | gitweb | viewcvs, libsearch-xapian-perl, xapian-omega (>= 1.0.5), librpc-xml-perl, libtext-wikiformat-perl, python, python-docutils, polygen, tidy, libhtml-tree-perl, libxml-feed-perl, libmailtools-perl, perlmagick, libfile-mimeinfo-perl, libcrypt-ssleay-perl, liblocale-gettext-perl (>= 1.05-1), libtext-typography-perl, libtext-csv-perl, libdigest-sha1-perl, graphviz, libnet-amazon-s3-perl, sparkline-php, texlive, dvipng, libtext-wikicreole-perl
Conflicts: ikiwiki-plugin-table
diff --git a/debian/rules b/debian/rules
index bdbbf0050..0a7ce7a26 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@ override_dh_compress:
override_dh_auto_clean:
# distclean moans about MANIFEST, this is quieter
- -$(MAKE) realclean
+ if [ -e Makefile ]; then $(MAKE) realclean; fi
# Not intended for use by anyone except the author.
announcedir:
--
cgit v1.2.3
From b0117082ed83d255311494942aa8f91fd131b71d Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Fri, 27 Feb 2009 15:54:52 -0500
Subject: releasing version 3.05
---
debian/changelog | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index b63c25da7..4e62b0971 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-ikiwiki (3.05) UNRELEASED; urgency=low
+ikiwiki (3.05) unstable; urgency=low
* debhelper v7(.0.50); rules file minimisation.
* template: Load templates in scan mode.
@@ -14,7 +14,7 @@ ikiwiki (3.05) UNRELEASED; urgency=low
* comments: Avoid showing comment moderation button in prefs to non-admins.
* goto: Fix typo that broke recentchanges_link compatibility.
- -- Joey Hess Sun, 15 Feb 2009 20:11:57 -0500
+ -- Joey Hess Fri, 27 Feb 2009 15:48:39 -0500
ikiwiki (3.04) unstable; urgency=low
--
cgit v1.2.3
From f9efb5b1eb08d7f9f94b9a5028fc234735720c85 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Fri, 27 Feb 2009 15:55:34 -0500
Subject: add news item for ikiwiki 3.05
---
doc/news/version_3.04.mdwn | 17 -----------------
doc/news/version_3.05.mdwn | 15 +++++++++++++++
2 files changed, 15 insertions(+), 17 deletions(-)
delete mode 100644 doc/news/version_3.04.mdwn
create mode 100644 doc/news/version_3.05.mdwn
diff --git a/doc/news/version_3.04.mdwn b/doc/news/version_3.04.mdwn
deleted file mode 100644
index e04093c8f..000000000
--- a/doc/news/version_3.04.mdwn
+++ /dev/null
@@ -1,17 +0,0 @@
-ikiwiki 3.04 released with [[!toggle text="these changes"]]
-[[!toggleable text="""
- * 404: New plugin which lets you use the IkiWiki CGI script as
- an Apache 404 handler, to give the behaviour of various other wiki
- engines where visiting a nonexistent page provides you with a link
- to create it. (smcv)
- * Factor out redundant code into [[plugins/goto]] plugin. (smcv)
- * Work around XML::Atom strangeness that results in double-encoded posts.
- (smcv)
- * Updated German translation (Kai Wasserbäch). Closes: #[514251](http://bugs.debian.org/514251)
- * Fix unusual --setup --post-commit command line option combo.
- * Create any missing directory necessary to put the wrapper
- file into. Closes: #[514384](http://bugs.debian.org/514384)
- * shortcut: If default\_pageext is set, first look for
- shortcuts.default\_pageext.
- * Allow comments, rename, remove, and attachment plugins to be used
- even if the editpage plugin is disabled."""]]
diff --git a/doc/news/version_3.05.mdwn b/doc/news/version_3.05.mdwn
new file mode 100644
index 000000000..8975aa913
--- /dev/null
+++ b/doc/news/version_3.05.mdwn
@@ -0,0 +1,15 @@
+ikiwiki 3.05 released with [[!toggle text="these changes"]]
+[[!toggleable text="""
+ * debhelper v7(.0.50); rules file minimisation.
+ * template: Load templates in scan mode.
+ This is potentially expensive, but is necessary so that meta and tag
+ directives, and other links on templates affect the page using the
+ template reliably.
+ * goto: Fix redirect to comments.
+ * Add noextension parameter to htmlize hooks to support, eg, Makefile.
+ * Add tagged() PageSpec.
+ * Updated German translation (Kai Wasserbäch). Closes: #[516770](http://bugs.debian.org/516770)
+ * Setup automator: Prompt for password twice. Closes: #[516973](http://bugs.debian.org/516973)
+ * bzr: Add missing rcs\_diff. (liw)
+ * comments: Avoid showing comment moderation button in prefs to non-admins.
+ * goto: Fix typo that broke recentchanges\_link compatibility."""]]
\ No newline at end of file
--
cgit v1.2.3
From 2695d224906d972dd21e063f666ff4007ef1b62e Mon Sep 17 00:00:00 2001
From: "http://zwol.livejournal.com/"
Date: Fri, 27 Feb 2009 18:56:25 -0500
Subject:
---
doc/todo/Allow_disabling_edit_and_preferences_links.mdwn | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/doc/todo/Allow_disabling_edit_and_preferences_links.mdwn b/doc/todo/Allow_disabling_edit_and_preferences_links.mdwn
index 1188d1ab2..4c2823cf2 100644
--- a/doc/todo/Allow_disabling_edit_and_preferences_links.mdwn
+++ b/doc/todo/Allow_disabling_edit_and_preferences_links.mdwn
@@ -46,3 +46,7 @@ Patch:
>> I do have the editpage plugin disabled for the public static wiki, but
>> the link still appears on the site. I want to keep the cgi on, so that
>> the site is still searchable. --[[puck]]
+
+>>> For me, disabling the editpage plugin does make the "Edit" link
+>>> disappear (this is with 3.03) but as far as I can tell, "Preferences"
+>>> is not controlled by any plugin. --[Zack](http://zwol.livejournal.com/)
--
cgit v1.2.3
From 0bd54afd98e57bfcca4360a0751a362e39d3e02a Mon Sep 17 00:00:00 2001
From: "http://zwol.livejournal.com/"
Date: Fri, 27 Feb 2009 18:57:48 -0500
Subject:
---
doc/todo/Allow_disabling_edit_and_preferences_links.mdwn | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/doc/todo/Allow_disabling_edit_and_preferences_links.mdwn b/doc/todo/Allow_disabling_edit_and_preferences_links.mdwn
index 4c2823cf2..a356c69df 100644
--- a/doc/todo/Allow_disabling_edit_and_preferences_links.mdwn
+++ b/doc/todo/Allow_disabling_edit_and_preferences_links.mdwn
@@ -49,4 +49,6 @@ Patch:
>>> For me, disabling the editpage plugin does make the "Edit" link
>>> disappear (this is with 3.03) but as far as I can tell, "Preferences"
->>> is not controlled by any plugin. --[Zack](http://zwol.livejournal.com/)
+>>> is not controlled by any plugin. It would be nice if it were; I am
+>>> trying to achieve a configuration where the only action supported
+>>> via CGI is blog-style comments. --[Zack](http://zwol.livejournal.com/)
--
cgit v1.2.3
From fb27b3b79b78612e5633f6bc1643bca518e27bcc Mon Sep 17 00:00:00 2001
From: "http://per.bothner.myopenid.com/"
Date: Sat, 28 Feb 2009 14:16:57 -0500
Subject: Add my blog.
---
doc/ikiwikiusers.mdwn | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/ikiwikiusers.mdwn b/doc/ikiwikiusers.mdwn
index b85157f99..bac65266f 100644
--- a/doc/ikiwikiusers.mdwn
+++ b/doc/ikiwikiusers.mdwn
@@ -114,6 +114,7 @@ Personal sites and blogs
[blog](http://smcv.pseudorandom.co.uk/)
* Svend's [website](http://www.ciffer.net/~svend/) and [blog](http://www.ciffer.net/~svend/blog/)
* [muammar's site](http://muammar.me)
+* [Per Bothner's blog](http://per.bothner.com/blog/)
Please feel free to add your own ikiwiki site!
--
cgit v1.2.3
From 2c30a32313fbf15e7cdb53f08ba22ed47336e05e Mon Sep 17 00:00:00 2001
From: bzed
Date: Sat, 28 Feb 2009 21:34:04 -0500
Subject: Adding bzed.de to ikiwikiusers
---
doc/ikiwikiusers.mdwn | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/ikiwikiusers.mdwn b/doc/ikiwikiusers.mdwn
index bac65266f..8dea61f6a 100644
--- a/doc/ikiwikiusers.mdwn
+++ b/doc/ikiwikiusers.mdwn
@@ -115,6 +115,7 @@ Personal sites and blogs
* Svend's [website](http://www.ciffer.net/~svend/) and [blog](http://www.ciffer.net/~svend/blog/)
* [muammar's site](http://muammar.me)
* [Per Bothner's blog](http://per.bothner.com/blog/)
+* [Bernd Zeimetz (bzed)](http://bzed.de/)
Please feel free to add your own ikiwiki site!
--
cgit v1.2.3
From 062f87ce3807155ff57bf316685f9bb500726867 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Sun, 1 Mar 2009 15:01:08 -0500
Subject: Setup automator: Fix bug in password comparison. Closes: #517654
---
IkiWiki/Setup/Automator.pm | 2 +-
debian/changelog | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/IkiWiki/Setup/Automator.pm b/IkiWiki/Setup/Automator.pm
index b63c8e245..7d9eca3af 100644
--- a/IkiWiki/Setup/Automator.pm
+++ b/IkiWiki/Setup/Automator.pm
@@ -120,7 +120,7 @@ sub import (@) {
print "Confirm password: ";
chomp($password2=);
- last if $password2 ne $password;
+ last if $password2 eq $password;
print "Password mismatch.\n\n";
}
diff --git a/debian/changelog b/debian/changelog
index 4e62b0971..82445e837 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ikiwiki (3.06) UNRELEASED; urgency=low
+
+ * Setup automator: Fix bug in password comparison. Closes: #517654
+
+ -- Joey Hess Sun, 01 Mar 2009 15:00:39 -0500
+
ikiwiki (3.05) unstable; urgency=low
* debhelper v7(.0.50); rules file minimisation.
--
cgit v1.2.3
From 8c26a1dd8b5bfe67e97d20bf59cd596b62bbf323 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Sun, 1 Mar 2009 15:11:11 -0500
Subject: releasing version 3.06
---
debian/changelog | 4 ++--
po/bg.po | 36 +++++++++++++++++++++---------------
po/cs.po | 36 +++++++++++++++++++++---------------
po/da.po | 36 +++++++++++++++++++++---------------
po/de.po | 26 ++++++++++++++++----------
po/es.po | 26 ++++++++++++++++----------
po/fr.po | 36 +++++++++++++++++++++---------------
po/gu.po | 36 +++++++++++++++++++++---------------
po/ikiwiki.pot | 26 ++++++++++++++++----------
po/pl.po | 36 +++++++++++++++++++++---------------
po/sv.po | 36 +++++++++++++++++++++---------------
po/vi.po | 36 +++++++++++++++++++++---------------
12 files changed, 218 insertions(+), 152 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 82445e837..c583d5e48 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,8 @@
-ikiwiki (3.06) UNRELEASED; urgency=low
+ikiwiki (3.06) unstable; urgency=low
* Setup automator: Fix bug in password comparison. Closes: #517654
- -- Joey Hess Sun, 01 Mar 2009 15:00:39 -0500
+ -- Joey Hess Sun, 01 Mar 2009 15:02:30 -0500
ikiwiki (3.05) unstable; urgency=low
diff --git a/po/bg.po b/po/bg.po
index 1084e5b45..c875f9bd4 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-02-14 03:04-0500\n"
+"POT-Creation-Date: 2009-03-01 15:03-0500\n"
"PO-Revision-Date: 2007-01-12 01:19+0200\n"
"Last-Translator: Damyan Ivanov \n"
"Language-Team: Bulgarian \n"
@@ -20,36 +20,42 @@ msgstr ""
msgid "You need to log in first."
msgstr "Първо трябва да влезете."
-#: ../IkiWiki/CGI.pm:145
+#: ../IkiWiki/CGI.pm:146
+msgid ""
+"probable misconfiguration: sslcookie is set, but you are attepting to login "
+"via http, not https"
+msgstr ""
+
+#: ../IkiWiki/CGI.pm:149
msgid "login failed, perhaps you need to turn on cookies?"
msgstr ""
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:294
+#: ../IkiWiki/CGI.pm:168 ../IkiWiki/CGI.pm:299
msgid "Your login session has expired."
msgstr ""
-#: ../IkiWiki/CGI.pm:184
+#: ../IkiWiki/CGI.pm:189
msgid "Login"
msgstr ""
-#: ../IkiWiki/CGI.pm:185
+#: ../IkiWiki/CGI.pm:190
#, fuzzy
msgid "Preferences"
msgstr "Предпочитанията са запазени."
-#: ../IkiWiki/CGI.pm:186
+#: ../IkiWiki/CGI.pm:191
msgid "Admin"
msgstr ""
-#: ../IkiWiki/CGI.pm:226
+#: ../IkiWiki/CGI.pm:231
msgid "Preferences saved."
msgstr "Предпочитанията са запазени."
-#: ../IkiWiki/CGI.pm:257
+#: ../IkiWiki/CGI.pm:262
msgid "You are banned."
msgstr "Достъпът ви е забранен."
-#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1204
+#: ../IkiWiki/CGI.pm:390 ../IkiWiki/CGI.pm:391 ../IkiWiki.pm:1209
msgid "Error"
msgstr "Грешка"
@@ -258,7 +264,7 @@ msgstr ""
msgid "comment moderation"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:750
+#: ../IkiWiki/Plugin/comments.pm:751
msgid "Comments"
msgstr ""
@@ -833,17 +839,17 @@ msgstr ""
msgid "parse fail at line %d: %s"
msgstr "грешка при запис на файла „%s”: %s"
-#: ../IkiWiki/Plugin/template.pm:28
+#: ../IkiWiki/Plugin/template.pm:29
#, fuzzy
msgid "missing id parameter"
msgstr "липсващ параметър „id” на шаблона"
-#: ../IkiWiki/Plugin/template.pm:35
+#: ../IkiWiki/Plugin/template.pm:36
#, perl-format
msgid "template %s not found"
msgstr "шаблонът „%s” не е намерен"
-#: ../IkiWiki/Plugin/template.pm:54
+#: ../IkiWiki/Plugin/template.pm:55
#, fuzzy
msgid "failed to process:"
msgstr "грешка при обработване на шаблона"
@@ -1049,12 +1055,12 @@ msgstr ""
msgid "failed to load external plugin needed for %s plugin: %s"
msgstr ""
-#: ../IkiWiki.pm:1187
+#: ../IkiWiki.pm:1192
#, fuzzy, perl-format
msgid "preprocessing loop detected on %s at depth %i"
msgstr "открита е циклична завидимост при %s на „%s” на дълбочина %i"
-#: ../IkiWiki.pm:1725
+#: ../IkiWiki.pm:1730
msgid "yes"
msgstr ""
diff --git a/po/cs.po b/po/cs.po
index 0af99ab03..519d170aa 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-02-14 03:04-0500\n"
+"POT-Creation-Date: 2009-03-01 15:03-0500\n"
"PO-Revision-Date: 2007-05-09 21:21+0200\n"
"Last-Translator: Miroslav Kure \n"
"Language-Team: Czech \n"
@@ -19,35 +19,41 @@ msgstr ""
msgid "You need to log in first."
msgstr "Nejprve se musíte přihlásit."
-#: ../IkiWiki/CGI.pm:145
+#: ../IkiWiki/CGI.pm:146
+msgid ""
+"probable misconfiguration: sslcookie is set, but you are attepting to login "
+"via http, not https"
+msgstr ""
+
+#: ../IkiWiki/CGI.pm:149
msgid "login failed, perhaps you need to turn on cookies?"
msgstr "přihlášení selhalo; možná si musíte povolit cookies?"
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:294
+#: ../IkiWiki/CGI.pm:168 ../IkiWiki/CGI.pm:299
msgid "Your login session has expired."
msgstr ""
-#: ../IkiWiki/CGI.pm:184
+#: ../IkiWiki/CGI.pm:189
msgid "Login"
msgstr "Přihlášení"
-#: ../IkiWiki/CGI.pm:185
+#: ../IkiWiki/CGI.pm:190
msgid "Preferences"
msgstr "Předvolby"
-#: ../IkiWiki/CGI.pm:186
+#: ../IkiWiki/CGI.pm:191
msgid "Admin"
msgstr "Správce"
-#: ../IkiWiki/CGI.pm:226
+#: ../IkiWiki/CGI.pm:231
msgid "Preferences saved."
msgstr "Nastavení uloženo."
-#: ../IkiWiki/CGI.pm:257
+#: ../IkiWiki/CGI.pm:262
msgid "You are banned."
msgstr "Jste vyhoštěni."
-#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1204
+#: ../IkiWiki/CGI.pm:390 ../IkiWiki/CGI.pm:391 ../IkiWiki.pm:1209
msgid "Error"
msgstr "Chyba"
@@ -255,7 +261,7 @@ msgstr ""
msgid "comment moderation"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:750
+#: ../IkiWiki/Plugin/comments.pm:751
msgid "Comments"
msgstr ""
@@ -815,16 +821,16 @@ msgstr "Stáhnout zdrojová data"
msgid "parse fail at line %d: %s"
msgstr "zpracovávání selhalo na řádku %d: %s"
-#: ../IkiWiki/Plugin/template.pm:28
+#: ../IkiWiki/Plugin/template.pm:29
msgid "missing id parameter"
msgstr "chybí parametr id"
-#: ../IkiWiki/Plugin/template.pm:35
+#: ../IkiWiki/Plugin/template.pm:36
#, perl-format
msgid "template %s not found"
msgstr "šablona %s nebyla nalezena"
-#: ../IkiWiki/Plugin/template.pm:54
+#: ../IkiWiki/Plugin/template.pm:55
msgid "failed to process:"
msgstr "nepodařilo se zpracovat:"
@@ -1029,12 +1035,12 @@ msgstr ""
msgid "failed to load external plugin needed for %s plugin: %s"
msgstr ""
-#: ../IkiWiki.pm:1187
+#: ../IkiWiki.pm:1192
#, fuzzy, perl-format
msgid "preprocessing loop detected on %s at depth %i"
msgstr "Byla rozpoznána smyčka direktivy %s na %s v hloubce %i"
-#: ../IkiWiki.pm:1725
+#: ../IkiWiki.pm:1730
msgid "yes"
msgstr ""
diff --git a/po/da.po b/po/da.po
index 425050a51..6139a0f23 100644
--- a/po/da.po
+++ b/po/da.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ikiwiki\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-02-14 03:04-0500\n"
+"POT-Creation-Date: 2009-03-01 15:03-0500\n"
"PO-Revision-Date: 2008-10-22 19:13+0100\n"
"Last-Translator: Jonas Smedegaard \n"
"Language-Team: None\n"
@@ -23,35 +23,41 @@ msgstr ""
msgid "You need to log in first."
msgstr "Du skal først logge på."
-#: ../IkiWiki/CGI.pm:145
+#: ../IkiWiki/CGI.pm:146
+msgid ""
+"probable misconfiguration: sslcookie is set, but you are attepting to login "
+"via http, not https"
+msgstr ""
+
+#: ../IkiWiki/CGI.pm:149
msgid "login failed, perhaps you need to turn on cookies?"
msgstr "Pålogning mislykkedes, måske skal du tillade infokager (cookies)?"
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:294
+#: ../IkiWiki/CGI.pm:168 ../IkiWiki/CGI.pm:299
msgid "Your login session has expired."
msgstr "Din kørsel (login session) er udløbet"
-#: ../IkiWiki/CGI.pm:184
+#: ../IkiWiki/CGI.pm:189
msgid "Login"
msgstr "Pålogning"
-#: ../IkiWiki/CGI.pm:185
+#: ../IkiWiki/CGI.pm:190
msgid "Preferences"
msgstr "Indstillinger"
-#: ../IkiWiki/CGI.pm:186
+#: ../IkiWiki/CGI.pm:191
msgid "Admin"
msgstr "Admin"
-#: ../IkiWiki/CGI.pm:226
+#: ../IkiWiki/CGI.pm:231
msgid "Preferences saved."
msgstr "Indstillinger gemt"
-#: ../IkiWiki/CGI.pm:257
+#: ../IkiWiki/CGI.pm:262
msgid "You are banned."
msgstr "Du er banlyst."
-#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1204
+#: ../IkiWiki/CGI.pm:390 ../IkiWiki/CGI.pm:391 ../IkiWiki.pm:1209
msgid "Error"
msgstr "Fejl"
@@ -258,7 +264,7 @@ msgstr ""
msgid "comment moderation"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:750
+#: ../IkiWiki/Plugin/comments.pm:751
msgid "Comments"
msgstr ""
@@ -810,16 +816,16 @@ msgstr "Direkte datanedlastning"
msgid "parse fail at line %d: %s"
msgstr "afkodningsfejl på linje %d: %s"
-#: ../IkiWiki/Plugin/template.pm:28
+#: ../IkiWiki/Plugin/template.pm:29
msgid "missing id parameter"
msgstr "manglende id-parameter"
-#: ../IkiWiki/Plugin/template.pm:35
+#: ../IkiWiki/Plugin/template.pm:36
#, perl-format
msgid "template %s not found"
msgstr "skabelon %s ikke fundet"
-#: ../IkiWiki/Plugin/template.pm:54
+#: ../IkiWiki/Plugin/template.pm:55
msgid "failed to process:"
msgstr "dannelsen mislykkedes:"
@@ -1028,12 +1034,12 @@ msgid "failed to load external plugin needed for %s plugin: %s"
msgstr ""
"indlæsning af ekstern udvidelse krævet af udvidelsen %s mislykkedes: %s"
-#: ../IkiWiki.pm:1187
+#: ../IkiWiki.pm:1192
#, perl-format
msgid "preprocessing loop detected on %s at depth %i"
msgstr "forudberegningssløkke fundet på %s ved dybde %i"
-#: ../IkiWiki.pm:1725
+#: ../IkiWiki.pm:1730
msgid "yes"
msgstr "ja"
diff --git a/po/de.po b/po/de.po
index 25ec8b5c0..9475c510f 100644
--- a/po/de.po
+++ b/po/de.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ikiwiki 3.04\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-02-24 16:31-0500\n"
+"POT-Creation-Date: 2009-03-01 15:03-0500\n"
"PO-Revision-Date: 2009-02-20 17:44+0100\n"
"Last-Translator: Kai Wasserbäch \n"
"Language-Team: German \n"
@@ -18,36 +18,42 @@ msgstr ""
msgid "You need to log in first."
msgstr "Sie müssen sich zuerst anmelden."
-#: ../IkiWiki/CGI.pm:145
+#: ../IkiWiki/CGI.pm:146
+msgid ""
+"probable misconfiguration: sslcookie is set, but you are attepting to login "
+"via http, not https"
+msgstr ""
+
+#: ../IkiWiki/CGI.pm:149
msgid "login failed, perhaps you need to turn on cookies?"
msgstr ""
"Anmeldung fehlgeschlagen, möglicherweise müssen Sie zuvor Cookies aktivieren?"
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:294
+#: ../IkiWiki/CGI.pm:168 ../IkiWiki/CGI.pm:299
msgid "Your login session has expired."
msgstr "Ihre Anmeldung für die aktuelle Sitzung ist abgelaufen."
-#: ../IkiWiki/CGI.pm:184
+#: ../IkiWiki/CGI.pm:189
msgid "Login"
msgstr "Anmelden"
-#: ../IkiWiki/CGI.pm:185
+#: ../IkiWiki/CGI.pm:190
msgid "Preferences"
msgstr "Einstellungen"
-#: ../IkiWiki/CGI.pm:186
+#: ../IkiWiki/CGI.pm:191
msgid "Admin"
msgstr "Administrator"
-#: ../IkiWiki/CGI.pm:226
+#: ../IkiWiki/CGI.pm:231
msgid "Preferences saved."
msgstr "Einstellungen gespeichert."
-#: ../IkiWiki/CGI.pm:257
+#: ../IkiWiki/CGI.pm:262
msgid "You are banned."
msgstr "Sie sind ausgeschlossen worden."
-#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1209
+#: ../IkiWiki/CGI.pm:390 ../IkiWiki/CGI.pm:391 ../IkiWiki.pm:1209
msgid "Error"
msgstr "Fehler"
@@ -258,7 +264,7 @@ msgstr "Kommentarmoderation"
msgid "comment moderation"
msgstr "Kommentarmoderation"
-#: ../IkiWiki/Plugin/comments.pm:750
+#: ../IkiWiki/Plugin/comments.pm:751
msgid "Comments"
msgstr "Kommentare"
diff --git a/po/es.po b/po/es.po
index e18f146d4..920ac6373 100644
--- a/po/es.po
+++ b/po/es.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: es\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-02-24 16:31-0500\n"
+"POT-Creation-Date: 2009-03-01 15:03-0500\n"
"PO-Revision-Date: 2009-02-16 10:22+0100\n"
"Last-Translator: Víctor Moral \n"
"Language-Team: spanish \n"
@@ -23,36 +23,42 @@ msgstr ""
msgid "You need to log in first."
msgstr "Antes es necesario identificarse."
-#: ../IkiWiki/CGI.pm:145
+#: ../IkiWiki/CGI.pm:146
+msgid ""
+"probable misconfiguration: sslcookie is set, but you are attepting to login "
+"via http, not https"
+msgstr ""
+
+#: ../IkiWiki/CGI.pm:149
msgid "login failed, perhaps you need to turn on cookies?"
msgstr ""
"registro fallido, ¿ tal vez necesita activar las cookies en el navegador ?"
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:294
+#: ../IkiWiki/CGI.pm:168 ../IkiWiki/CGI.pm:299
msgid "Your login session has expired."
msgstr "Su registro en el sistema ha expirado."
-#: ../IkiWiki/CGI.pm:184
+#: ../IkiWiki/CGI.pm:189
msgid "Login"
msgstr "Identificación"
-#: ../IkiWiki/CGI.pm:185
+#: ../IkiWiki/CGI.pm:190
msgid "Preferences"
msgstr "Preferencias"
-#: ../IkiWiki/CGI.pm:186
+#: ../IkiWiki/CGI.pm:191
msgid "Admin"
msgstr "Administración"
-#: ../IkiWiki/CGI.pm:226
+#: ../IkiWiki/CGI.pm:231
msgid "Preferences saved."
msgstr "Las preferencias se han guardado."
-#: ../IkiWiki/CGI.pm:257
+#: ../IkiWiki/CGI.pm:262
msgid "You are banned."
msgstr "Ha sido expulsado."
-#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1209
+#: ../IkiWiki/CGI.pm:390 ../IkiWiki/CGI.pm:391 ../IkiWiki.pm:1209
msgid "Error"
msgstr "Error"
@@ -261,7 +267,7 @@ msgstr "Aprobación de comentarios"
msgid "comment moderation"
msgstr "aprobación de comentarios"
-#: ../IkiWiki/Plugin/comments.pm:750
+#: ../IkiWiki/Plugin/comments.pm:751
msgid "Comments"
msgstr "Comentarios"
diff --git a/po/fr.po b/po/fr.po
index a9a9a009d..90bfb3db5 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ikiwiki 2.71 \n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-02-14 03:04-0500\n"
+"POT-Creation-Date: 2009-03-01 15:03-0500\n"
"PO-Revision-Date: 2008-12-29 17:57+0100\n"
"Last-Translator: Philippe Batailler \n"
"Language-Team: French \n"
@@ -21,35 +21,41 @@ msgstr ""
msgid "You need to log in first."
msgstr "Vous devez d'abord vous identifier."
-#: ../IkiWiki/CGI.pm:145
+#: ../IkiWiki/CGI.pm:146
+msgid ""
+"probable misconfiguration: sslcookie is set, but you are attepting to login "
+"via http, not https"
+msgstr ""
+
+#: ../IkiWiki/CGI.pm:149
msgid "login failed, perhaps you need to turn on cookies?"
msgstr "Échec de l'identification, vous devez autoriser les cookies."
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:294
+#: ../IkiWiki/CGI.pm:168 ../IkiWiki/CGI.pm:299
msgid "Your login session has expired."
msgstr "Session d'authentification expirée."
-#: ../IkiWiki/CGI.pm:184
+#: ../IkiWiki/CGI.pm:189
msgid "Login"
msgstr "S’identifier"
-#: ../IkiWiki/CGI.pm:185
+#: ../IkiWiki/CGI.pm:190
msgid "Preferences"
msgstr "Préférences"
-#: ../IkiWiki/CGI.pm:186
+#: ../IkiWiki/CGI.pm:191
msgid "Admin"
msgstr "Administrateur"
-#: ../IkiWiki/CGI.pm:226
+#: ../IkiWiki/CGI.pm:231
msgid "Preferences saved."
msgstr "Les préférences ont été enregistrées."
-#: ../IkiWiki/CGI.pm:257
+#: ../IkiWiki/CGI.pm:262
msgid "You are banned."
msgstr "Vous avez été banni."
-#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1204
+#: ../IkiWiki/CGI.pm:390 ../IkiWiki/CGI.pm:391 ../IkiWiki.pm:1209
msgid "Error"
msgstr "Erreur"
@@ -255,7 +261,7 @@ msgstr ""
msgid "comment moderation"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:750
+#: ../IkiWiki/Plugin/comments.pm:751
msgid "Comments"
msgstr "Commentaires"
@@ -811,16 +817,16 @@ msgstr "Téléchargement direct des données"
msgid "parse fail at line %d: %s"
msgstr "Erreur d'analyse à la ligne %d : %s"
-#: ../IkiWiki/Plugin/template.pm:28
+#: ../IkiWiki/Plugin/template.pm:29
msgid "missing id parameter"
msgstr "Paramètre d'identification manquant"
-#: ../IkiWiki/Plugin/template.pm:35
+#: ../IkiWiki/Plugin/template.pm:36
#, perl-format
msgid "template %s not found"
msgstr "Modèle de page %s introuvable"
-#: ../IkiWiki/Plugin/template.pm:54
+#: ../IkiWiki/Plugin/template.pm:55
msgid "failed to process:"
msgstr "Échec du traitement :"
@@ -1034,12 +1040,12 @@ msgstr "Impossible d'utiliser plusieurs systèmes de contrôle des versions"
msgid "failed to load external plugin needed for %s plugin: %s"
msgstr "Impossible de charger le greffon externe nécessaire au greffon %s : %s"
-#: ../IkiWiki.pm:1187
+#: ../IkiWiki.pm:1192
#, perl-format
msgid "preprocessing loop detected on %s at depth %i"
msgstr "Une boucle de pré traitement a été détectée sur %s à hauteur de %i"
-#: ../IkiWiki.pm:1725
+#: ../IkiWiki.pm:1730
msgid "yes"
msgstr "oui"
diff --git a/po/gu.po b/po/gu.po
index c478f3ab3..eb7bdcee0 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-02-14 03:04-0500\n"
+"POT-Creation-Date: 2009-03-01 15:03-0500\n"
"PO-Revision-Date: 2007-01-11 16:05+0530\n"
"Last-Translator: Kartik Mistry \n"
"Language-Team: Gujarati \n"
@@ -19,36 +19,42 @@ msgstr ""
msgid "You need to log in first."
msgstr "તમારે પ્રથમ લોગ ઇન થવું પડશે."
-#: ../IkiWiki/CGI.pm:145
+#: ../IkiWiki/CGI.pm:146
+msgid ""
+"probable misconfiguration: sslcookie is set, but you are attepting to login "
+"via http, not https"
+msgstr ""
+
+#: ../IkiWiki/CGI.pm:149
msgid "login failed, perhaps you need to turn on cookies?"
msgstr "પ્રવેશ નિષ્ફળ, કદાચ તમારી કુકીઓ સક્રિય બનાવવી પડશે?"
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:294
+#: ../IkiWiki/CGI.pm:168 ../IkiWiki/CGI.pm:299
msgid "Your login session has expired."
msgstr ""
-#: ../IkiWiki/CGI.pm:184
+#: ../IkiWiki/CGI.pm:189
msgid "Login"
msgstr ""
-#: ../IkiWiki/CGI.pm:185
+#: ../IkiWiki/CGI.pm:190
#, fuzzy
msgid "Preferences"
msgstr "પ્રાથમિકતાઓ સંગ્રહાઇ."
-#: ../IkiWiki/CGI.pm:186
+#: ../IkiWiki/CGI.pm:191
msgid "Admin"
msgstr ""
-#: ../IkiWiki/CGI.pm:226
+#: ../IkiWiki/CGI.pm:231
msgid "Preferences saved."
msgstr "પ્રાથમિકતાઓ સંગ્રહાઇ."
-#: ../IkiWiki/CGI.pm:257
+#: ../IkiWiki/CGI.pm:262
msgid "You are banned."
msgstr "તમારા પર પ્રતિબંધ છે."
-#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1204
+#: ../IkiWiki/CGI.pm:390 ../IkiWiki/CGI.pm:391 ../IkiWiki.pm:1209
msgid "Error"
msgstr "ક્ષતિ"
@@ -256,7 +262,7 @@ msgstr ""
msgid "comment moderation"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:750
+#: ../IkiWiki/Plugin/comments.pm:751
msgid "Comments"
msgstr ""
@@ -816,16 +822,16 @@ msgstr "સીધી માહિતી ડાઉનલોડ"
msgid "parse fail at line %d: %s"
msgstr "ઉકેલવાનું લીટી %d પર નિષ્ફળ: %s"
-#: ../IkiWiki/Plugin/template.pm:28
+#: ../IkiWiki/Plugin/template.pm:29
msgid "missing id parameter"
msgstr "ખોવાયેલ આઇડી વિકલ્પ"
-#: ../IkiWiki/Plugin/template.pm:35
+#: ../IkiWiki/Plugin/template.pm:36
#, perl-format
msgid "template %s not found"
msgstr "ટેમ્પલેટ %s મળ્યું નહી"
-#: ../IkiWiki/Plugin/template.pm:54
+#: ../IkiWiki/Plugin/template.pm:55
msgid "failed to process:"
msgstr "ક્રિયા કરવામાં નિષ્ફળ:"
@@ -1029,12 +1035,12 @@ msgstr ""
msgid "failed to load external plugin needed for %s plugin: %s"
msgstr ""
-#: ../IkiWiki.pm:1187
+#: ../IkiWiki.pm:1192
#, fuzzy, perl-format
msgid "preprocessing loop detected on %s at depth %i"
msgstr "%s પર શોધાયેલ લુપ %s પર ચલાવે છે %i ઉંડાણ પર"
-#: ../IkiWiki.pm:1725
+#: ../IkiWiki.pm:1730
msgid "yes"
msgstr ""
diff --git a/po/ikiwiki.pot b/po/ikiwiki.pot
index 4ef0c23d1..519417902 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-02-24 16:31-0500\n"
+"POT-Creation-Date: 2009-03-01 15:03-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -20,35 +20,41 @@ msgstr ""
msgid "You need to log in first."
msgstr ""
-#: ../IkiWiki/CGI.pm:145
+#: ../IkiWiki/CGI.pm:146
+msgid ""
+"probable misconfiguration: sslcookie is set, but you are attepting to login "
+"via http, not https"
+msgstr ""
+
+#: ../IkiWiki/CGI.pm:149
msgid "login failed, perhaps you need to turn on cookies?"
msgstr ""
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:294
+#: ../IkiWiki/CGI.pm:168 ../IkiWiki/CGI.pm:299
msgid "Your login session has expired."
msgstr ""
-#: ../IkiWiki/CGI.pm:184
+#: ../IkiWiki/CGI.pm:189
msgid "Login"
msgstr ""
-#: ../IkiWiki/CGI.pm:185
+#: ../IkiWiki/CGI.pm:190
msgid "Preferences"
msgstr ""
-#: ../IkiWiki/CGI.pm:186
+#: ../IkiWiki/CGI.pm:191
msgid "Admin"
msgstr ""
-#: ../IkiWiki/CGI.pm:226
+#: ../IkiWiki/CGI.pm:231
msgid "Preferences saved."
msgstr ""
-#: ../IkiWiki/CGI.pm:257
+#: ../IkiWiki/CGI.pm:262
msgid "You are banned."
msgstr ""
-#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1209
+#: ../IkiWiki/CGI.pm:390 ../IkiWiki/CGI.pm:391 ../IkiWiki.pm:1209
msgid "Error"
msgstr ""
@@ -254,7 +260,7 @@ msgstr ""
msgid "comment moderation"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:750
+#: ../IkiWiki/Plugin/comments.pm:751
msgid "Comments"
msgstr ""
diff --git a/po/pl.po b/po/pl.po
index ee3ac8f5d..27641e3be 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-02-14 03:04-0500\n"
+"POT-Creation-Date: 2009-03-01 15:03-0500\n"
"PO-Revision-Date: 2007-04-27 22:05+0200\n"
"Last-Translator: Pawel Tecza \n"
"Language-Team: Debian L10n Polish \n"
@@ -20,38 +20,44 @@ msgstr ""
msgid "You need to log in first."
msgstr "Proszę najpierw zalogować się."
-#: ../IkiWiki/CGI.pm:145
+#: ../IkiWiki/CGI.pm:146
+msgid ""
+"probable misconfiguration: sslcookie is set, but you are attepting to login "
+"via http, not https"
+msgstr ""
+
+#: ../IkiWiki/CGI.pm:149
msgid "login failed, perhaps you need to turn on cookies?"
msgstr ""
"Nieudane logowanie. Proszę sprawdzić czy w przeglądarce włączone są "
"ciasteczka (ang. cookies)"
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:294
+#: ../IkiWiki/CGI.pm:168 ../IkiWiki/CGI.pm:299
msgid "Your login session has expired."
msgstr ""
-#: ../IkiWiki/CGI.pm:184
+#: ../IkiWiki/CGI.pm:189
msgid "Login"
msgstr ""
-#: ../IkiWiki/CGI.pm:185
+#: ../IkiWiki/CGI.pm:190
#, fuzzy
msgid "Preferences"
msgstr "Preferencje zapisane."
-#: ../IkiWiki/CGI.pm:186
+#: ../IkiWiki/CGI.pm:191
msgid "Admin"
msgstr ""
-#: ../IkiWiki/CGI.pm:226
+#: ../IkiWiki/CGI.pm:231
msgid "Preferences saved."
msgstr "Preferencje zapisane."
-#: ../IkiWiki/CGI.pm:257
+#: ../IkiWiki/CGI.pm:262
msgid "You are banned."
msgstr "Twój dostęp został zabroniony przez administratora."
-#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1204
+#: ../IkiWiki/CGI.pm:390 ../IkiWiki/CGI.pm:391 ../IkiWiki.pm:1209
msgid "Error"
msgstr "Błąd"
@@ -260,7 +266,7 @@ msgstr ""
msgid "comment moderation"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:750
+#: ../IkiWiki/Plugin/comments.pm:751
msgid "Comments"
msgstr ""
@@ -838,17 +844,17 @@ msgstr "Bezpośrednie pobieranie danych"
msgid "parse fail at line %d: %s"
msgstr "awaria w trakcie przetwarzania linii %d: %s"
-#: ../IkiWiki/Plugin/template.pm:28
+#: ../IkiWiki/Plugin/template.pm:29
#, fuzzy
msgid "missing id parameter"
msgstr "brakujący parametr id"
-#: ../IkiWiki/Plugin/template.pm:35
+#: ../IkiWiki/Plugin/template.pm:36
#, perl-format
msgid "template %s not found"
msgstr "nieznaleziony szablon %s"
-#: ../IkiWiki/Plugin/template.pm:54
+#: ../IkiWiki/Plugin/template.pm:55
#, fuzzy
msgid "failed to process:"
msgstr "awaria w trakcie przetwarzania:"
@@ -1055,12 +1061,12 @@ msgstr ""
msgid "failed to load external plugin needed for %s plugin: %s"
msgstr ""
-#: ../IkiWiki.pm:1187
+#: ../IkiWiki.pm:1192
#, fuzzy, perl-format
msgid "preprocessing loop detected on %s at depth %i"
msgstr "polecenie preprocesora %s wykryte w %s na głębokości %i"
-#: ../IkiWiki.pm:1725
+#: ../IkiWiki.pm:1730
msgid "yes"
msgstr ""
diff --git a/po/sv.po b/po/sv.po
index a2b121423..5a545bbc2 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-02-14 03:04-0500\n"
+"POT-Creation-Date: 2009-03-01 15:03-0500\n"
"PO-Revision-Date: 2007-01-10 23:47+0100\n"
"Last-Translator: Daniel Nylander \n"
"Language-Team: Swedish \n"
@@ -19,36 +19,42 @@ msgstr ""
msgid "You need to log in first."
msgstr "Du måste logga in först."
-#: ../IkiWiki/CGI.pm:145
+#: ../IkiWiki/CGI.pm:146
+msgid ""
+"probable misconfiguration: sslcookie is set, but you are attepting to login "
+"via http, not https"
+msgstr ""
+
+#: ../IkiWiki/CGI.pm:149
msgid "login failed, perhaps you need to turn on cookies?"
msgstr ""
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:294
+#: ../IkiWiki/CGI.pm:168 ../IkiWiki/CGI.pm:299
msgid "Your login session has expired."
msgstr ""
-#: ../IkiWiki/CGI.pm:184
+#: ../IkiWiki/CGI.pm:189
msgid "Login"
msgstr ""
-#: ../IkiWiki/CGI.pm:185
+#: ../IkiWiki/CGI.pm:190
#, fuzzy
msgid "Preferences"
msgstr "Inställningar sparades."
-#: ../IkiWiki/CGI.pm:186
+#: ../IkiWiki/CGI.pm:191
msgid "Admin"
msgstr ""
-#: ../IkiWiki/CGI.pm:226
+#: ../IkiWiki/CGI.pm:231
msgid "Preferences saved."
msgstr "Inställningar sparades."
-#: ../IkiWiki/CGI.pm:257
+#: ../IkiWiki/CGI.pm:262
msgid "You are banned."
msgstr "Du är bannlyst."
-#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1204
+#: ../IkiWiki/CGI.pm:390 ../IkiWiki/CGI.pm:391 ../IkiWiki.pm:1209
msgid "Error"
msgstr "Fel"
@@ -257,7 +263,7 @@ msgstr ""
msgid "comment moderation"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:750
+#: ../IkiWiki/Plugin/comments.pm:751
msgid "Comments"
msgstr ""
@@ -828,17 +834,17 @@ msgstr ""
msgid "parse fail at line %d: %s"
msgstr "misslyckades med att skriva %s: %s"
-#: ../IkiWiki/Plugin/template.pm:28
+#: ../IkiWiki/Plugin/template.pm:29
#, fuzzy
msgid "missing id parameter"
msgstr "mall saknar id-parameter"
-#: ../IkiWiki/Plugin/template.pm:35
+#: ../IkiWiki/Plugin/template.pm:36
#, perl-format
msgid "template %s not found"
msgstr "mallen %s hittades inte"
-#: ../IkiWiki/Plugin/template.pm:54
+#: ../IkiWiki/Plugin/template.pm:55
#, fuzzy
msgid "failed to process:"
msgstr "misslyckades med att behandla mall:"
@@ -1042,12 +1048,12 @@ msgstr ""
msgid "failed to load external plugin needed for %s plugin: %s"
msgstr ""
-#: ../IkiWiki.pm:1187
+#: ../IkiWiki.pm:1192
#, fuzzy, perl-format
msgid "preprocessing loop detected on %s at depth %i"
msgstr "%s förbehandlingsslinga detekterades på %s, djup %i"
-#: ../IkiWiki.pm:1725
+#: ../IkiWiki.pm:1730
msgid "yes"
msgstr ""
diff --git a/po/vi.po b/po/vi.po
index d7ea90473..0ea8a0360 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-02-14 03:04-0500\n"
+"POT-Creation-Date: 2009-03-01 15:03-0500\n"
"PO-Revision-Date: 2007-01-13 15:31+1030\n"
"Last-Translator: Clytie Siddall \n"
"Language-Team: Vietnamese \n"
@@ -20,36 +20,42 @@ msgstr ""
msgid "You need to log in first."
msgstr "Trước tiên bạn cần phải đăng nhập."
-#: ../IkiWiki/CGI.pm:145
+#: ../IkiWiki/CGI.pm:146
+msgid ""
+"probable misconfiguration: sslcookie is set, but you are attepting to login "
+"via http, not https"
+msgstr ""
+
+#: ../IkiWiki/CGI.pm:149
msgid "login failed, perhaps you need to turn on cookies?"
msgstr ""
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/CGI.pm:294
+#: ../IkiWiki/CGI.pm:168 ../IkiWiki/CGI.pm:299
msgid "Your login session has expired."
msgstr ""
-#: ../IkiWiki/CGI.pm:184
+#: ../IkiWiki/CGI.pm:189
msgid "Login"
msgstr ""
-#: ../IkiWiki/CGI.pm:185
+#: ../IkiWiki/CGI.pm:190
#, fuzzy
msgid "Preferences"
msgstr "Tùy thích đã được lưu."
-#: ../IkiWiki/CGI.pm:186
+#: ../IkiWiki/CGI.pm:191
msgid "Admin"
msgstr ""
-#: ../IkiWiki/CGI.pm:226
+#: ../IkiWiki/CGI.pm:231
msgid "Preferences saved."
msgstr "Tùy thích đã được lưu."
-#: ../IkiWiki/CGI.pm:257
+#: ../IkiWiki/CGI.pm:262
msgid "You are banned."
msgstr "Bạn bị cấm ra."
-#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1204
+#: ../IkiWiki/CGI.pm:390 ../IkiWiki/CGI.pm:391 ../IkiWiki.pm:1209
msgid "Error"
msgstr "Lỗi"
@@ -258,7 +264,7 @@ msgstr ""
msgid "comment moderation"
msgstr ""
-#: ../IkiWiki/Plugin/comments.pm:750
+#: ../IkiWiki/Plugin/comments.pm:751
msgid "Comments"
msgstr ""
@@ -829,17 +835,17 @@ msgstr ""
msgid "parse fail at line %d: %s"
msgstr "lỗi ghi %s: %s"
-#: ../IkiWiki/Plugin/template.pm:28
+#: ../IkiWiki/Plugin/template.pm:29
#, fuzzy
msgid "missing id parameter"
msgstr "mẫu thiếu tham số id"
-#: ../IkiWiki/Plugin/template.pm:35
+#: ../IkiWiki/Plugin/template.pm:36
#, perl-format
msgid "template %s not found"
msgstr "không tìm thấy mẫu %s"
-#: ../IkiWiki/Plugin/template.pm:54
+#: ../IkiWiki/Plugin/template.pm:55
#, fuzzy
msgid "failed to process:"
msgstr "mẫu không xử lý được:"
@@ -1043,12 +1049,12 @@ msgstr ""
msgid "failed to load external plugin needed for %s plugin: %s"
msgstr ""
-#: ../IkiWiki.pm:1187
+#: ../IkiWiki.pm:1192
#, fuzzy, perl-format
msgid "preprocessing loop detected on %s at depth %i"
msgstr "vòng lặp tiền xử lý %s được phát hiện trên %s ở độ sâu %i"
-#: ../IkiWiki.pm:1725
+#: ../IkiWiki.pm:1730
msgid "yes"
msgstr ""
--
cgit v1.2.3
From a5f4159717cb3be79043a280573c82ccbda26b61 Mon Sep 17 00:00:00 2001
From: Joey Hess
Date: Sun, 1 Mar 2009 15:11:40 -0500
Subject: add news item for ikiwiki 3.06
---
doc/news/version_3.05.mdwn | 15 ---------------
doc/news/version_3.06.mdwn | 3 +++
2 files changed, 3 insertions(+), 15 deletions(-)
delete mode 100644 doc/news/version_3.05.mdwn
create mode 100644 doc/news/version_3.06.mdwn
diff --git a/doc/news/version_3.05.mdwn b/doc/news/version_3.05.mdwn
deleted file mode 100644
index 8975aa913..000000000
--- a/doc/news/version_3.05.mdwn
+++ /dev/null
@@ -1,15 +0,0 @@
-ikiwiki 3.05 released with [[!toggle text="these changes"]]
-[[!toggleable text="""
- * debhelper v7(.0.50); rules file minimisation.
- * template: Load templates in scan mode.
- This is potentially expensive, but is necessary so that meta and tag
- directives, and other links on templates affect the page using the
- template reliably.
- * goto: Fix redirect to comments.
- * Add noextension parameter to htmlize hooks to support, eg, Makefile.
- * Add tagged() PageSpec.
- * Updated German translation (Kai Wasserbäch). Closes: #[516770](http://bugs.debian.org/516770)
- * Setup automator: Prompt for password twice. Closes: #[516973](http://bugs.debian.org/516973)
- * bzr: Add missing rcs\_diff. (liw)
- * comments: Avoid showing comment moderation button in prefs to non-admins.
- * goto: Fix typo that broke recentchanges\_link compatibility."""]]
\ No newline at end of file
diff --git a/doc/news/version_3.06.mdwn b/doc/news/version_3.06.mdwn
new file mode 100644
index 000000000..0e2a48fe6
--- /dev/null
+++ b/doc/news/version_3.06.mdwn
@@ -0,0 +1,3 @@
+ikiwiki 3.06 released with [[!toggle text="these changes"]]
+[[!toggleable text="""
+ * Setup automator: Fix bug in password comparison. Closes: #[517654](http://bugs.debian.org/517654)"""]]
\ No newline at end of file
--
cgit v1.2.3
From b3be09766bc5a116b8b31442b6431bca85c09631 Mon Sep 17 00:00:00 2001
From: "http://electropo.mp/"
Date: Mon, 2 Mar 2009 18:39:02 -0500
Subject:
---
doc/examples/softwaresite/index.mdwn | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/examples/softwaresite/index.mdwn b/doc/examples/softwaresite/index.mdwn
index e2d180d1f..e03a969a0 100644
--- a/doc/examples/softwaresite/index.mdwn
+++ b/doc/examples/softwaresite/index.mdwn
@@ -1,7 +1,7 @@
FooBar is an amazing example program that does not exist. Use it for all
your example program needs. This is its wiki.
-* [[download]]
+* **[[download]]**
* [[news]]
* [[documentation|doc]]
* [[bugs]]
--
cgit v1.2.3
From 89bfa1e392bc03f8e9f5b27d63ff420315690fca Mon Sep 17 00:00:00 2001
From: Víctor Moral
Date: Tue, 3 Mar 2009 10:53:09 +0100
Subject: updated spanish translation
---
po/es.po | 23 +++++++++--------------
1 file changed, 9 insertions(+), 14 deletions(-)
diff --git a/po/es.po b/po/es.po
index 920ac6373..abd44ee32 100644
--- a/po/es.po
+++ b/po/es.po
@@ -11,7 +11,7 @@ msgstr ""
"Project-Id-Version: es\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-03-01 15:03-0500\n"
-"PO-Revision-Date: 2009-02-16 10:22+0100\n"
+"PO-Revision-Date: 2009-03-03 10:48+0100\n"
"Last-Translator: Víctor Moral \n"
"Language-Team: spanish \n"
"MIME-Version: 1.0\n"
@@ -27,12 +27,11 @@ msgstr "Antes es necesario identificarse."
msgid ""
"probable misconfiguration: sslcookie is set, but you are attepting to login "
"via http, not https"
-msgstr ""
+msgstr "probablemente algo está mal configurado: la característica 'sslcookie' está activa, pero está intentando registrarse en el sistema vía el protocolo 'http' y no 'https'"
#: ../IkiWiki/CGI.pm:149
msgid "login failed, perhaps you need to turn on cookies?"
-msgstr ""
-"registro fallido, ¿ tal vez necesita activar las cookies en el navegador ?"
+msgstr "registro fallido, ¿ tal vez necesita activar las cookies en el navegador ?"
#: ../IkiWiki/CGI.pm:168 ../IkiWiki/CGI.pm:299
msgid "Your login session has expired."
@@ -68,8 +67,7 @@ msgstr "Contenido añadido activado vía web."
#: ../IkiWiki/Plugin/aggregate.pm:93
msgid "Nothing to do right now, all feeds are up-to-date!"
-msgstr ""
-"¡ No hay nada que hacer, todas las fuentes de noticias están actualizadas !"
+msgstr "¡ No hay nada que hacer, todas las fuentes de noticias están actualizadas !"
#: ../IkiWiki/Plugin/aggregate.pm:220
#, perl-format
@@ -358,8 +356,7 @@ msgstr ""
#: ../IkiWiki/Plugin/google.pm:31
msgid "Failed to parse url, cannot determine domain name"
-msgstr ""
-"Error en el análisis del URL, no puedo determinar el nombre del dominio"
+msgstr "Error en el análisis del URL, no puedo determinar el nombre del dominio"
#: ../IkiWiki/Plugin/goto.pm:49
msgid "missing page"
@@ -450,8 +447,7 @@ msgstr "La página %s está bloqueada y no puede modificarse"
#: ../IkiWiki/Plugin/mdwn.pm:44
msgid "multimarkdown is enabled, but Text::MultiMarkdown is not installed"
-msgstr ""
-"el modo multimarkdown está activo, pero no está instalado Text::MultiMarkdown"
+msgstr "el modo multimarkdown está activo, pero no está instalado Text::MultiMarkdown"
#: ../IkiWiki/Plugin/mdwn.pm:67
#, perl-format
@@ -873,8 +869,7 @@ msgid "plugins"
msgstr "complementos"
#: ../IkiWiki/Plugin/websetup.pm:395
-msgid ""
-"The configuration changes shown below require a wiki rebuild to take effect."
+msgid "The configuration changes shown below require a wiki rebuild to take effect."
msgstr ""
"Los cambios en la configuración que se muestran más abajo precisan una "
"reconstrucción del wiki para tener efecto."
@@ -990,8 +985,7 @@ msgstr "el programa %s no parece ser ejecutable"
#: ../IkiWiki/Wrapper.pm:20
msgid "cannot create a wrapper that uses a setup file"
-msgstr ""
-"no puedo crear un programa envoltorio que utiliza un archivo de configuración"
+msgstr "no puedo crear un programa envoltorio que utiliza un archivo de configuración"
#: ../IkiWiki/Wrapper.pm:24
msgid "wrapper filename not specified"
@@ -1080,3 +1074,4 @@ msgstr ""
#: ../auto.setup:23
msgid "What is the domain name of the web server?"
msgstr "¿ Cuál es el dominio para el servidor web ?"
+
--
cgit v1.2.3
From 2907bec3e6ebeb99c80985cf48fb5db45eee81bc Mon Sep 17 00:00:00 2001
From: "http://sarin.myopenid.com/"
Date: Tue, 3 Mar 2009 21:52:36 -0500
Subject:
---
doc/setup/discussion.mdwn | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/doc/setup/discussion.mdwn b/doc/setup/discussion.mdwn
index 3ec123eb5..78da1a0f2 100644
--- a/doc/setup/discussion.mdwn
+++ b/doc/setup/discussion.mdwn
@@ -149,3 +149,7 @@ But I don't get an edit link on my pages? What am I doing wrong?
> Assuming you don't have the editpage plugin disabled, all you should need
> to so is re-run `ikiwiki -setup` with the above config and it should
> rebuild your wiki and add the edit links to pages. --[[Joey]]
+
+----
+
+I setup ikiwiki on a fedora 10 machine and I am using apache as my http server. Faced a few difficulties while setting it up as the default setup program left some suid files and group writeable directories on the system. It took some time to get it working and documented what I did at http://flyingtux.blogspot.com/2009/03/installing-ikiwiki.html. Thought it might be useful to someone here. (The version installed is 2.72)
--
cgit v1.2.3
From 2d6bbdcf3f0878a870ce63a02f38eb8b95f0932e Mon Sep 17 00:00:00 2001
From: PaulePanter