ikiwiki/doc/plugins
Joey Hess eca2dbe67f po: Add support for mo files in underlays
In order to support translated basewiki and other underlays, we need
support for mo files in underlays.

The code did not allow this before, because if a mo file was in an
underlay, then it might try to update it, and its pot, and write to the
underlay, which is guaranteed to either fail due to permissions, or be
undesirable.

To fix, my approach is to just detect if a mo or pot file that is about to
be updated is in an underlay, and skip updating it. This seems to work
well:

- If the mo is out of date in the underlay, it won't get updated, but this
  would probably be due to a problem in the underlay, or more likely,
  the wiki is being rebuilt and so it *thinks* the mo is out of date,
  but it's really not (and it would be a waste of time to rebuild it
  anyway).
- If a page from the basewiki is edited, it is saved to the srcdir,
  which causes generation of an updated mo and pot also in the srcdir;
  the underlay stops being used for that page, and everything seems
  to work.

Note that I am not including an underlay search directory for pot files.
They *seem* to be unnecessary for the underlay, since the mo files
in there never need to be updated.
2009-07-21 11:31:51 +02:00
..
aggregate fix a few directives using the old syntax 2008-12-23 16:25:52 -05:00
amazon_s3
autoindex 2008-10-30 08:28:28 -04:00
calendar 2008-11-26 11:42:10 -05:00
comments Fix documentation of anonok_pagespec. Closes: #521793 2009-03-30 13:07:50 -04:00
conditional
contrib move contrib/po to po/discussion 2009-07-19 12:45:42 +02:00
creole update deps and bundles 2009-02-12 13:15:23 -05:00
editdiff 2008-09-17 15:01:18 -04:00
filecheck filecheck: Fall back to testing for binary or plain text files if no mime type is detected. 2008-09-01 15:00:15 -04:00
format response 2008-11-10 13:30:20 -05:00
google apply patch to fix googleform xhtml 2009-02-14 02:38:17 -05:00
haiku
highlight response 2009-06-14 17:34:05 -04:00
hnb
htmlbalance use HTML::Entities 2008-11-17 14:27:11 -05:00
img response 2008-11-05 13:30:26 -05:00
map 2009-07-21 00:33:23 -04:00
mdwn shortcut: If default_pageext is set, first look for shortcuts.default_pageext 2009-02-12 13:04:20 -05:00
meta
more Test the more plugin. 2009-06-05 14:31:16 -04:00
openid minor: added an anchor (for referring). 2009-05-15 23:46:30 -04:00
orphans problem fixed 2008-10-09 19:15:39 -04:00
passwordauth passwordauth/discussion: Cosmetics 2009-04-30 00:24:41 +02:00
pingee
po note branch name 2009-07-20 04:49:16 +02:00
rawhtml
recentchanges
rst rst support for WikiLinks via native syntax (syntax tweak) 2009-07-04 03:52:58 -04:00
search
shortcut shortcut: If default_pageext is set, first look for shortcuts.default_pageext 2009-02-12 13:04:20 -05:00
table * Response 2008-09-05 05:21:56 -04:00
tag Fix wikilink to correct todo page 2009-02-20 05:05:57 -05:00
teximg
toc
toggle minor: wikilinks for better navigation. 2009-05-17 11:09:37 -04:00
txt
type relativedate: New javascript-alicious plugin that makes all dates display relative, in a very nice way, if I say so myself. 2008-10-17 20:47:32 -04:00
write finalise version 3.00 of the plugin api 2008-12-23 16:34:19 -05:00
404.mdwn add instruction of lighttpd 2009-02-11 01:56:01 -05:00
aggregate.mdwn enable aggregate_internal by default 2008-12-23 16:08:21 -05:00
amazon_s3.mdwn
anonok.mdwn minor: fixed a wikilink. 2009-07-09 19:41:13 -04:00
attachment.mdwn tag updates 2008-10-09 16:58:25 -04:00
autoindex.mdwn
blogspam.mdwn 2009-04-26 13:50:33 -04:00
brokenlinks.mdwn move demo back to plugin page 2008-09-11 17:17:10 -04:00
calendar.mdwn Typo. 2009-01-17 09:56:50 -05:00
camelcase.mdwn
color.mdwn misc minor changes 2008-09-11 18:29:07 -04:00
comments.mdwn comment: Make comment directives no longer use the internal "_comment" form, and document the comment directive syntax. 2009-06-02 17:06:46 -04:00
conditional.mdwn misc minor changes 2008-09-11 18:29:07 -04:00
contrib.mdwn reword 2009-05-21 15:29:36 -04:00
creole.mdwn more details on ikiwiki directives 2009-02-10 08:10:13 -05:00
cutpaste.mdwn Fix cut'n'past-o. 2008-12-11 19:36:36 -05:00
ddate.mdwn relativedate: New javascript-alicious plugin that makes all dates display relative, in a very nice way, if I say so myself. 2008-10-17 20:47:32 -04:00
discussion.mdwn remove deprecated googlecalendar plugin 2008-12-24 16:22:35 -05:00
editdiff.mdwn tag updates 2008-10-09 16:58:25 -04:00
editpage.mdwn editpage: New core plugin factoring out page editing to allow disabling it if desired. 2008-09-05 13:57:25 -04:00
edittemplate.mdwn tag updates 2008-10-09 16:58:25 -04:00
embed.mdwn formatting 2008-12-31 15:28:03 -05:00
favicon.mdwn
filecheck.mdwn filecheck: New plugin factoring out the PageSpec additions that were originally part of the attachment plugin. 2008-08-25 19:52:34 -04:00
format.mdwn 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
fortune.mdwn move example back to plugin 2008-09-11 17:29:08 -04:00
goodstuff.mdwn repolist: New plugin to support the rel=vcs-* microformat. 2009-01-07 16:07:46 -05:00
google.mdwn document google plugin 2008-10-10 17:13:33 -04:00
goto.mdwn rename apache404 -> 404 2009-01-31 19:26:36 -05:00
graphviz.mdwn move example back 2008-09-11 17:31:26 -04:00
haiku.mdwn misc minor changes 2008-09-11 18:29:07 -04:00
highlight.mdwn allow format to use any language supported by highlight 2009-05-23 05:17:26 -04:00
hnb.mdwn
html.mdwn
htmlbalance.mdwn adding htmlbalance; housekeeping 2008-11-17 14:09:53 -05:00
htmlscrubber.mdwn deprecate embed plugin too 2008-12-26 15:27:49 -05:00
htmltidy.mdwn htmlbalance: new plugin that balances tags by parsing and re-serializing 2008-11-17 10:46:21 +00:00
httpauth.mdwn httpauth: Document that ikiwiki.cgi has to be in a directory subject to authentication. Closes: #500524 2008-09-30 21:03:51 -04:00
img.mdwn misc minor changes 2008-09-11 18:29:07 -04:00
inline.mdwn misc minor changes 2008-09-11 18:29:07 -04:00
install.mdwn
link.mdwn Use non-deprecated wikilink page (ikiwiki/wikilink) 2008-09-08 08:36:29 -04:00
linkmap.mdwn move example 2008-09-11 17:41:33 -04:00
listdirectives.mdwn Fix typo 2008-09-11 23:02:02 -04:00
lockedit.mdwn add link to untrusted git push 2008-12-26 15:06:00 -05:00
map.mdwn re-add demo, was lost in will's changes 2008-09-11 17:44:46 -04:00
mdwn.mdwn
meta.mdwn meta: Plugin is now enabled by default since the basewiki uses it. 2008-11-06 16:08:11 -05:00
mirrorlist.mdwn
more.mdwn misc minor changes 2008-09-11 18:29:07 -04:00
opendiscussion.mdwn
openid.mdwn update openid docs regarding openid 2, since smcv noticed 2009-06-03 15:42:04 -04:00
orphans.mdwn move demo back to plugin and add example 2008-09-11 17:51:27 -04:00
otl.mdwn
pagecount.mdwn fix 2008-12-17 20:19:12 -05:00
pagestats.mdwn misc minor changes 2008-09-11 18:29:07 -04:00
pagetemplate.mdwn misc minor changes 2008-09-11 18:29:07 -04:00
parentlinks.mdwn
passwordauth.mdwn
pingee.mdwn updates 2008-10-24 13:29:41 -04:00
pinger.mdwn misc minor changes 2008-09-11 18:29:07 -04:00
po.mdwn po: Add support for mo files in underlays 2009-07-21 11:31:51 +02:00
poll.mdwn tag updates 2008-10-09 16:58:25 -04:00
polygen.mdwn move demo back to plugin page 2008-09-11 18:00:25 -04:00
postsparkline.mdwn misc minor changes 2008-09-11 18:29:07 -04:00
prettydate.mdwn relativedate: New javascript-alicious plugin that makes all dates display relative, in a very nice way, if I say so myself. 2008-10-17 20:47:32 -04:00
progress.mdwn misc minor changes 2008-09-11 18:29:07 -04:00
rawhtml.mdwn
recentchanges.mdwn
recentchangesdiff.mdwn
relativedate.mdwn add a more useful example of a relative date ;-) 2008-11-05 13:21:16 -05:00
remove.mdwn tag updates 2008-10-09 16:58:25 -04:00
rename.mdwn tag updates 2008-10-09 16:58:25 -04:00
repolist.mdwn repolist: New plugin to support the rel=vcs-* microformat. 2009-01-07 16:07:46 -05:00
rst.mdwn wording 2008-10-29 18:05:56 -04:00
search.mdwn tag updates 2008-10-09 16:58:25 -04:00
shortcut.mdwn misc minor changes 2008-09-11 18:29:07 -04:00
sidebar.mdwn
signinedit.mdwn
smiley.mdwn
sparkline.mdwn misc minor changes 2008-09-11 18:29:07 -04:00
table.mdwn misc minor changes 2008-09-11 18:29:07 -04:00
tag.mdwn rename tag() to tagged(); add docs 2009-02-19 18:54:25 -05:00
template.mdwn misc minor changes 2008-09-11 18:29:07 -04:00
testpagespec.mdwn misc minor changes 2008-09-11 18:29:07 -04:00
teximg.mdwn misc minor changes 2008-09-11 18:29:07 -04:00
textile.mdwn
toc.mdwn misc minor changes 2008-09-11 18:29:07 -04:00
toggle.mdwn misc minor changes 2008-09-11 18:29:07 -04:00
txt.mdwn Fixed a wikilink. 2009-06-05 13:55:48 -04:00
typography.mdwn
underlay.mdwn Document underlay plugin as included 2009-01-18 16:43:07 +00:00
version.mdwn tag updates 2008-10-09 16:58:25 -04:00
websetup.mdwn tag updates 2008-10-09 16:58:25 -04:00
wikitext.mdwn
wmd.mdwn look for wmd/wmd.js 2009-03-07 19:23:38 -05:00
write.mdwn Merge branch 'master' into po 2009-05-19 13:07:47 -04:00