intrigeri
f8fee76f99
fixed link
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-08 00:05:35 +01:00
intrigeri
cdd3d2416b
Merge branch 'prv/po' into pub/po
2008-11-07 22:55:09 +01:00
intrigeri
17bab92c31
added symlink to pagespec/po in basewiki to fix the build
...
else basewiki_brokenlinks.t fails.
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07 22:53:53 +01:00
intrigeri
f652af11fd
Merge commit 'upstream/master' into pub/po
2008-11-07 22:19:34 +01:00
intrigeri
339478ba47
Merge commit 'upstream/master' into prv/po
2008-11-07 22:19:24 +01:00
intrigeri
a0ac346079
po: finished backlinks implementation
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07 22:17:54 +01:00
intrigeri
d1e5affbc2
po: oops, removed debug output from testsuit
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07 21:39:55 +01:00
intrigeri
34ab884242
po: implemented linking/backlinks specification for po_link_to=negotiated
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07 21:27:00 +01:00
intrigeri
14415a2b67
po: implemented linking specification in testcase
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07 21:24:00 +01:00
intrigeri
3e341e64c2
po: added pofiles() function, will use this soon
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07 21:23:23 +01:00
Joey Hess
fb89bfd26b
document wikistatedir, though it's still internal
2008-11-07 12:23:30 -05:00
http://josephturian.blogspot.com/
32b86c5f5b
2008-11-07 11:21:04 -05:00
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
4879a7f033
po: add comments
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07 16:33:10 +01:00
intrigeri
d843b2ce88
Merge commit 'upstream/po' into prv/po
2008-11-07 11:54:03 +01:00
Joey Hess
bc705245ca
oops
2008-11-06 20:49:52 -05:00
Joey Hess
11d377af81
txt: Do not encode quotes when filtering the txt, as that broke later parsing of any directives on the page.
2008-11-06 20:49:18 -05:00
Joey Hess
96d52b82ed
response
2008-11-06 16:12:16 -05:00
Joey Hess
db5ea4d4f0
meta: Plugin is now enabled by default since the basewiki uses it.
2008-11-06 16:08:11 -05:00
Joey Hess
72c03656f9
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
2008-11-06 16:05:23 -05:00
Joey Hess
ecf2399f4f
aggregate: Try to query XML::Feed for the base url when derelevatising links. Since this needs the just released XML::Feed 0.3, as well as a not yet released XML::RSS, it will fall back to the old method if no xml:base info is available.
2008-11-06 16:05:10 -05:00
http://josephturian.blogspot.com/
dc8929e2f0
2008-11-06 15:52:27 -05:00
Joey Hess
3689d28f3a
response
2008-11-06 13:56:41 -05:00
Joey Hess
56fd048210
response
2008-11-06 13:51:01 -05:00
Joey Hess
f6db920536
note copyright of po.pm
2008-11-06 13:46:43 -05: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
725dae7353
po: misc responses to Joey
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 16:29:46 +01:00
http://alcopop.org/me/openid/
98ffa6e155
2008-11-06 10:17:18 -05: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
http://mjr.towers.org.uk/
81846ef42e
New bug report
2008-11-06 09:27:47 -05: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
10af328ff1
po: syntax warning fix
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 14:08:33 +01:00
intrigeri
7ad5c5cbdc
po: fixed whitespace
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 13:55:03 +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
256b3aeba8
po: response
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 12:34:47 +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
17bd930bc9
first pass over code
...
Only change of note is quoting some strings in a regexp, just in case
(also avoids the . matching any character!)
Mostly whitespace changes of no consequence.
2008-11-05 15:18:07 -05:00
Joey Hess
ae37bca0e2
backup refs to injected subs later
...
In case two plugins both inject replacements for these subs,
backup the ref just before injecting to make sure the most
recent version is seen.
2008-11-05 15:09:54 -05:00
Joey Hess
9b16e7f148
minor layout changes
2008-11-05 15:09:04 -05: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