From e34011afcc4c0fe550a673d5629eb8be78b4fe4a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 9 May 2008 16:46:40 -0400 Subject: web commit by buo: Response --- doc/bugs/2.45_Compilation_error.mdwn | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'doc') diff --git a/doc/bugs/2.45_Compilation_error.mdwn b/doc/bugs/2.45_Compilation_error.mdwn index 82dbc3e45..38026488f 100644 --- a/doc/bugs/2.45_Compilation_error.mdwn +++ b/doc/bugs/2.45_Compilation_error.mdwn @@ -40,4 +40,28 @@ I have perl 5.10.0. Ikiwiki 2.44 compiles fine. Compiling 2.45 fails after 'make >>>>> This is how perl finds IkiWiki.pm here. Note that I've run "make" first. +OK, this is what I'm getting: + + $ perl -Iblib/lib -V + @INC: + blib/lib + /usr/lib/perl5/site_perl/5.10.0 + /usr/share/perl5/site_perl/5.10.0 + /usr/lib/perl5/vendor_perl + /usr/share/perl5/vendor_perl + /usr/share/perl5/vendor_perl + /usr/lib/perl5/core_perl + /usr/share/perl5/core_perl + /usr/lib/perl5/current + /usr/lib/perl5/site_perl/current + +I ran the following in my current 2.45 source dir, where the `make` already succeded. If you need it, I can post the output +in the case where `make` fails. + + $ strace perl -Iblib/lib -e 'use IkiWiki' 2>&1 |grep IkiWiki.pm + stat64("blib/lib/IkiWiki.pmc", 0xbfa6167c) = -1 ENOENT (No such file or directory) + stat64("blib/lib/IkiWiki.pm", {st_mode=S_IFREG|0444, st_size=31901, ...}) = 0 + open("blib/lib/IkiWiki.pm", O_RDONLY|O_LARGEFILE) = 3 + + [[done]] -- cgit v1.2.3 From ae980bc47108e80707b614e9ff94d1e8a836a309 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 10 May 2008 09:28:14 -0400 Subject: web commit by http://madduck.net/: add shortcut for wiki.debian.org --- doc/shortcuts.mdwn | 1 + 1 file changed, 1 insertion(+) (limited to 'doc') diff --git a/doc/shortcuts.mdwn b/doc/shortcuts.mdwn index 401de1bf5..037c31ee6 100644 --- a/doc/shortcuts.mdwn +++ b/doc/shortcuts.mdwn @@ -27,6 +27,7 @@ This page controls what shortcut links the wiki supports. * [[!shortcut name=debrt url="https://rt.debian.org/Ticket/Display.html?id=%s"]] * [[!shortcut name=debss url="http://snapshot.debian.net/package/%s"]] * Usage: `\[[!debss package]]`, `\[[!debss package#version]]`, or `\[[!debss package/version]]`. See http://snapshot.debian.net for details. + [[!shortcut name=debwiki url="http://wiki.debian.org/%s"]] * [[!shortcut name=fdobug url="https://bugs.freedesktop.org/show_bug.cgi?id=%s" desc="freedesktop.org bug #%s"]] * [[!shortcut name=fdolist url="http://lists.freedesktop.org/mailman/listinfo/%s" desc="%s@lists.freedesktop.org"]] * [[!shortcut name=gnomebug url="http://bugzilla.gnome.org/show_bug.cgi?id=%s" desc="GNOME bug #%s"]] -- cgit v1.2.3 From 8dc18fc9d401faca9b066d25d1a893528c9cacaa Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 10 May 2008 13:18:26 -0400 Subject: web commit by http://madduck.net/ --- doc/todo/more_customisable_titlepage_function.mdwn | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/todo/more_customisable_titlepage_function.mdwn (limited to 'doc') diff --git a/doc/todo/more_customisable_titlepage_function.mdwn b/doc/todo/more_customisable_titlepage_function.mdwn new file mode 100644 index 000000000..46f7f6a2a --- /dev/null +++ b/doc/todo/more_customisable_titlepage_function.mdwn @@ -0,0 +1,11 @@ +I understand the `IkiWiki::titlepage` function is used to generate filenames from titles. It would be nice if there were an easier way to override what it does. I suppose I could write an *external* plugin and call `inject`, but maybe this could instead be done via the configuration file? + +I imagine two things: a lookup hash and a template. + +Since `IkiWiki::titlepage` basically translates characters, it would be cool to be able to define a lookup hash in the configuration, which would be consulted before falling back to the generic `__xx__` `ord()` representation of a letter. For instance, in German, I might prefer to have 'ä' become 'ae' instead of something illegible. + +Second, maybe a template could be honoured. The template could have a slot `%s` where the calculated title goes, and it could contain `strftime` symbols as well as variables, which get interpolated on use. + +-- [[madduck]] + +[[wishlist]] -- cgit v1.2.3 From 345c707921de3d86081b7b8362266bdee4414086 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 10 May 2008 14:15:23 -0400 Subject: web commit by http://madduck.net/ --- doc/todo/more_customisable_titlepage_function.mdwn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/todo/more_customisable_titlepage_function.mdwn b/doc/todo/more_customisable_titlepage_function.mdwn index 46f7f6a2a..eb1d62448 100644 --- a/doc/todo/more_customisable_titlepage_function.mdwn +++ b/doc/todo/more_customisable_titlepage_function.mdwn @@ -2,10 +2,12 @@ I understand the `IkiWiki::titlepage` function is used to generate filenames fro I imagine two things: a lookup hash and a template. -Since `IkiWiki::titlepage` basically translates characters, it would be cool to be able to define a lookup hash in the configuration, which would be consulted before falling back to the generic `__xx__` `ord()` representation of a letter. For instance, in German, I might prefer to have 'ä' become 'ae' instead of something illegible. +Since `IkiWiki::titlepage` basically translates characters, it would be cool to be able to define a lookup hash in the configuration, which would be consulted before falling back to the generic `__xx__` `ord()` representation of a letter. For instance, in German, I might prefer to have 'ä' become 'ae' instead of something illegible. Second, maybe a template could be honoured. The template could have a slot `%s` where the calculated title goes, and it could contain `strftime` symbols as well as variables, which get interpolated on use. +Another option would be a function I could define in the setup file, or an external script, though that would be pretty expensive. + -- [[madduck]] [[wishlist]] -- cgit v1.2.3 From 7a4a17f120861d7620b8c872b78dc6c9f1f5ca87 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 11 May 2008 08:14:13 -0400 Subject: web commit by http://liw.fi/: Updated URL for emacs markdown mode. The page had moved to a new location. --- doc/ikiwiki/markdown.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/ikiwiki/markdown.mdwn b/doc/ikiwiki/markdown.mdwn index 7c3b71f70..bbda9add7 100644 --- a/doc/ikiwiki/markdown.mdwn +++ b/doc/ikiwiki/markdown.mdwn @@ -5,7 +5,7 @@ email messages. It is the markup language used by this wiki by default. For documentation about the markdown syntax, see [[formatting]] and [Markdown: syntax](http://daringfireball.net/projects/markdown/syntax). A -[markdown mode](http://jrblevin.freeshell.org/software/markdown-mode/) for +[markdown mode](http://jblevins.org/projects/markdown-mode/) for emacs can help in editing. Note that [[WikiLink]]s and [[PreProcessorDirective]]s are not part of the -- cgit v1.2.3 From 3ca4b4089a58627b813a0f780f493ca2b827e625 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 11 May 2008 08:15:34 -0400 Subject: web commit by http://liw.fi/: Updated URL for openiddirectory page. It had moved. --- doc/ikiwiki/openid.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/ikiwiki/openid.mdwn b/doc/ikiwiki/openid.mdwn index 8fd708659..dd851e549 100644 --- a/doc/ikiwiki/openid.mdwn +++ b/doc/ikiwiki/openid.mdwn @@ -16,7 +16,7 @@ To sign up for an OpenID, visit one of the following identity providers: * [Videntity](http://videntity.org/) * [LiveJournal](http://www.livejournal.com/openid/) * [TrustBearer](https://openid.trustbearer.com/) -* or any of the [many others out there](http://openiddirectory.com/index.php?dir=1).. +* or any of the [many others out there](http://openiddirectory.com/openid-providers-c-1.html). Your OpenID is the URL that you are given when you sign up. [[!if test="enabled(openid)" then=""" -- cgit v1.2.3 From 21cd34106d4db3543ba3c7740c50415c3bdd7a4e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 12 May 2008 14:10:17 -0400 Subject: response --- doc/bugs/2.45_Compilation_error.mdwn | 1 + 1 file changed, 1 insertion(+) (limited to 'doc') diff --git a/doc/bugs/2.45_Compilation_error.mdwn b/doc/bugs/2.45_Compilation_error.mdwn index 38026488f..85e6fdeb4 100644 --- a/doc/bugs/2.45_Compilation_error.mdwn +++ b/doc/bugs/2.45_Compilation_error.mdwn @@ -63,5 +63,6 @@ in the case where `make` fails. stat64("blib/lib/IkiWiki.pm", {st_mode=S_IFREG|0444, st_size=31901, ...}) = 0 open("blib/lib/IkiWiki.pm", O_RDONLY|O_LARGEFILE) = 3 +> I need to see it in the case where it's failing. --[[Joey]] [[done]] -- cgit v1.2.3 From be81c594cea408309e68d78e405ab4a7097de4c4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 12 May 2008 14:38:17 -0400 Subject: thoughts --- doc/todo/more_customisable_titlepage_function.mdwn | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'doc') diff --git a/doc/todo/more_customisable_titlepage_function.mdwn b/doc/todo/more_customisable_titlepage_function.mdwn index eb1d62448..51b560746 100644 --- a/doc/todo/more_customisable_titlepage_function.mdwn +++ b/doc/todo/more_customisable_titlepage_function.mdwn @@ -10,4 +10,22 @@ Another option would be a function I could define in the setup file, or an exter -- [[madduck]] +I don't think that changing titlepage is a good idea, there are +compatability problems. + +Instead, I think that in the specific case of the blogpost form, there +should be an interface to allow plugins to do arbitrary transformatiosn of +the page name. + +So, add a hidden field to blogpost.tmpl, something like blogpost=1. Then in +`editpage`, if blogpost is set, call the blogpost hooks, which are passed +a page name and return a transformed version. + +If the page name is changed by those, then the user's original title might +need to be preserved via a meta title directive. This could just be +inserted if any changes are made to the page name. Only problem with this +is that having the directive appear in the edit box for a new page could +confuse the user. The title could be passed on in a hidden field, and +prepended to the page when it's saved.. + [[wishlist]] -- cgit v1.2.3 From bafb2d7b8199977556eed9a630f2a898b6400dfe Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 12 May 2008 16:26:38 -0400 Subject: web commit by http://liw.fi/ --- doc/bugs/poll_plugin:_can__39__t_vote_for_non-ascii_options.mdwn | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 doc/bugs/poll_plugin:_can__39__t_vote_for_non-ascii_options.mdwn (limited to 'doc') diff --git a/doc/bugs/poll_plugin:_can__39__t_vote_for_non-ascii_options.mdwn b/doc/bugs/poll_plugin:_can__39__t_vote_for_non-ascii_options.mdwn new file mode 100644 index 000000000..66c52ee5d --- /dev/null +++ b/doc/bugs/poll_plugin:_can__39__t_vote_for_non-ascii_options.mdwn @@ -0,0 +1,4 @@ +I don't seem to be able to vote for options that have non-ascii names, using the poll plugin. + +As an example, see http://test.liw.fi/testpoll/index.html: the "red", "green", and "blue" options work fine, but the "ehkä" one does not. +--[liw](http://liw.fi/) -- cgit v1.2.3