]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Merge branch 'master' of git://git.madduck.net/code/ikiwiki
authorJoey Hess <joey@kodama.kitenet.net>
Sat, 1 Mar 2008 03:47:26 +0000 (22:47 -0500)
committerJoey Hess <joey@kodama.kitenet.net>
Sat, 1 Mar 2008 03:47:26 +0000 (22:47 -0500)
doc/bugs/No_link_for_blog_items_when_filename_contains_a_colon.mdwn
doc/bugs/img_plugin_renders___60__img__62___tag_without_src_attribute_post-2.20.mdwn
doc/ikiwikiusers.mdwn
doc/sandbox/castle/discussion/test_comment.mdwn [new file with mode: 0644]
doc/setup.mdwn
doc/tips/laptop_wiki_with_git/discussion.mdwn
doc/tips/vim_syntax_highlighting/discussion.mdwn [new file with mode: 0644]
doc/todo/discussion_page_as_blog.mdwn
doc/todo/plugin.mdwn
doc/users/DavidBremner.mdwn [new file with mode: 0644]
doc/users/jondowland.mdwn [new file with mode: 0644]

index 4f370372c82cd5d02b561fb00a56d3b007912ef9..0e8ead4eae2834d5cce8f9c9dca89bb392661962 100644 (file)
@@ -1,3 +1,23 @@
 Since upgrading from Ikiwiki 2.20 to 2.32.3 (from Debian Lenny), I don't get hyperlinks to items which have a colon in their name anymore. This applies to both the normal and the archive view. Before the update, the links have been created as relative links, so they weren't usable either as the browser tried to take the part before the colon as protocol specification (as in e.g. `http:`). Iirc, this applied to the archive view only, links in the normal view were ok (will check this out again if it's important). Is there a way to quote each colon as %xy in the hyperlinks? Perhaps it's only a problem with my config, and not an actual bug...?
 
 EDIT: I just found that in this wiki under <http://ikiwiki.info/bugs/done/> the entry "mailto: links not properly generated in rss/atom feeds" also doesn't have a hyperlink - at least it's not a problem with my config only ;-)
+
+[[madduck]]: I traced this down to `htmlscrubber`. If disabled, it works. If
+enabled, then `$safe_url_regexp` determines the URL unsafe because of the
+colon and hence removes the `src` attribute.
+
+Digging into this, I find that [[rfc 3986]] pretty much discourages colons in
+filenames:
+
+> A path segment that contains a colon character (e.g., "this:that") cannot be
+> used as the first segment of a relative-path reference, as it would be
+> mistaken for a scheme name.  Such a segment must be preceded by
+> a dot-segment (e.g., "./this:that") to make a relative- path reference.
+
+The solution seems not to use colons.
+
+In any case, `htmlscrubber` should get a new regexp, courtesy of dato:
+`[^:]+($|\/)`. I have tested and verified this.
+
+[Commit/patch
+be0b4f60](http://git.madduck.net/v/code/ikiwiki.git?a=commit;h=be0b4f603f918444b906e42825908ddac78b7073) fixes this.
index 531e82474a6654c9d29f966c845212ae047f9b87..f7883dbb7ab9d83af3325a791192df16cb00930f 100644 (file)
@@ -30,3 +30,7 @@ I added `print STDERR "$imgtag\n";` to `img.pm` after the `my $imgtag='<img src=
 Something is eating the src= attribute.
 
 I have been unable to reproduce this outside of the `madduck.net` website...
+
+**Update**: this is the same bug as [[the_colon-in-links_bug|No_link_for_blog_items_when_filename_contains_a_colon]]
+
+[[tag done]]
index bf2ade8831545d5760acbef96d29d9a6815dceb5..0f133bffede134c79919af7f66efcf60c790738c 100644 (file)
@@ -28,6 +28,8 @@ Projects
 * [CampusGrün Hamburg](http://www.campusgruen.org/)
 * The [awesome window manager homepage](http://awesome.naquadah.org/)
 * [Enemies of Carlotta](http://www.e-o-c.org/)
+* [vcs-pkg](http://vcs-pkg.org)
+* [vcs-home](http://vcs-home.madduck.net)
 
 Personal sites and blogs
 ========================
@@ -84,6 +86,8 @@ Personal sites and blogs
 * [Martin's PhD wiki](http://phd.martin-krafft.net/wiki)
 * [David Riebenbauer's page](http://liegesta.at/)
 * [Thomas Harning's 'eHarning' wiki](http://www.eharning.us/wiki/)
+* [David Bremner's blog](http://www.cs.unb.ca/~bremner/wiki/blog)
+* [madduck's (new) homepage](http://madduck.net)
 
 Please feel free to add your own ikiwiki site!
 
diff --git a/doc/sandbox/castle/discussion/test_comment.mdwn b/doc/sandbox/castle/discussion/test_comment.mdwn
new file mode 100644 (file)
index 0000000..4dd2cb0
--- /dev/null
@@ -0,0 +1 @@
+I like this idea of using the blog feature to handle comments. Let's see how it works.
index a8e8cd07b1f66431f9d6f08c6cbf5e71cf1434e0..7f3f6840df1e06ecf2748c129539a7abfe990c32 100644 (file)
@@ -113,7 +113,7 @@ should be preserved, but not checked into revision control.
 The new [[ikiwiki-makerepo]] command automates setting up a wiki in
 revision control.
 
-[[toggle id=subversion text="Subversion"]] (local repositories only)
+[[toggle id=subversion text="Subversion"]]
 [[toggleable id=subversion text="""
        REPOSITORY=~/wikirepo
        ikiwiki-makerepo svn $SRCDIR $REPOSITORY
index 7881bb4b67e6f321c945f9718b58b693a962bce3..234833ca7c12ee537e9a9a63783a8c2cf074a569 100644 (file)
@@ -2,4 +2,6 @@ I have followed this idea along, and it seems to work pretty well.
 Now I have a question as a git newbie. Can I have the post-commit hook on the server use something like rsync to update the files on a third machine hosting the web server?  The web server does not have git (cretins!). Of course I could just run a cron job.
 
 Or, was this last remark about rebuilding after pulling meant to apply to rebuilding after pushing as well?
-- David Bremner
+[[DavidBremner]]
+
+* *Updated*  Now that I play with this a bit, this seems not so important.  Having a seperate sync operation that I run from the laptop is no big deal, and lets me update the parts of my site not yet managed by ikiwiki at the same time.
diff --git a/doc/tips/vim_syntax_highlighting/discussion.mdwn b/doc/tips/vim_syntax_highlighting/discussion.mdwn
new file mode 100644 (file)
index 0000000..f8d2317
--- /dev/null
@@ -0,0 +1 @@
+I'm going to look at merging this with potwiki.vim (a vim-based personal wiki) so that you can follow wiki-links and auto-create pages etc., direct from vim. (I'm writing this incase I don't get around to it) -- [[users/JonDowland]]
index 98f6bb595a010f042415eb8d3269747e47e14ee1..577ced17d1edf538bd3ca54cd853d76176a7216b 100644 (file)
@@ -24,6 +24,8 @@ issue above. Worrying about threading may be overkill.
 
 > Something like [[discussion/castle]] and [[discussion/castle/discussion]]? (Sorry about the noise, btw.) --Ethan
 
+>> this really didn't seem to work -- here's my attempted comment; http://ikiwiki.info/sandbox/castle/discussion/test_comment/index.html. -- JonDowland
+
 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.
index 89dbb04a202f3a98c4122b9f35bce2cbdd84c9f0..da9226575bd616b9f7273dc576c601393995aa31 100644 (file)
@@ -45,3 +45,6 @@ Suggestions of ideas for plugins:
 * As I couldn't find another place to ask, I'll try here. I would like to install some contributed plugins, but can not find anywhere to downlod them.
 
   > Not sure what you mean, the [[plugins/contrib]] page lists contributed plugins, and each of their pages tells where to download the plugin from.. --[[Joey]]
+
+* I'm thinking about starting a simple LaTeX plugin.  This would be mainly  to convert my old tex4ht based website. Would anyone else find this useful, 
+or should I just hack some offline converter together?  I should clarify that I mean converting the latex text to HTML (maybe via something else).  I found pandoc, which almost works to convert to .rst. Perhaps the most useful thing would be an offline filter to convert latex to markdown+embedded teximg --[[DavidBremner]]
diff --git a/doc/users/DavidBremner.mdwn b/doc/users/DavidBremner.mdwn
new file mode 100644 (file)
index 0000000..8462b1b
--- /dev/null
@@ -0,0 +1 @@
+<http://www.cs.unb.ca/~bremner>
diff --git a/doc/users/jondowland.mdwn b/doc/users/jondowland.mdwn
new file mode 100644 (file)
index 0000000..fae384d
--- /dev/null
@@ -0,0 +1,3 @@
+A new ikiwiki user, looking at ikiwiki both for his personal site but also as a team-documentation management system for a small-sized group of UNIX sysadmins.
+
+(currently non-ikiwiki) Homepage: http://alcopop.org/