Commit Graph

9257 Commits (cf374e97cf571c847a21efce9c26b01315a054a1)

Author SHA1 Message Date
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
Joey Hess ee598e42f6 some initial instructions for publishing wikis on github 2008-12-29 14:58:54 -05:00
http://blog.mithis.net/ 3032909090 2008-12-29 02:01:49 -05:00
http://blog.mithis.net/ 1ac4637d4f 2008-12-29 01:26:34 -05:00
Joey Hess 00e55ed171 1st comment spam 2008-12-28 22:31:22 -05:00
Joey Hess f982a620f2 formatting 2008-12-28 22:23:15 -05:00
Joey Hess 0711c0c548 comments: Add cache avoidance.
This got lost when we added the jump-to-comment anchor.
2008-12-28 22:20:22 -05:00
Joey Hess d8f16c4d95 clarify cgiurl setting 2008-12-28 22:03:34 -05:00