Commit Graph

9266 Commits (190ea1d47fb03c640d3a244781901f349a53daee)

Author SHA1 Message Date
Joey Hess bc0de40c3c A recent change to gitweb removed support for the form of diffurl that many ikiwiki setups use. Document how to use the new url form. 2009-01-05 18:26:09 -05:00
http://hendry.iki.fi/ 865cbaea51 2009-01-05 16:31:50 -05:00
http://ptecza.myopenid.com/ 48ca2c95cd * Switched to Text::Markdown. Thanks a lot! 2009-01-05 16:21:35 -05:00
Joey Hess 09a76de33d analysis 2009-01-05 16:15:46 -05:00
Joey Hess d4599f7250 markdown bug 2009-01-05 16:00:19 -05:00
http://ptecza.myopenid.com/ 22358e4b27 * Problem with URLs with parentheses 2009-01-05 11:20:35 -05:00
http://hendry.iki.fi/ 45fa889473 openid bug? 2009-01-05 03:39:46 -05:00
Joey Hess b0a03fef65 yesno: Always accept English even when localised.
It seems to be a failing of i18n in unix that the translation stops at the
commands and the parameters to them, and ikiwiki is no exception with its
currently untranslated directives. So the little bit that's translated sticks
out like a sore thumb. It also breaks building of wikis if a different locale
happens to be set.

I suppose the best thing to do is either give up on the localisation of this
part completly, or make it recognise English in addition to the locale. I've
tenatively chosen the latter.

(Also accept 1 and 0 as input.)
2009-01-03 12:52:47 -05:00
Joey Hess 66ff63c296 Fix documentation about git hook to use right name. Closes: #510393 2009-01-03 12:40:22 -05:00
Joey Hess e411ee4ff7 it falls back to using install 2009-01-03 12:35:26 -05:00
Joey Hess 235136f55c Revert "Add actual result for the example"
This reverts commit be67d10a81.

We don't demo directives on directive doc pages, to avoid doing unnecessary
work at build time (not a big deal here) and to avoid broken directives if
the plugin is not enabled.

This fact could probably be documented better, but I don't want to mention
it on every page..
2009-01-03 12:31:48 -05:00
Joey Hess 42c91cab61 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-01-02 14:16:13 -05:00
Joey Hess 3428cdd9d5 ikiwiki-makerepo: Fix injecting of empty mercurial and bzr repositories. Closes: #510518 2009-01-02 14:15:47 -05:00
Joey Hess 499c4ed075 update 2009-01-02 14:11:41 -05:00
intrigeri c8e3136d00 po/todo: update
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 18:59:07 +01:00
intrigeri 4fd2807886 po(isvalidpo): more meaningful error message
... explaining how to go on with edit.

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 18:57:50 +01:00
intrigeri 4ad871810d po: back to the cansave hook, as the form validation is not sufficient
Form validation works, but after trying to save invalid PO content, the user is
brought back to the page he/she was editing, without any single clue to explain
why it was not saved. The dedicated cansave hook is thus necessary.

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 18:51:32 +01:00
intrigeri 7ef0c19cdf po: first attempt to replace cansave hook with form validate tweaks
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 17:51:17 +01:00
intrigeri 226c61f1aa po/todo: update
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 17:25:54 +01:00
intrigeri 33f9eeb4fb po/i18n: move the function names out of the translatable strings
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 17:24:54 +01:00
intrigeri da26603e07 po: updated copyright years
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 16:54:03 +01:00
intrigeri ba47fe4246 po: added note about now implemented feature
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 16:05:27 +01:00
intrigeri 0bf9ea723a meta branch merge required
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 16:05:27 +01:00
intrigeri fae3cef41a po(formbuilder_setup): remove the rename/remove buttons on slave pages
This has to be done after the rename/remove plugins have added
their buttons, so we set this hook to be run last.

The canrename/canremove hooks already ensure this is forbidden
at the backend level, so this is only UI sugar.

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 16:02:25 +01:00
intrigeri e5222db332 po: avoid warnings and possible bugs with nested named subroutines
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 15:14:58 +01:00
intrigeri 226abb373a po/todo: update
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 15:14:49 +01:00
intrigeri 14a79751e3 po: gettext-ize error messages
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 15:00:34 +01:00
intrigeri 586e6e3362 po/todo: remove silly ideas.
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 14:18:40 +01:00
intrigeri 724dbabc4a po: do not allow to create pages of type po
The main reason to do so is to bypass the "favor the type of linking page on
page creation" logic, which is unsuitable when a broken link is clicked on
a slave (PO) page.

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 14:09:34 +01:00
intrigeri 12178c2a64 po/todo: added better implementation ideas
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 13:43:08 +01:00
intrigeri 07c6a6a1fc po/todo: remove completed item
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 12:50:51 +01:00
intrigeri d1642e4cd9 po: cosmetic changes to percent translated display
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 12:36:07 +01:00
intrigeri f58cb48f1f po(formbuilder_setup): use a template to display the warning
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 12:27:10 +01:00
intrigeri 0f89ef0579 po: test formbuilder_setup hook to warn about new master page's language
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 12:15:21 +01:00
intrigeri f0e2ce4360 po/todo: added bugreport about new page's type
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 12:14:55 +01:00
intrigeri 876808568e po: require ikiwiki plugin interface 3.0
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 11:22:54 +01:00
mburmester fce78d71a0 bug reopened 2009-01-01 22:37:38 -05:00
http://openid.alexandrefranke.com/ be67d10a81 Add actual result for the example 2009-01-01 18:17:17 -05:00
intrigeri 6fe1e3b66d po/todo: update
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 23:36:57 +01:00
intrigeri 949c4c0c3a po: send msgfmt output to /dev/null, else it creates messages.mo files
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 23:33:16 +01:00
intrigeri d0c9c21687 po: fix error messages
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 23:32:52 +01:00
intrigeri c821cee108 po(cansave): check PO validity using new isvalidpo function
... because Po4a's parser does not care about malformed PO data.
Use gettext's msgfmt program instead.

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 23:12:08 +01:00
intrigeri 4ee7f63148 debian/control: suggest gettext, which is used by the po plugin
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 22:28:20 +01:00
intrigeri a5de24ec97 skeleton plugin: added the canrename and canremove hooks
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 22:20:54 +01:00
intrigeri 09d0321f15 po(TODO): the plugin code will need to be gettextized, at some point
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 22:18:27 +01:00
intrigeri 1d3da099b4 po(cansave): use po_to_markup to check PO validity
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 22:16:43 +01:00
intrigeri 5ebb42494d po: move most of filter code to its own function
Allow this new po_to_markup function to run in non-fatal mode,
we need this in our cansave hook.

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 22:16:07 +01:00
intrigeri 41eca80e25 po: register a (dummy) cansave hook
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 19:48:48 +01:00
intrigeri d69fdf6445 editpage: added a cansave hook
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 19:48:27 +01:00
intrigeri e895157397 Pass src, srcfile, dest and destfile to the canrename hook.
This is not needed by the use I'm doing of it, but seems more consistent to me.
Future users of this hook may need this data to make their mind.

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 18:04:37 +01:00