]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/log
git.ikiwiki.info.git
16 years agoMy thoughts.
tschwinge [Mon, 20 Oct 2008 08:58:04 +0000 (04:58 -0400)]
My thoughts.

16 years agoUse the pure perl Data::Dumper when generating setup files to ensure that utf-8 chara...
Joey Hess [Mon, 20 Oct 2008 01:23:48 +0000 (21:23 -0400)]
Use the pure perl Data::Dumper when generating setup files to ensure that utf-8 characters are written out as such, and not as the encoded perl strings the C Data::Dumper produces.

Note that the text produced by the C version was interpreted fine
when ikiwiki loaded the setup file. But it was not user-friendly.

16 years agoFix issue with utf-8 in wikiname breaking session cookies, by entity-encoding the...
Joey Hess [Mon, 20 Oct 2008 01:07:12 +0000 (21:07 -0400)]
Fix issue with utf-8 in wikiname breaking session cookies, by entity-encoding the wikiname in the session cookie.

16 years agoadd displaytime hook
Joey Hess [Mon, 20 Oct 2008 00:12:37 +0000 (20:12 -0400)]
add displaytime hook

Need to use a hook because an exported function cannot be reliably
overridden. The replacement verstion was actually only affecting plugins
loaded after it.

formattime doesn't need a hook, since there's no reason to export it.

16 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sun, 19 Oct 2008 23:55:28 +0000 (19:55 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

16 years agosome more example bugfixes
intrigeri [Sun, 19 Oct 2008 23:48:14 +0000 (19:48 -0400)]
some more example bugfixes

16 years agofix example
intrigeri [Sun, 19 Oct 2008 23:47:19 +0000 (19:47 -0400)]
fix example

16 years agoneed to use localtime, fix width
Joey Hess [Sun, 19 Oct 2008 23:39:32 +0000 (19:39 -0400)]
need to use localtime, fix width

16 years agoresponse
Joey Hess [Sun, 19 Oct 2008 23:28:25 +0000 (19:28 -0400)]
response

16 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sun, 19 Oct 2008 23:27:15 +0000 (19:27 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

16 years agopreserve underlay file times
Joey Hess [Sun, 19 Oct 2008 23:25:23 +0000 (19:25 -0400)]
preserve underlay file times

I'd like to preserve the mtime and ctime of files in the underlay if
possible, to avoid ikiwiki thinking they've changed and refreshing them
each time it's upgraded.

But, fall back to the old install command for systems that lack cp -a.

16 years agofix relativedate timezone inclusion
Joey Hess [Sun, 19 Oct 2008 23:13:40 +0000 (19:13 -0400)]
fix relativedate timezone inclusion

The machine parseable date needs to include a timezone.

Also, simplified the interface for date display.

16 years agoWebserver, why ?
http://xma.myopenid.com/ [Sun, 19 Oct 2008 23:20:19 +0000 (19:20 -0400)]
Webserver, why ?

16 years agoinitial wishlist submission
intrigeri [Sun, 19 Oct 2008 23:19:24 +0000 (19:19 -0400)]
initial wishlist submission

16 years agoone more opinion
intrigeri [Sun, 19 Oct 2008 22:55:05 +0000 (18:55 -0400)]
one more opinion

16 years agolinked to rcs/git to be in the backlinks
intrigeri [Sun, 19 Oct 2008 22:45:38 +0000 (18:45 -0400)]
linked to rcs/git to be in the backlinks

16 years agoinitial tip submission
intrigeri [Sun, 19 Oct 2008 22:33:59 +0000 (18:33 -0400)]
initial tip submission

16 years agoinitial bug report
intrigeri [Sun, 19 Oct 2008 22:19:14 +0000 (18:19 -0400)]
initial bug report

16 years agoinitial bug report
intrigeri [Sun, 19 Oct 2008 22:13:47 +0000 (18:13 -0400)]
initial bug report

16 years agopartial support for calling onload once the DOM is ready
Joey Hess [Sun, 19 Oct 2008 19:45:29 +0000 (15:45 -0400)]
partial support for calling onload once the DOM is ready

This adds support for gecko and newer versions of opera
to call onload once the DOM is ready, rather than waiting for
all images in the page to load. Makes relativedate behave
somewhat better.

Dealing with this means jumping into the browser
incompatability waters that I prefer to avoid.
Full solutions for most of the major browsers are listed here:
http://dean.edwards.name/weblog/2006/06/again/

However, no *license* is listed there, so I can't use that code. Also, the more
involved code appears to have various issues (such as the inline IE code not
working via https). So I only added the simple call to a hook needed
for gecko/opera.

It seems that the only standards-compliant way to do this is using the
`defer` attribute to a `script` tag, using an external script that will be
loaded once the DOM is ready, and can call onload. However, that has
browser compatability issues of its own, since not all browsers honor
`defer`.

Perhaps I should really just be using one of the javascript frameworks, that
include code to solve this for the major browsers. But something about them
still puts me off, and this issue is minor enough that I'm willing to live
with incomplete support for now.

16 years agomark up date so relativedate will work
Joey Hess [Sun, 19 Oct 2008 19:17:00 +0000 (15:17 -0400)]
mark up date so relativedate will work

16 years agoUpdated French translation. Closes: #502694
Joey Hess [Sun, 19 Oct 2008 16:59:35 +0000 (12:59 -0400)]
Updated French translation. Closes: #502694

16 years agoCorrect copy&paste-o.
tschwinge [Sun, 19 Oct 2008 16:14:08 +0000 (12:14 -0400)]
Correct copy&paste-o.

16 years agopo plugin: set every configuration item to unsafe
intrigeri [Sun, 19 Oct 2008 15:18:17 +0000 (17:18 +0200)]
po plugin: set every configuration item to unsafe

We will check later which ones are actually safe enough for websetup.

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agoAdd links to the moin2iki code.
JoshTriplett [Sun, 19 Oct 2008 00:05:37 +0000 (20:05 -0400)]
Add links to the moin2iki code.

16 years ago(no commit message)
JoshTriplett [Sun, 19 Oct 2008 00:02:58 +0000 (20:02 -0400)]

16 years agoUpdate my contact info.
JoshTriplett [Sun, 19 Oct 2008 00:02:28 +0000 (20:02 -0400)]
Update my contact info.

16 years agoremove old dup div
Joey Hess [Sat, 18 Oct 2008 23:11:57 +0000 (19:11 -0400)]
remove old dup div

16 years agoMerge branch 'prv/po' into pub/po
intrigeri [Sat, 18 Oct 2008 22:16:03 +0000 (00:16 +0200)]
Merge branch 'prv/po' into pub/po

16 years agopo plugin: doc fix
intrigeri [Sat, 18 Oct 2008 22:15:44 +0000 (00:15 +0200)]
po plugin: doc fix

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agoMerge branch 'prv/po' into pub/po
intrigeri [Sat, 18 Oct 2008 22:12:21 +0000 (00:12 +0200)]
Merge branch 'prv/po' into pub/po

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: added ISTRANSLATION and ISTRANSLATABLE template variables
intrigeri [Sat, 18 Oct 2008 22:05:13 +0000 (00:05 +0200)]
po plugin: added ISTRANSLATION and ISTRANSLATABLE template variables

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: todo++
intrigeri [Sat, 18 Oct 2008 21:06:56 +0000 (23:06 +0200)]
po plugin: todo++

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: todo++
intrigeri [Sat, 18 Oct 2008 21:06:56 +0000 (23:06 +0200)]
po plugin: todo++

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agoTracking some issues on my user page
http://jblevins.org/ [Sat, 18 Oct 2008 20:53:28 +0000 (16:53 -0400)]
Tracking some issues on my user page

16 years agopo plugin(refreshpot): prevent PO references to be written
intrigeri [Sat, 18 Oct 2008 19:47:49 +0000 (21:47 +0200)]
po plugin(refreshpot): prevent PO references to be written

... else we can fall into some kind of nasty infinite loop, when two ikiwiki
instances don't store their working copy of the repository at the same place:
every POT file update in one repository would trigger an update of the same POT
file in the others repository, and so on.

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agoUnclosed div
http://jblevins.org/ [Sat, 18 Oct 2008 19:36:18 +0000 (15:36 -0400)]
Unclosed div

16 years agopo plugin: do not allow msgmerge to create backup files
intrigeri [Sat, 18 Oct 2008 17:18:22 +0000 (19:18 +0200)]
po plugin: do not allow msgmerge to create backup files

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sat, 18 Oct 2008 16:48:10 +0000 (12:48 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

16 years agoallow ikiwiki.js to be loaded twice w/o clobbering previous hooks
Joey Hess [Sat, 18 Oct 2008 16:47:08 +0000 (12:47 -0400)]
allow ikiwiki.js to be loaded twice w/o clobbering previous hooks

Clearly it's suboptimal for it to be loaded twice, but this is a quick fix
at least.

16 years agosyntax.t: skip po since it uses a perl module not in build deps
intrigeri [Sat, 18 Oct 2008 14:22:37 +0000 (16:22 +0200)]
syntax.t: skip po since it uses a perl module not in build deps

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: todo++
intrigeri [Sat, 18 Oct 2008 00:49:32 +0000 (02:49 +0200)]
po plugin: todo++

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: only refresh private module variables when needed
intrigeri [Wed, 15 Oct 2008 05:23:06 +0000 (07:23 +0200)]
po plugin: only refresh private module variables when needed

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: add correct dependencies on pages using OTHERLANGUAGES
intrigeri [Wed, 15 Oct 2008 05:12:28 +0000 (07:12 +0200)]
po plugin: add correct dependencies on pages using OTHERLANGUAGES

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: todo++
intrigeri [Wed, 15 Oct 2008 05:11:13 +0000 (07:11 +0200)]
po plugin: todo++

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: bugfix (OTHERLANGUAGES)
intrigeri [Wed, 15 Oct 2008 05:06:35 +0000 (07:06 +0200)]
po plugin: bugfix (OTHERLANGUAGES)

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: initial implementation of automatic POT/PO update
intrigeri [Wed, 15 Oct 2008 04:47:06 +0000 (06:47 +0200)]
po plugin: initial implementation of automatic POT/PO update

The updated or created PO files are put under version control.

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: todo++ more security checks needed
intrigeri [Wed, 15 Oct 2008 03:36:24 +0000 (05:36 +0200)]
po plugin: todo++ more security checks needed

... when creating new files.

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: rebuild %translations after having created missing POT/PO files
intrigeri [Wed, 15 Oct 2008 03:27:28 +0000 (05:27 +0200)]
po plugin: rebuild %translations after having created missing POT/PO files

This is not needed yet, but when newly created POT/PO files are added to
%pagesources and other data structures, we'll need this.

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: create missing POT/PO files in needsbuild hook
intrigeri [Wed, 15 Oct 2008 03:22:41 +0000 (05:22 +0200)]
po plugin: create missing POT/PO files in needsbuild hook

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: documentation work
intrigeri [Wed, 15 Oct 2008 00:42:08 +0000 (02:42 +0200)]
po plugin: documentation work

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: added and documented PERCENTTRANSLATED template variable
intrigeri [Wed, 15 Oct 2008 00:25:34 +0000 (02:25 +0200)]
po plugin: added and documented PERCENTTRANSLATED template variable

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: make translation percentage available in OTHERLANGUAGES loop
intrigeri [Wed, 15 Oct 2008 00:13:56 +0000 (02:13 +0200)]
po plugin: make translation percentage available in OTHERLANGUAGES loop

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: documented custom PageSpec tests, reorganized doc a bit
intrigeri [Tue, 14 Oct 2008 23:25:01 +0000 (01:25 +0200)]
po plugin: documented custom PageSpec tests, reorganized doc a bit

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: added currentlang() custom PageSpec function
intrigeri [Tue, 14 Oct 2008 23:23:19 +0000 (01:23 +0200)]
po plugin: added currentlang() custom PageSpec function

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: todo update wrt. newly translatable pages
intrigeri [Tue, 14 Oct 2008 23:05:22 +0000 (01:05 +0200)]
po plugin: todo update wrt. newly translatable pages

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: added lang() custom PageSpec function
intrigeri [Tue, 14 Oct 2008 22:35:17 +0000 (00:35 +0200)]
po plugin: added lang() custom PageSpec function

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: todo++ : security note about system()
intrigeri [Tue, 14 Oct 2008 22:34:25 +0000 (00:34 +0200)]
po plugin: todo++ : security note about system()

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: updated todo wrt. automatic POT/PO update/creation
intrigeri [Tue, 14 Oct 2008 22:10:32 +0000 (00:10 +0200)]
po plugin: updated todo wrt. automatic POT/PO update/creation

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: make any slave page dependent on the corresponding master page
intrigeri [Tue, 14 Oct 2008 22:05:52 +0000 (00:05 +0200)]
po plugin: make any slave page dependent on the corresponding master page

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: bugfix - only refresh POT/PO for translatable pages
intrigeri [Tue, 14 Oct 2008 21:58:21 +0000 (23:58 +0200)]
po plugin: bugfix - only refresh POT/PO for translatable pages

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: do not trust po4a functions return value
intrigeri [Tue, 14 Oct 2008 21:55:46 +0000 (23:55 +0200)]
po plugin: do not trust po4a functions return value

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: todo++: create POT/PO when the plugin is enabled
intrigeri [Tue, 14 Oct 2008 21:54:26 +0000 (23:54 +0200)]
po plugin: todo++: create POT/PO when the plugin is enabled

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: updated doc to reflect current status of automatic PO files update
intrigeri [Tue, 14 Oct 2008 15:21:03 +0000 (17:21 +0200)]
po plugin: updated doc to reflect current status of automatic PO files update

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: refresh PO files when a master page is updated
intrigeri [Tue, 14 Oct 2008 15:17:24 +0000 (17:17 +0200)]
po plugin: refresh PO files when a master page is updated

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: refresh POT files when a master page is updated
intrigeri [Tue, 14 Oct 2008 14:36:01 +0000 (16:36 +0200)]
po plugin: refresh POT files when a master page is updated

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: build %translations in needsbuild hook rather than scan
intrigeri [Tue, 14 Oct 2008 13:24:58 +0000 (15:24 +0200)]
po plugin: build %translations in needsbuild hook rather than scan

... because we'll need this data to refresh POT/PO files in needsbuild hook

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: created OTHERLANGUAGES template loop
intrigeri [Mon, 13 Oct 2008 20:07:21 +0000 (22:07 +0200)]
po plugin: created OTHERLANGUAGES template loop

It currently only provides basic translations/master pages links.
Updated documentation accordingly.

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: po_slave_languages is a hash, rather than a hash of hashes
intrigeri [Mon, 13 Oct 2008 16:21:59 +0000 (18:21 +0200)]
po plugin: po_slave_languages is a hash, rather than a hash of hashes

The latter seems to be unsupported by ikiwiki config system.

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: fix formatting in documentation
intrigeri [Mon, 13 Oct 2008 15:22:49 +0000 (17:22 +0200)]
po plugin: fix formatting in documentation

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: build %translations at scan time
intrigeri [Mon, 13 Oct 2008 15:19:56 +0000 (17:19 +0200)]
po plugin: build %translations at scan time

... so that we can consider it as complete at preprocess time

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: memoize istranslatable and _istranslation
intrigeri [Sat, 11 Oct 2008 01:41:12 +0000 (03:41 +0200)]
po plugin: memoize istranslatable and _istranslation

Both functions are called very often, and:
- istranslatable has no side effect
- _istranslation is the helper function, without any side effect, for the
  istranslation function

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin[filter]: avoid converting more than once per destfile
intrigeri [Sat, 11 Oct 2008 01:02:43 +0000 (03:02 +0200)]
po plugin[filter]: avoid converting more than once per destfile

Only the first filter function call on a given {page,destpage} must convert it
from the PO file, subsequent calls must leave the passed $content unmodified.

Else, preprocessing loops are the rule.

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: bugfix (calling function in wrong module)
intrigeri [Sat, 11 Oct 2008 01:01:59 +0000 (03:01 +0200)]
po plugin: bugfix (calling function in wrong module)

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: added *.pot to wiki_file_prune_regexps
intrigeri [Fri, 10 Oct 2008 19:56:40 +0000 (21:56 +0200)]
po plugin: added *.pot to wiki_file_prune_regexps

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: move translatable pages to setup file, refactor
intrigeri [Fri, 10 Oct 2008 19:47:20 +0000 (21:47 +0200)]
po plugin: move translatable pages to setup file, refactor

Replaced [[!translatable]] directive with po_translatable_pages setting.

Moved istranslatable/istranslation code to helper functions leaving place for
future caching and/or memoization. The PageSpec functions still work.

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: added note about not publishing .pot files
intrigeri [Fri, 10 Oct 2008 19:03:21 +0000 (21:03 +0200)]
po plugin: added note about not publishing .pot files

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: added todo note about optimization
intrigeri [Fri, 10 Oct 2008 17:29:16 +0000 (19:29 +0200)]
po plugin: added todo note about optimization

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: allow pagestate update (bugfix)
intrigeri [Fri, 10 Oct 2008 16:08:00 +0000 (18:08 +0200)]
po plugin: allow pagestate update (bugfix)

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: respect documented convention to store pagestate
intrigeri [Fri, 10 Oct 2008 16:01:06 +0000 (18:01 +0200)]
po plugin: respect documented convention to store pagestate

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: update doc (move finished item from todo)
intrigeri [Fri, 10 Oct 2008 15:39:28 +0000 (17:39 +0200)]
po plugin: update doc (move finished item from todo)

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: implemented po_link_to=current
intrigeri [Fri, 10 Oct 2008 15:37:14 +0000 (17:37 +0200)]
po plugin: implemented po_link_to=current

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: added istranslatable() pagespec function, and use it
intrigeri [Fri, 10 Oct 2008 15:10:40 +0000 (17:10 +0200)]
po plugin: added istranslatable() pagespec function, and use it

(do not name non-translatable pages index.LL.html)

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: implemented po_link_to=negotiated
intrigeri [Fri, 10 Oct 2008 13:48:35 +0000 (15:48 +0200)]
po plugin: implemented po_link_to=negotiated

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: rewrite internal linking specification
intrigeri [Fri, 10 Oct 2008 13:35:55 +0000 (15:35 +0200)]
po plugin: rewrite internal linking specification

(not implemented yet)

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: implement linking specification in one of the main cases
intrigeri [Fri, 10 Oct 2008 13:16:04 +0000 (15:16 +0200)]
po plugin: implement linking specification in one of the main cases

i.e. in case usedirs is enabled and po_link_to_current_language is disabled

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agorename urlpath hook into tweakurlpath for consistency's sake
intrigeri [Fri, 10 Oct 2008 12:46:48 +0000 (14:46 +0200)]
rename urlpath hook into tweakurlpath for consistency's sake

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agoadded the tweakbestlink hook
intrigeri [Fri, 10 Oct 2008 12:30:31 +0000 (14:30 +0200)]
added the tweakbestlink hook

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: add po_link_to_current_language option, check config
intrigeri [Fri, 10 Oct 2008 11:57:48 +0000 (13:57 +0200)]
po plugin: add po_link_to_current_language option, check config

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: use pagespec_match() instead of direct match_istranslation calls
intrigeri [Wed, 8 Oct 2008 18:31:46 +0000 (20:31 +0200)]
po plugin: use pagespec_match() instead of direct match_istranslation calls

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: added [[!translatable]] directive
intrigeri [Wed, 8 Oct 2008 13:02:30 +0000 (15:02 +0200)]
po plugin: added [[!translatable]] directive

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: clearer file naming specs
intrigeri [Wed, 8 Oct 2008 12:37:43 +0000 (14:37 +0200)]
po plugin: clearer file naming specs

i.e. clarify that master pages do not have to obey a special naming convention,
so that migration from/to this plugin is smooth

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: add one more pagespec function to the specification
intrigeri [Wed, 8 Oct 2008 12:30:50 +0000 (14:30 +0200)]
po plugin: add one more pagespec function to the specification

(not implemented yet)

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: linking behavior specification
intrigeri [Wed, 8 Oct 2008 09:47:37 +0000 (11:47 +0200)]
po plugin: linking behavior specification

(no implementation yet)

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agoadded hook urlpath
intrigeri [Tue, 7 Oct 2008 22:50:10 +0000 (00:50 +0200)]
added hook urlpath

This hook can be used to modify the internal urls generated by ikiwiki.

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: switch to page.LL.html naming convention
intrigeri [Tue, 7 Oct 2008 20:39:17 +0000 (22:39 +0200)]
po plugin: switch to page.LL.html naming convention

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: enhance documentation
intrigeri [Tue, 7 Oct 2008 20:20:07 +0000 (22:20 +0200)]
po plugin: enhance documentation

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: name rendered master pages like slave ones (page.html.LL)
intrigeri [Tue, 7 Oct 2008 20:08:28 +0000 (22:08 +0200)]
po plugin: name rendered master pages like slave ones (page.html.LL)

Apache's content negotiation transparently redirects any old URL (page.html) to
the new one, depending on the client preferred language (i.e. a German browser
will be fed with page.html.de). Transition to this naming convention is then
really smooth.

This naming convention allows one to deliberately display the master page, even
if her browser is configured for another language.

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: initial documentation, along with huge TODO list
intrigeri [Mon, 6 Oct 2008 01:42:26 +0000 (03:42 +0200)]
po plugin: initial documentation, along with huge TODO list

Signed-off-by: intrigeri <intrigeri@boum.org>
16 years agopo plugin: reworked available options
intrigeri [Sun, 5 Oct 2008 19:34:43 +0000 (21:34 +0200)]
po plugin: reworked available options

- renamed po_supported_languages to po_slave_languages
- added po_master_language option, which will soon be useful

Signed-off-by: intrigeri <intrigeri@boum.org>