Merge branch 'master' of ssh://git.ikiwiki.info

master
Joey Hess 2013-10-19 11:26:18 -04:00
commit 970547f7bc
12 changed files with 125 additions and 0 deletions

View File

@ -4,3 +4,5 @@ Using the osm plugin with a simple \[[!osm]] directive does not seem to work, a
[[!tag patch]] [[!tag patch]]
I have produced a patch for this issue, but beware, while it appears to fix the problem for me, I have little understanding of perl and the existing code base. I have produced a patch for this issue, but beware, while it appears to fix the problem for me, I have little understanding of perl and the existing code base.
> It looks sound, but I have yet to test it. --[[anarcat]]

View File

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawnWrt_1YwzE4yP3dF061Wy7uNjPDefJm_I"
nickname="Marius"
subject="Did anybody see this?"
date="2013-10-14T10:59:47Z"
content="""
Did I post it at the right place?
thanks
"""]]

View File

@ -0,0 +1,14 @@
[[!comment format=mdwn
username="http://smcv.pseudorandom.co.uk/"
nickname="smcv"
subject="comment 2"
date="2013-10-15T19:48:15Z"
content="""
It should be as simple as putting the attachment's name in double square
brackets, like `\[[stuff.zip]]`? There isn't really any difference
between a download link and any other link.
(Or if it's attached to a different page, follow the same
[[ikiwiki/subpage/linkingrules]] as for pages, e.g. you might
write `\[[sandbox/stuff.zip]]` for a file attached to the [[sandbox]].)
"""]]

View File

@ -0,0 +1,16 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawnWrt_1YwzE4yP3dF061Wy7uNjPDefJm_I"
nickname="Marius"
subject="that works sort of, depending on the extention"
date="2013-10-18T12:03:26Z"
content="""
[[setup.txt]] - opens the plain text in the same browser window
[[settings.xml]] - opens the formatted xml as html i.e. I can't right click and save as, I have to copy the text, create an empty file and paste it in
[[.gitignore]] - it does not recognise this file, I have to rename it to gitignore.txt and explain to the user to rename it.
What I would like is a way to consistently get a dialog that asks the user where to save the file with the correct default file name..
I've recently figured out how to do this with javascript - it's a bit messy but it works:
http://stackoverflow.com/a/11486284/381083
thanks
"""]]

View File

@ -0,0 +1,34 @@
[[!comment format=mdwn
username="http://smcv.pseudorandom.co.uk/"
nickname="smcv"
subject="comment 4"
date="2013-10-18T16:56:09Z"
content="""
> \[[setup.txt]] - opens the plain text in the same browser window
That's the browser's choice: the web server says \"this is text/plain\"
and the browser decides to display it in the window. IkiWiki doesn't
actually serve the file, just provides a link to it; to force it
to be downloaded rather than opened, you'd have to configure
your web server to offer it as \"Content-Disposition: attachment\"
(e.g. <http://www.jtricks.com/bits/content_disposition.html>).
The only way IkiWiki could get involved in this would be to
have the file download go via the CGI script, which could
add that header. That isn't currently a feature it has;
you could maybe add a plugin if you need this?
> \[[settings.xml]] - opens the formatted xml as html
Again, this is between the web server and the browser.
> \[[.gitignore]] - it does not recognise this file
IkiWiki excludes files related to the source code control systems
it uses, in order to avoid accidentally publishing a `.gitignore`
that's intended to control ignored files for the git repo
containing the pages' source. This is controlled by the
`wiki_file_prune_regexps`, `exclude` and `include` config options.
You can put `.gitignore` in `include` if you need to publish
files with that name.
"""]]

View File

@ -0,0 +1,9 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawlsNmR53i7XzaEwtTVLCAgDPXZ7JvPHQr0"
nickname="GI"
subject="Tutorial + options"
date="2013-10-15T19:47:29Z"
content="""
I've been using MathJAX + ikiwiki for a while, and finally got around to posting my setup. You can find a tutorial [[here|http://wiki.math.cmu.edu/iki/wiki/tips/20130930-ikiwiki/010-setup.html]].
"""]]

View File

@ -79,6 +79,7 @@ think about merging them. This is recommended. :-)
* frioux `git://github.com/frioux/ikiwiki` * frioux `git://github.com/frioux/ikiwiki`
* llipavsky `git://github.com/llipavsky/ikiwiki` * llipavsky `git://github.com/llipavsky/ikiwiki`
* [[cbaines]] `git://github.com/cbaines/ikiwiki.git` * [[cbaines]] `git://github.com/cbaines/ikiwiki.git`
* [[mhameed]] `git://github.com/mhameed/ikiwiki.git`
## branches ## branches

View File

@ -0,0 +1,21 @@
The [irclog](https://github.com/ironchicken/ikiwiki-irclog) plugin allows including a formatted IRC log in your wiki.
### Usage
The `[[!irclog]]` directive takes the following arguments:
`location` (required)
The URI of your IRC log file. Currently the URI schemes `file:`, `http:`, and `ssh:` have been implemented. Only `ssh:` has been tested: `ssh://host/path/to/#channel`.
`earliest` (optional)
A date/time in the format `%F %T` (i.e. `YYYY-MM-DD HH:MM:SS`). Events before this time will not be included. String comparison is used, so you can omit portions of the date/time if you like, e.g. `YYYY-MM`.
`latest` (optional)
A date/time. Events after this time will not be included.
`keywords` (optional)
A mapping of keywords to translations, formatted like a Perl hash, e.g.: "richard=>\[[richard]\]". In this case occurrences of "richard" will be replaced with "\[[richard]\]" (which will later be processed as a WikiLink).

View File

@ -7,6 +7,7 @@ nice to add:
position in the page edit form, without actually reposting the form. position in the page edit form, without actually reposting the form.
(Falling back to the current reposting of the form if javascript is not (Falling back to the current reposting of the form if javascript is not
available of course.) available of course.)
* Allow files to be attached from the add comments form, as well as the edit page.
* An option to not `rcs_add` new attachments, but just write them to the * An option to not `rcs_add` new attachments, but just write them to the
srcdir. This would allow the admin to review them, and manually srcdir. This would allow the admin to review them, and manually
add/delete them before they bloat history. add/delete them before they bloat history.

View File

@ -0,0 +1,10 @@
[[!template id=gitbranch branch=mhameed/html_lang_and_dir author="[[mhameed]]"]]
[[!tag wishlist]]
When a wiki is translatable, it would be nice to have the language code and the direction of the text exposed as template variables.
This means:
1. Better rendering for rtl languages.
2. Content can correctly be tagged with the language code, to enable screenreaders and other accessibility providers to render/speak the text in the correct language.
The [[patch]] is currently being used on http://addons.nvda-project.org and seems to work well. --[[mhameed]]

View File

@ -0,0 +1,6 @@
[[!template id=gitbranch branch=cbaines/osm-icon-fixes author="[[cbaines]]"]]
[[!tag patch]]
Currently, the documented icon parameter to the waypoint directive is not used. This patch fixes that, and fixes some related problems in the KML output.
> That patch looks pretty awesome, thanks for your work on it. I don't have time to test it now, but if it works, I am all for its inclusion. --[[anarcat]]

View File

@ -0,0 +1 @@
Running ikiwiki on [homepage](http://mesarhameed.info/) also responsible for <http://addons.nvda-project.org>.