intrigeri
61a01d3388
po: write detailed specification of wished backlinks behaviour
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07 16:33:28 +01:00
intrigeri
daa04ae436
po: fix link to homepage in special case
...
... by wrapping IkiWiki::urlto in order to workaround hard-coded
/index.$config{htmlext}, which is wrong when usedirs=0 and po_link_to=current
and translatable homepage
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 17:28:04 +01:00
intrigeri
8b001dbb00
po: redesign (once more) automatic POT/PO files update
...
Now use the change hook to update these files, check them into VCS, and trigger
IkiWiki::refresh as needed. The needsbuild hook's help was required to prevent
infinite looping.
This more rigorous way of doing this fixes recentchanges (that was previously
not updated in some cases), and probably is a better long-term solution than the
two previously tested ones.
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 15:54:55 +01:00
intrigeri
c8cc03c824
po: doc/todo update
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 14:22:54 +01:00
intrigeri
802be94104
po: use prep_writefile before creating any files in refreshpot and refreshpo
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 14:17:33 +01:00
intrigeri
a4cbfce763
po: reported parentlinks misbehaviour in special case
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 14:12:05 +01:00
intrigeri
769be3d48e
po: po_link_to is safe, and fallbacks to a working value if needed
...
warnings are displayed if it is set to an invalid or incompatible value
(e.g. po_link_to=negotiated and disabled usedirs)
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 13:47:09 +01:00
intrigeri
419de149a6
po: mark po_translatable_pages as a safe configuration setting
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 13:29:48 +01:00
intrigeri
34afa2c07d
po: po_master_language and po_slave_languages are safe config settings
...
... and check their validity in checkconfig
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 13:26:45 +01:00
intrigeri
c96dd00480
po: added license and copyright
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 13:01:33 +01:00
intrigeri
e7f508c5ac
Merge commit 'upstream/master' into prv/po
2008-11-06 12:32:41 +01:00
intrigeri
1f54c13ec2
Merge commit 'upstream/po' into prv/po
...
Conflicts:
IkiWiki/Plugin/po.pm
doc/plugins/po.mdwn
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 12:28:31 +01:00
Joey Hess
fe580240d4
need license
2008-11-05 15:02:22 -05:00
Joey Hess
b609ae76ed
response
2008-11-05 14:58:35 -05:00
Joey Hess
6fbe214d91
fixed one security problem, two more need review
2008-11-05 14:47:50 -05:00
Joey Hess
7e95723dad
avoid hitting the shell with system()
2008-11-05 14:45:45 -05:00
Joey Hess
466ceb1394
response
2008-11-05 14:35:41 -05:00
Joey Hess
d6ac704500
comments and questions
2008-11-05 14:33:35 -05:00
Joey Hess
b76ee8a96d
minor wording improvements/changes
2008-11-05 14:22:02 -05:00
Joey Hess
127a8a3701
Merge commit 'intrigeri/po'
2008-11-05 13:50:26 -05:00
Joey Hess
f258902a21
response
2008-11-05 13:30:26 -05:00
Joey Hess
ab729c78b2
add a more useful example of a relative date ;-)
2008-11-05 13:21:16 -05:00
intrigeri
bd2dd8c603
po plugin: more detailed backlinks todo item
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-05 12:50:42 +01:00
intrigeri
4c6c00ccdf
Merge commit 'upstream/master' into prv/po
2008-11-04 23:39:15 +01:00
intrigeri
225e21f6c5
po plugin: redesign refresh mechanism after master page update
...
manually triggering IkiWiki::refresh() was at least dubious, and more or less
buggy (it randomly broke the whole backlinks feature); thinking a bit more to
add the necessary bits to @needsbuild seems like a better way. don't play with
ikiwiki's internals if not absolutely needed.
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-04 23:32:32 +01:00
intrigeri
bc5b875de8
po plugin: remove broken parentlinks for home page's translations
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-04 20:05:21 +01:00
intrigeri
61c4129aaa
po plugin: updated doc/todo
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-04 19:24:37 +01:00
neale
8903776a09
trackpad registered a click on save
2008-11-03 22:08:49 -05:00
neale
b2aa69762d
2008-11-03 22:07:58 -05:00
intrigeri
78155454a4
po plugin: updated doc+todo
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-03 01:21:06 +01:00
intrigeri
c7fbcf6c5e
po plugin: slave pages link to the master's discussion page
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-03 00:52:27 +01:00
intrigeri
c0d1f2cace
po plugin: updated todo / doc
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-02 23:10:59 +01:00
intrigeri
8e451ecda4
po: now uses inject
2008-11-02 20:19:51 +01:00
intrigeri
439a2d3c44
Revert "added the targetpage hook"
...
This reverts commit fc299df955
.
Such functionality can now be achieved using the inject() function.
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-02 18:34:10 +01:00
intrigeri
7c173aca3e
Revert "added hook urlpath" and "rename urlpath hook into tweakurlpath..."
...
This reverts commits d9b9022c13
and
39d44d443d
. This functionality should now be
achieved using the new inject() function.
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-02 18:08:50 +01:00
intrigeri
c696239b6b
po plugin: added TODO about charset/encoding in new translations
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-02 18:07:01 +01:00
intrigeri
9643ce20d8
Revert "added the tweakbestlink hook"
...
This reverts commit e51089e11f
.
The new "inject()" feature should replace this ad-hoc hook.
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-02 17:33:32 +01:00
intrigeri
7713653878
Merge commit 'origin/master' into prv/po
2008-11-02 13:11:00 +01:00
Joey Hess
8f7e6e76ac
rename
2008-10-31 18:02:03 -04:00
alexander
fd9192006b
2008-10-31 17:53:57 -04:00
alexander
efc1e4a369
2008-10-31 17:52:42 -04:00
Joey Hess
bb841f94f4
format: New plugin, allows embedding differntly formatted text inside a page (ie, otl inside a mdwn page, or syntax highlighted code inside a page).
2008-10-31 16:42:20 -04:00
jwalzer
8f5723e1d5
start discussion of the plugin
2008-10-30 12:27:09 -04:00
jwalzer
547d296924
opml-Plugin - Stub-Page
2008-10-30 12:22:51 -04:00
http://lollipopman.myopenid.com/
40b6033917
2008-10-30 08:28:28 -04:00
Joey Hess
3d72fd8f26
wording
2008-10-29 18:05:56 -04:00
https://yag.myopenid.com//
3c48758576
Fixed broken link.
2008-10-29 15:09:56 -04:00
Joey Hess
65bf71d387
organizing and pulling together syntax highlighting info
2008-10-26 19:43:57 -04:00
Joey Hess
1a883b3c50
include temp file for attachment change too
2008-10-24 13:44:03 -04:00
Joey Hess
dfef51e10e
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
2008-10-24 13:30:29 -04:00