From c1a0fec9d772cf41c915c24e15629ff98f3deb88 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 4 Jan 2012 13:43:37 -0400 Subject: correction --- debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index c9ab41ebd..57a27d82f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,7 +3,7 @@ ikiwiki (3.20111230) UNRELEASED; urgency=low * mdwn: Can use the discount markdown library, via the Text::Markdown::Discount perl module. This is preferred if available since it's the fastest currently supported markdown library, speeding up - ikiwiki's rendering by a factor of 40. + ikiwiki's markdown rendering by a factor of 40. (However, when multimarkdown is enabled, Text::Markdown::Multimarkdown is still used.) * On Debian, depend on libtext-markdown-discount. -- cgit v1.2.3 From 17d012593acf260ee72e6fa7026ac48894ecf6b7 Mon Sep 17 00:00:00 2001 From: Amitai Schlair Date: Sun, 8 Jan 2012 13:26:56 -0500 Subject: repoint git branches and website --- doc/bugs/http_proxy_for_openid.mdwn | 6 ++++++ doc/install/discussion.mdwn | 7 +++++++ doc/plugins/contrib/mandoc.mdwn | 2 +- doc/users/schmonz.mdwn | 4 ++-- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/doc/bugs/http_proxy_for_openid.mdwn b/doc/bugs/http_proxy_for_openid.mdwn index b7ae76aeb..566896ec3 100644 --- a/doc/bugs/http_proxy_for_openid.mdwn +++ b/doc/bugs/http_proxy_for_openid.mdwn @@ -78,3 +78,9 @@ Brian May >>>>> explicitly removed", so if ikiwiki can preferentially find that >>>>> installed, even with the above commit, `openid` won't be able to >>>>> traverse a proxy. --[[schmonz]] + +[[!template id=gitbranch branch=schmonz/proxies author="[[schmonz]]"]] + +>>>>> I bollixed up my git, recloned, and reapplied the diffs, so +>>>>> that commit won't exist anymore. My proxy-related changes are +>>>>> now on a branch. --[[schmonz]] diff --git a/doc/install/discussion.mdwn b/doc/install/discussion.mdwn index b4ec5ebf4..b27cc4bac 100644 --- a/doc/install/discussion.mdwn +++ b/doc/install/discussion.mdwn @@ -349,3 +349,10 @@ I've attempted to mergeably patch these in my git, commit 5c177c96ac98b24aaa0613ca241fb113f1b32c55. --[[schmonz]] + +----- + +[[!template id=gitbranch branch=schmonz/portability author="[[schmonz]]"]] + +My git was in a screwy state so I started over. These changes are +now on a branch. --[[schmonz]] diff --git a/doc/plugins/contrib/mandoc.mdwn b/doc/plugins/contrib/mandoc.mdwn index 15d2826ed..672a268cc 100644 --- a/doc/plugins/contrib/mandoc.mdwn +++ b/doc/plugins/contrib/mandoc.mdwn @@ -1,5 +1,5 @@ [[!template id=plugin name=mandoc author="[[schmonz]]"]] -[[!template id=gitbranch branch=schmonz/master author="[[schmonz]]"]] +[[!template id=gitbranch branch=schmonz/mandoc author="[[schmonz]]"]] [[!tag type/format]] This plugin lets ikiwiki convert Unix man pages to HTML. It uses diff --git a/doc/users/schmonz.mdwn b/doc/users/schmonz.mdwn index ebfcf3cdd..fc7558b24 100644 --- a/doc/users/schmonz.mdwn +++ b/doc/users/schmonz.mdwn @@ -1,5 +1,5 @@ -[Amitai Schlair](http://www.netbsd.org/~schmonz/) finds himself -using ikiwiki for all sorts of things. His attempts at contributing: +[Amitai Schlair](http://www.schmonz.com/) finds himself using ikiwiki +for all sorts of things. His attempts at contributing: [[!map pages="!*/Discussion and ((link(users/schmonz) and plugins/*) or rcs/cvs)" -- cgit v1.2.3 From 28edab5ea9659878d6ab94428311ae21fb13c3a3 Mon Sep 17 00:00:00 2001 From: "http://kerravonsen.dreamwidth.org/" Date: Sun, 8 Jan 2012 23:56:21 -0400 Subject: thanks --- doc/todo/Improve_markdown_speed.mdwn | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/todo/Improve_markdown_speed.mdwn b/doc/todo/Improve_markdown_speed.mdwn index 5d5647e9b..de3230c9e 100644 --- a/doc/todo/Improve_markdown_speed.mdwn +++ b/doc/todo/Improve_markdown_speed.mdwn @@ -25,4 +25,9 @@ support of the C implementation of Markdown called >>> (Upskirt, discount... Who comes up with these names? Discount also >>> features a "NOPANTS" option.) --[[Joey]] +>>>> Thanks for doing this; it's given a well-needed speedup to my huge site. +>>>> +>>>> (At least "Discount" is related to "Mark Down" but I don't fathom "Upskirt" either.) +>>>> --[[KathrynAndersen]] + [[wishlist]] -- cgit v1.2.3 From cc4678e70d4b100e416b610aa00997b830f5b61d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 9 Jan 2012 12:17:24 -0400 Subject: releasing version 3.20120109 --- debian/changelog | 4 ++-- ikiwiki.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 57a27d82f..5acc7f9f6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -ikiwiki (3.20111230) UNRELEASED; urgency=low +ikiwiki (3.20120109) unstable; urgency=low * mdwn: Can use the discount markdown library, via the Text::Markdown::Discount perl module. This is preferred if available @@ -8,7 +8,7 @@ ikiwiki (3.20111230) UNRELEASED; urgency=low is still used.) * On Debian, depend on libtext-markdown-discount. - -- Joey Hess Sun, 01 Jan 2012 16:22:24 -0400 + -- Joey Hess Mon, 09 Jan 2012 11:49:14 -0400 ikiwiki (3.20111229) unstable; urgency=low diff --git a/ikiwiki.spec b/ikiwiki.spec index 675d29864..52b338111 100644 --- a/ikiwiki.spec +++ b/ikiwiki.spec @@ -1,5 +1,5 @@ Name: ikiwiki -Version: 3.20111229 +Version: 3.20120109 Release: 1%{?dist} Summary: A wiki compiler -- cgit v1.2.3 From 6e53691fd43180abfa8c02f9fbf8860a1abf977a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 9 Jan 2012 12:17:35 -0400 Subject: add news item for ikiwiki 3.20120109 --- doc/news/version_3.20110715.mdwn | 5 ----- doc/news/version_3.20120109.mdwn | 9 +++++++++ 2 files changed, 9 insertions(+), 5 deletions(-) delete mode 100644 doc/news/version_3.20110715.mdwn create mode 100644 doc/news/version_3.20120109.mdwn diff --git a/doc/news/version_3.20110715.mdwn b/doc/news/version_3.20110715.mdwn deleted file mode 100644 index da291dafb..000000000 --- a/doc/news/version_3.20110715.mdwn +++ /dev/null @@ -1,5 +0,0 @@ -ikiwiki 3.20110715 released with [[!toggle text="these changes"]] -[[!toggleable text=""" - * rename: Fix logic error that broke renaming pages when the attachment - plugin was disabled. - * rename: Fix logic error that bypassed the usual pagespec checks."""]] \ No newline at end of file diff --git a/doc/news/version_3.20120109.mdwn b/doc/news/version_3.20120109.mdwn new file mode 100644 index 000000000..de53c5d67 --- /dev/null +++ b/doc/news/version_3.20120109.mdwn @@ -0,0 +1,9 @@ +ikiwiki 3.20120109 released with [[!toggle text="these changes"]] +[[!toggleable text=""" + * mdwn: Can use the discount markdown library, via the + Text::Markdown::Discount perl module. This is preferred if available + since it's the fastest currently supported markdown library, speeding up + ikiwiki's markdown rendering by a factor of 40. + (However, when multimarkdown is enabled, Text::Markdown::Multimarkdown + is still used.) + * On Debian, depend on libtext-markdown-discount."""]] \ No newline at end of file -- cgit v1.2.3 From d3ad47829871a52c622fcb918251f72f11fec0a5 Mon Sep 17 00:00:00 2001 From: Javier Rojas Date: Tue, 10 Jan 2012 22:20:48 -0500 Subject: new forum post about search in attachments --- doc/forum/index_attachments.mdwn | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/forum/index_attachments.mdwn diff --git a/doc/forum/index_attachments.mdwn b/doc/forum/index_attachments.mdwn new file mode 100644 index 000000000..8167a60f8 --- /dev/null +++ b/doc/forum/index_attachments.mdwn @@ -0,0 +1,9 @@ +Why doesn't the [[plugins/search]] plugin index attachments? are there any +technical reasons for not including this feature/option? (besides increased +processing time, and depending from external programs.) + +One could check for all non-mdwn files, convert them to text, if such thing is +possible, and add them as documents; I guess `needsbuild` would be a good site +for that. + +--[[jerojasro]] -- cgit v1.2.3 From 0278ddd6c1ba3fdfdc987aea8580b7fee452c226 Mon Sep 17 00:00:00 2001 From: Jon Dowland Date: Wed, 11 Jan 2012 15:13:46 +0000 Subject: backlink(.) doesn't work --- doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn | 6 ++++++ doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn | 10 ++++++++++ doc/bugs/backlink__40__.__41___doesn__39__t_work/test2.mdwn | 1 + 3 files changed, 17 insertions(+) create mode 100644 doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn create mode 100644 doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn create mode 100644 doc/bugs/backlink__40__.__41___doesn__39__t_work/test2.mdwn diff --git a/doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn b/doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn new file mode 100644 index 000000000..6ec53d504 --- /dev/null +++ b/doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn @@ -0,0 +1,6 @@ +It seems `backlink(.)` doesn't work, that is, it doesn't match pages linked +to from the current page. + +[[!inline pages=test1 raw=true]] + +— [[Jon]] diff --git a/doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn b/doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn new file mode 100644 index 000000000..7fe3d70fe --- /dev/null +++ b/doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn @@ -0,0 +1,10 @@ +test1 links to [[test2]]. + +`backlink(test1)`: + +[[!map pages="backlink(test1)"]] + +`backlink(.)`: + +[[!map pages="backlink(.)"]] + diff --git a/doc/bugs/backlink__40__.__41___doesn__39__t_work/test2.mdwn b/doc/bugs/backlink__40__.__41___doesn__39__t_work/test2.mdwn new file mode 100644 index 000000000..a8b76dea9 --- /dev/null +++ b/doc/bugs/backlink__40__.__41___doesn__39__t_work/test2.mdwn @@ -0,0 +1 @@ +test2! -- cgit v1.2.3 From 52c1aecffc08448d344a195008cc7d6f7c5f3abb Mon Sep 17 00:00:00 2001 From: Jon Dowland Date: Wed, 11 Jan 2012 15:15:37 +0000 Subject: test doesn't work live. damnit. try varying pagespec --- doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn b/doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn index 7fe3d70fe..52e1da969 100644 --- a/doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn +++ b/doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn @@ -2,7 +2,7 @@ test1 links to [[test2]]. `backlink(test1)`: -[[!map pages="backlink(test1)"]] +[[!map pages="backlink(bugs/backlink(.) doesn't work/test1)"]] `backlink(.)`: -- cgit v1.2.3 From ca80578d4a015379ed6e505ca10417a12384c4e1 Mon Sep 17 00:00:00 2001 From: Jon Dowland Date: Wed, 11 Jan 2012 15:17:28 +0000 Subject: simplify bug report --- doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn | 8 +++++++- doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn | 10 ---------- doc/bugs/backlink__40__.__41___doesn__39__t_work/test2.mdwn | 1 - 3 files changed, 7 insertions(+), 12 deletions(-) delete mode 100644 doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn delete mode 100644 doc/bugs/backlink__40__.__41___doesn__39__t_work/test2.mdwn diff --git a/doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn b/doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn index 6ec53d504..ede1d2fe3 100644 --- a/doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn +++ b/doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn @@ -1,6 +1,12 @@ It seems `backlink(.)` doesn't work, that is, it doesn't match pages linked to from the current page. -[[!inline pages=test1 raw=true]] +If I have two test pages, `foo`, which links to `bar`, then (on the `foo` +page): + + * backlink(foo) lists 'bar' + * backlink(.) lists nothing + +tested with 3.20120109. — [[Jon]] diff --git a/doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn b/doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn deleted file mode 100644 index 52e1da969..000000000 --- a/doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn +++ /dev/null @@ -1,10 +0,0 @@ -test1 links to [[test2]]. - -`backlink(test1)`: - -[[!map pages="backlink(bugs/backlink(.) doesn't work/test1)"]] - -`backlink(.)`: - -[[!map pages="backlink(.)"]] - diff --git a/doc/bugs/backlink__40__.__41___doesn__39__t_work/test2.mdwn b/doc/bugs/backlink__40__.__41___doesn__39__t_work/test2.mdwn deleted file mode 100644 index a8b76dea9..000000000 --- a/doc/bugs/backlink__40__.__41___doesn__39__t_work/test2.mdwn +++ /dev/null @@ -1 +0,0 @@ -test2! -- cgit v1.2.3 From eea37015275d914ed30f9dda0ee321f8e838df2f Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawmKyeW2G4jjSdnL1m6kPPtAiGFUBsnYCfY" Date: Wed, 11 Jan 2012 13:02:54 -0400 Subject: --- ...rst_translation_page_using_po_plugin__63__.mdwn | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 doc/forum/How_to_create_first_translation_page_using_po_plugin__63__.mdwn diff --git a/doc/forum/How_to_create_first_translation_page_using_po_plugin__63__.mdwn b/doc/forum/How_to_create_first_translation_page_using_po_plugin__63__.mdwn new file mode 100644 index 000000000..e9dd6654b --- /dev/null +++ b/doc/forum/How_to_create_first_translation_page_using_po_plugin__63__.mdwn @@ -0,0 +1,24 @@ +I followed instructions at + + http://ikiwiki.info/plugins/po/ + +and added to `configfile` + + po_master_language => 'en|English', + po_slave_languages => [ 'zh|Chinese' ], + po_translatable_pages => '(* and !*/Discussion and !blog/*/comment_*)', + po_link_to => 'current' + +and did + + ikiwiki --setup configfile + +But I don't seem to see any change in the newly built site. + +How do I actually use po to create translation pages? + +1) I have existing pages that's in English. How do I add translated versions of some of those pages in the slave language? + +2) How do I add new pages with the primary language version and alternative versions in slave languages? + +The documentation of po is not explicit with what are the concrete steps. -- cgit v1.2.3 From 18a40243a18306d97051bd26a47887ea04679bed Mon Sep 17 00:00:00 2001 From: smv Date: Thu, 12 Jan 2012 21:20:47 -0400 Subject: --- doc/ikiwikiusers.mdwn | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/ikiwikiusers.mdwn b/doc/ikiwikiusers.mdwn index b49ee82ca..1fc455298 100644 --- a/doc/ikiwikiusers.mdwn +++ b/doc/ikiwikiusers.mdwn @@ -78,6 +78,7 @@ Projects & Organizations * [The Progress Linux OS wiki](http://wiki.progress-linux.org/) * [Oxford Computer Society](http://www.ox.compsoc.net/) * [Russian OpenBSD Community wiki](http://wiki.openbsd.ru/) +* [Arcada Project](http://arcadaproject.org/) Personal sites and blogs ======================== -- cgit v1.2.3 From 08325b4da66d71f6c31cb269138c2ee4f279e786 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Fri, 13 Jan 2012 11:13:34 +0100 Subject: Propose patch to fix backlink(.) --- .../backlink__40__.__41___doesn__39__t_work.mdwn | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn b/doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn index ede1d2fe3..cb7f156bc 100644 --- a/doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn +++ b/doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn @@ -10,3 +10,47 @@ page): tested with 3.20120109. — [[Jon]] + +> The attached patch should fix it: + + + From 30512ac5f6a724bafb1095ab246e0648999f7b6c Mon Sep 17 00:00:00 2001 + From: Giuseppe Bilotta + Date: Fri, 13 Jan 2012 11:02:11 +0100 + Subject: [PATCH] backlink(.) should behave like backlink() + + Since commit c4d4cad3befbbd444d094cbeb0b6ebba3910a025, the single dot in + a pagespec can be used to mean the current page. While this worked + correctly in link() it didn't work in backlink(). Fix this by explicitly + checking the testpage in backlink against . and replacing it with the + current location if necessary. + --- + IkiWiki.pm | 10 ++++++++-- + 1 files changed, 8 insertions(+), 2 deletions(-) + + diff --git a/IkiWiki.pm b/IkiWiki.pm + index 08e242a..bc56501 100644 + --- a/IkiWiki.pm + +++ b/IkiWiki.pm + @@ -2647,8 +2647,14 @@ sub match_link ($$;@) { + } + + sub match_backlink ($$;@) { + - my $ret=match_link($_[1], $_[0], @_); + - $ret->influences($_[1] => $IkiWiki::DEPEND_LINKS); + + my $page=shift; + + my $testpage=shift; + + my %params=@_; + + if ($testpage eq '.') { + + $testpage = $params{'location'} + + } + + my $ret=match_link($testpage, $page, @_); + + $ret->influences($testpage => $IkiWiki::DEPEND_LINKS); + return $ret; + } + + -- + 1.7.8.rc2.253.gdbf3 + + +> (you need to re-make IkiWiki for it to work) -- cgit v1.2.3 From 17fb0cf9f9897121d9996e8c23ac0056d29acd7b Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Fri, 13 Jan 2012 11:02:11 +0100 Subject: backlink(.) should behave like backlink() Since commit c4d4cad3befbbd444d094cbeb0b6ebba3910a025, the single dot in a pagespec can be used to mean the current page. While this worked correctly in link() it didn't work in backlink(). Fix this by explicitly checking the testpage in backlink against . and replacing it with the current location if necessary. --- IkiWiki.pm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/IkiWiki.pm b/IkiWiki.pm index 08e242a1f..bc56501da 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -2647,8 +2647,14 @@ sub match_link ($$;@) { } sub match_backlink ($$;@) { - my $ret=match_link($_[1], $_[0], @_); - $ret->influences($_[1] => $IkiWiki::DEPEND_LINKS); + my $page=shift; + my $testpage=shift; + my %params=@_; + if ($testpage eq '.') { + $testpage = $params{'location'} + } + my $ret=match_link($testpage, $page, @_); + $ret->influences($testpage => $IkiWiki::DEPEND_LINKS); return $ret; } -- cgit v1.2.3 From 047d2c12e58e7871328fe1f114e865b7efdb487a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 13 Jan 2012 13:43:31 -0400 Subject: Make backlink(.) work. Thanks, Giuseppe Bilotta. --- debian/changelog | 6 ++++++ doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn | 1 + 2 files changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index 5acc7f9f6..142ca24ea 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ikiwiki (3.20120110) UNRELEASED; urgency=low + + * Make backlink(.) work. Thanks, Giuseppe Bilotta. + + -- Joey Hess Fri, 13 Jan 2012 13:43:14 -0400 + ikiwiki (3.20120109) unstable; urgency=low * mdwn: Can use the discount markdown library, via the diff --git a/doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn b/doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn index cb7f156bc..534e5a01f 100644 --- a/doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn +++ b/doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn @@ -13,6 +13,7 @@ tested with 3.20120109. > The attached patch should fix it: +>> [[applied|done]] thanks --[[Joey]] From 30512ac5f6a724bafb1095ab246e0648999f7b6c Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta -- cgit v1.2.3 From 2aabb4e0bc2eed608120a057804e7f13ca91c430 Mon Sep 17 00:00:00 2001 From: "http://joey.kitenet.net/" Date: Fri, 13 Jan 2012 13:46:50 -0400 Subject: Added a comment --- .../comment_1_18b9531d273292b45051eef6a306ca26._comment | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/forum/index_attachments/comment_1_18b9531d273292b45051eef6a306ca26._comment diff --git a/doc/forum/index_attachments/comment_1_18b9531d273292b45051eef6a306ca26._comment b/doc/forum/index_attachments/comment_1_18b9531d273292b45051eef6a306ca26._comment new file mode 100644 index 000000000..056c4139a --- /dev/null +++ b/doc/forum/index_attachments/comment_1_18b9531d273292b45051eef6a306ca26._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="http://joey.kitenet.net/" + nickname="joey" + subject="comment 1" + date="2012-01-13T17:46:49Z" + content=""" +I don't think there are really any reasons, other than noone having done it. + +Although it is worth noting that using additional libraries/programs to eg, pull exif data and comments out of image files and make it searchable, does potentially increase ikiwiki's attack surface. +"""]] -- cgit v1.2.3 From 5c9333af40455d61bf64d83337933928c83cd218 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawkr8GVPw30JBR34Btg-SKcS8gxEf7zpSJQ" Date: Fri, 13 Jan 2012 15:35:00 -0400 Subject: --- ...ow_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__.mdwn | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__.mdwn diff --git a/doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__.mdwn b/doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__.mdwn new file mode 100644 index 000000000..c9081e007 --- /dev/null +++ b/doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__.mdwn @@ -0,0 +1,13 @@ +Since ikiwiki doesn't have much of a chance of working in windows, how about we compromise by making an offline ikiwiki editor for Windows? In fact, it might be advantageous to use it in Linux, too... + +It should be very simple: It would enter the source wiki and show the Markdown code by default, but would have an option to preview your page in another tab. + +Basic features: +* wikilinks, maps, images, inlinepages, and other basic functions should all work in the preview +* perhaps use local.css to format preview +* See the DVCS history with diffs and all +* have a discussion tab to easily see what other people have said about the page + +If we want to add some more bells and whistles, maybe we could throw in some buttons to insert markdown formatting (like in forums, mediawiki, or RES). + +Any thoughts on this? -- cgit v1.2.3 From 258412bd4368feecbd724ea88e7a98644c7fbec1 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawkr8GVPw30JBR34Btg-SKcS8gxEf7zpSJQ" Date: Fri, 13 Jan 2012 15:45:31 -0400 Subject: --- ...iwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__.mdwn | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__.mdwn b/doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__.mdwn index c9081e007..e23d3fddf 100644 --- a/doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__.mdwn +++ b/doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__.mdwn @@ -3,6 +3,7 @@ Since ikiwiki doesn't have much of a chance of working in windows, how about we It should be very simple: It would enter the source wiki and show the Markdown code by default, but would have an option to preview your page in another tab. Basic features: + * wikilinks, maps, images, inlinepages, and other basic functions should all work in the preview * perhaps use local.css to format preview * See the DVCS history with diffs and all -- cgit v1.2.3 From 9e059c9709412c8e94d7b396bbc6af0ba2124f81 Mon Sep 17 00:00:00 2001 From: "http://kerravonsen.dreamwidth.org/" Date: Fri, 13 Jan 2012 18:30:33 -0400 Subject: Added a comment --- .../comment_1_101fb0f58d45a68f7dda4bf034b9b670._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__/comment_1_101fb0f58d45a68f7dda4bf034b9b670._comment diff --git a/doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__/comment_1_101fb0f58d45a68f7dda4bf034b9b670._comment b/doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__/comment_1_101fb0f58d45a68f7dda4bf034b9b670._comment new file mode 100644 index 000000000..26d773cb9 --- /dev/null +++ b/doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__/comment_1_101fb0f58d45a68f7dda4bf034b9b670._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="http://kerravonsen.dreamwidth.org/" + ip="202.173.183.92" + subject="comment 1" + date="2012-01-13T22:30:32Z" + content=""" +Feel free to make one if you want; nobody's stopping you. That's the most likely way of getting it done, because it's an itch you want scratched. But trying to get other people to scratch *your* itch is pretty much doomed to failure. +"""]] -- cgit v1.2.3 From e60b19ae65b4f736a21f2d448fd38436023e6974 Mon Sep 17 00:00:00 2001 From: "http://kerravonsen.dreamwidth.org/" Date: Fri, 13 Jan 2012 18:31:02 -0400 Subject: removed --- .../comment_1_101fb0f58d45a68f7dda4bf034b9b670._comment | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__/comment_1_101fb0f58d45a68f7dda4bf034b9b670._comment diff --git a/doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__/comment_1_101fb0f58d45a68f7dda4bf034b9b670._comment b/doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__/comment_1_101fb0f58d45a68f7dda4bf034b9b670._comment deleted file mode 100644 index 26d773cb9..000000000 --- a/doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__/comment_1_101fb0f58d45a68f7dda4bf034b9b670._comment +++ /dev/null @@ -1,8 +0,0 @@ -[[!comment format=mdwn - username="http://kerravonsen.dreamwidth.org/" - ip="202.173.183.92" - subject="comment 1" - date="2012-01-13T22:30:32Z" - content=""" -Feel free to make one if you want; nobody's stopping you. That's the most likely way of getting it done, because it's an itch you want scratched. But trying to get other people to scratch *your* itch is pretty much doomed to failure. -"""]] -- cgit v1.2.3 From 6b0ac401cdbe3a0e4a6997411542e1e0598ccbe5 Mon Sep 17 00:00:00 2001 From: "http://kerravonsen.dreamwidth.org/" Date: Fri, 13 Jan 2012 18:32:47 -0400 Subject: Added a comment --- .../comment_1_a66fd9d7ab4359784a5420cd899a1057._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__/comment_1_a66fd9d7ab4359784a5420cd899a1057._comment diff --git a/doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__/comment_1_a66fd9d7ab4359784a5420cd899a1057._comment b/doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__/comment_1_a66fd9d7ab4359784a5420cd899a1057._comment new file mode 100644 index 000000000..20fd763e2 --- /dev/null +++ b/doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__/comment_1_a66fd9d7ab4359784a5420cd899a1057._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="http://kerravonsen.dreamwidth.org/" + ip="202.173.183.92" + subject="comment 1" + date="2012-01-13T22:32:47Z" + content=""" +It would probably be quite complex to write, and difficult to maintain. I don't think much of your chances of getting someone to write it. If you want to write it yourself, have fun doing so! +"""]] -- cgit v1.2.3 From 059671fc4562a6e4dd55e092ec9a31038b14ef45 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawlxhTpXjVrFtgk7H7La4U7dZSob-r0680U" Date: Fri, 13 Jan 2012 19:00:13 -0400 Subject: --- doc/bugs/UTF-8_in_attachment_filenames.mdwn | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/bugs/UTF-8_in_attachment_filenames.mdwn diff --git a/doc/bugs/UTF-8_in_attachment_filenames.mdwn b/doc/bugs/UTF-8_in_attachment_filenames.mdwn new file mode 100644 index 000000000..6e79a4e06 --- /dev/null +++ b/doc/bugs/UTF-8_in_attachment_filenames.mdwn @@ -0,0 +1,15 @@ +I have ikiwiki_3.20111229 installed on Debian Squeeze (Perl 5.10.1, UTF-8 locale). The attachment plugin mangles UTF8-encoded attachment filenames if the name contains multibyte characters, e.g. "lää.png" becomes "lää.png". Apparently glob returns byte strings which are subject to implicit upgrading when concatenated with Perl strings. The following patch fixes the problem for me: + +---- + + diff -r -U 1 a/attachment.pm b/attachment.pm + --- a/attachment.pm 2012-01-13 23:07:29.000000000 +0200 + +++ b/attachment.pm 2012-01-13 23:33:07.000000000 +0200 + @@ -274,2 +274,3 @@ + foreach my $filename (glob("$dir/*")) { + + $filename=Encode::decode_utf8($filename); + next unless -f $filename; + @@ -347,2 +348,3 @@ + foreach my $file (glob("$dir/*")) { + + $file = Encode::decode_utf8($file); + next unless -f $file; -- cgit v1.2.3 From 71435d5508f82980e67173853e1c7097f70f6ee7 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawkr8GVPw30JBR34Btg-SKcS8gxEf7zpSJQ" Date: Fri, 13 Jan 2012 23:14:38 -0400 Subject: Added a comment --- .../comment_2_3351ff773fea3f640f4036bb8c7c7efd._comment | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__/comment_2_3351ff773fea3f640f4036bb8c7c7efd._comment diff --git a/doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__/comment_2_3351ff773fea3f640f4036bb8c7c7efd._comment b/doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__/comment_2_3351ff773fea3f640f4036bb8c7c7efd._comment new file mode 100644 index 000000000..b83042c36 --- /dev/null +++ b/doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__/comment_2_3351ff773fea3f640f4036bb8c7c7efd._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawkr8GVPw30JBR34Btg-SKcS8gxEf7zpSJQ" + nickname="Lawrence" + subject="comment 2" + date="2012-01-14T03:14:38Z" + content=""" +Eh, ok, lol. I know that implementing most of the wiki features over again could be difficult, and so would a Git diff reader, but it shouldn't be that hard to get Wikilinking or a markdown previewer working. + +Could you point out some specific problems of this approach, so that it would help me out to do so? +"""]] -- cgit v1.2.3 From 8846180dcfb58188156541cd71007e002cd76081 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawkr8GVPw30JBR34Btg-SKcS8gxEf7zpSJQ" Date: Sat, 14 Jan 2012 13:41:53 -0400 Subject: Added a comment --- .../comment_3_273b2b63a9af2bc4eeb030e026436687._comment | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__/comment_3_273b2b63a9af2bc4eeb030e026436687._comment diff --git a/doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__/comment_3_273b2b63a9af2bc4eeb030e026436687._comment b/doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__/comment_3_273b2b63a9af2bc4eeb030e026436687._comment new file mode 100644 index 000000000..e5eaf2c4c --- /dev/null +++ b/doc/forum/If_there__39__s_no_Windows_ikiwiki__44___how_about_a_WYSIWYG_ikiwiki_editor_for_Windows__63__/comment_3_273b2b63a9af2bc4eeb030e026436687._comment @@ -0,0 +1,12 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawkr8GVPw30JBR34Btg-SKcS8gxEf7zpSJQ" + nickname="Lawrence" + subject="comment 3" + date="2012-01-14T17:41:52Z" + content=""" +Like, there's already a whole host of Markdown previewer apps that are pretty good. [Here's a](http://www.macworld.com/article/164744/2012/01/marked_excels_at_previewing_markdown_and_html_documents.html) popular one on Mac, and there are many more... + +There's also a plugin for Emacs that does so, and even resolves wikilinks (in some way..). + +But I'd have to say that I probably made a misleading title, WYSIWYG would probably be low on the list of needed features. And I'm just dumping an idea I have here in case anyone has any suggestions or comments, I'll probably do it myself in my free time. +"""]] -- cgit v1.2.3 From b38261a03aab649e3b194b7d1983536eee8a3684 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 15 Jan 2012 16:19:22 -0400 Subject: Workaround discount's eliding of