intrigeri
80a630a3fb
po: fix canrename hook
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 17:49:10 +01:00
intrigeri
a8105f6859
rename: pass the CGI and session to the rename hook
...
The po plugin remame + canrename hook combination will need this.
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 17:47:20 +01:00
intrigeri
b24f236dfa
po: use the new canrename hook to prevent translation renames in the CGI
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 16:52:43 +01:00
intrigeri
3316f9cc73
rename: implemented new canrename hook
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 16:52:34 +01:00
intrigeri
741b26aa17
remove: implemented a new canremove hook; use it in the po plugin
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 16:44:39 +01:00
intrigeri
5852f03efa
po(todo): test results for markup languages support, thoughts about renaming/deleting
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 16:18:37 +01:00
intrigeri
5c2f6cb893
Merge commit 'upstream/master' into prv/po
2009-01-01 13:34:00 +01:00
intrigeri
c3af3840a2
Render.pm: also use 'our' for $backlinks_calculated
...
Since %backlinks are now declared with 'our', this variable must be as well.
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 13:07:08 +01:00
intrigeri
5412a95fd0
po(myurlto): more robust run_by_editpage logic
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 01:14:06 +01:00
intrigeri
37b8822762
po: some code/comments refactoring
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 01:08:40 +01:00
intrigeri
856de5734d
po: follow new coding style (removed Vim folding markers
...
)
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 01:08:35 +01:00
intrigeri
85f865b5d9
po: added postscan hook, to make pages depend on the pages linking to them
...
... so that nicepagetitle hook's effects, such as translation status displayed
in links, are updated when the linked page changes.
The replacement of 'my %backlinks' with 'our %backlinks' in Render.pm made this
work: previously, every postscan hook was called with an almost empty
%backlinks, which defeated all my attempts to implement this feature.
This feature hits performance a bit. Its cost was quite small in my real-world
use-cases (a few percents bigger refresh time), but could be bigger in worst
cases. Time will tell.
NB: this hack could also be used by my meta branch. It may even be a ikiwiki
optional feature.
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 01:08:10 +01:00
JoshTriplett
8202cfe19e
Fix version.
2008-12-31 18:10:18 -05:00
Joey Hess
b78d5a31cb
formatting
2008-12-31 15:43:14 -05:00
Joey Hess
7c9060aa58
fix link
2008-12-31 15:33:10 -05:00
Joey Hess
8088b5ab3b
fix link
2008-12-31 15:32:12 -05:00
Joey Hess
ef70530c4a
3.0 annoucement
2008-12-31 15:30:41 -05:00
Joey Hess
484cb2ddcf
formatting
2008-12-31 15:28:03 -05:00
Joey Hess
56e2854cec
formatting
2008-12-31 15:27:52 -05:00
Joey Hess
acfe82dd48
add news item for ikiwiki 3.00
2008-12-31 15:26:28 -05:00
Joey Hess
dec016c6c9
releasing version 3.00
2008-12-31 15:21:40 -05:00
Joey Hess
794dbd2476
fix moveprefs transition
2008-12-31 14:54:22 -05:00
Joey Hess
2b0473f090
move to correct location
2008-12-31 14:12:37 -05:00
Joey Hess
523650d9c2
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
2008-12-31 14:08:15 -05:00
Joey Hess
ffec680608
Merge branch 'next'
2008-12-31 13:33:10 -05:00
intrigeri
dc7c11261d
need_global_renamepage_hook: proposed solution implemented in my po branch
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-31 19:31:34 +01:00
intrigeri
bbeb9a4a14
po/todo: reflect current link-related work status
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-31 17:10:33 +01:00
intrigeri
885e4b607a
po: new po_translation_status_in_links option
...
... to make configurable the last implemented feature.
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-31 16:45:55 +01:00
intrigeri
be092e5639
po(nicepagetitle): forgot to display %
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-31 16:34:08 +01:00
intrigeri
63c2bf57cb
po(percenttranslated): fix issue with leading /
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-31 16:31:18 +01:00
intrigeri
0d874f0b69
po(nicepagetitle): append translation status to links to translated pages
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-31 15:45:05 +01:00
intrigeri
805e16ec65
po: inject our own (currently a no-op) nicepagetitle function
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-31 15:40:32 +01:00
intrigeri
c0c6b8d79e
po/todo: reflect current status of links-related work
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-31 15:23:59 +01:00
intrigeri
149a3e65a7
po: fix redirect after edit, using a somehow tricky hack
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-31 13:02:48 +01:00
intrigeri
bd10381103
po: delete translations of deleted master pages
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-31 11:47:18 +01:00
http://ptecza.myopenid.com/
b5e01d54f0
* Now unofficial Ikiwiki backports for Ubuntu Intrepid
2008-12-31 03:43:43 -05:00
Joey Hess
3e8b7a6b19
websetup: Avoid a crash when a new array setup item has been added in a new ikiwiki release, and is thus not present in the setup file yet.
...
This happened with camelcase_ignore. The code tried to convert the undef
value for it into an array.
2008-12-31 00:44:54 -05:00
Joey Hess
0daa4eb521
make sure value is defined before using it as an array
2008-12-31 00:08:46 -05:00
intrigeri
cd62acfb47
po: remove debug statements
2008-12-30 23:10:12 +01:00
intrigeri
f586eafe90
po: remove renamed pages special handling, not needed anymore
...
Thanks to the new rename hook behaviour, the whole renaming work is now done
by the rename plugin, and we don't need to remember which pages were renamed.
2008-12-30 23:00:46 +01:00
intrigeri
5738f30a29
the rename hook can now change the list of pages to rename
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-30 22:55:04 +01:00
intrigeri
c01485ae1a
renamed the renamepage hook to renamelink, added rename hook
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-30 21:36:40 +01:00
Joey Hess
47fc59c584
French translation update from Philippe Batailler. Closes : #510216
2008-12-30 13:38:27 -05:00
intrigeri
4e4fb18dbe
po.t: adapted a few tests to match the current ikiwiki behaviour
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-30 18:55:32 +01:00
intrigeri
21add7ffa8
Merge commit 'upstream/master' into prv/po
...
Conflicts:
debian/control
debian/copyright
doc/ikiwiki/pagespec.mdwn
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-30 18:24:36 +01:00
http://smcv.pseudorandom.co.uk/
8c571160cf
planning a future plugin
2008-12-29 17:25:12 -05:00
Joey Hess
caf091eae3
update
2008-12-29 15:58:20 -05:00
Joey Hess
1ca191b570
Merge branch 'master' into next
2008-12-29 15:08:32 -05:00
Joey Hess
f34dc3d8bd
htmlbalance: Demand-load HTML::TreeBuilder to avoid failing test suite if it is not present.
2008-12-29 15:08:18 -05:00
Joey Hess
82e6902a67
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
2008-12-29 14:59:48 -05:00