ikiwiki/doc
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
..
banned_users
basewiki
bugs patch overcoming the issue of <ul> with no <li> 2009-07-21 00:29:42 -04:00
cgi
contact
css_market removed 2009-04-27 10:12:22 -04:00
examples 2009-03-02 18:39:02 -05:00
forum 2009-07-15 06:14:31 -04:00
freesoftware response 2009-03-25 16:25:02 -04:00
ikiwiki Use a link that will work on other wikis 2009-07-19 15:17:17 -04:00
ikiwiki-mass-rebuild
ikiwikiusers
index 2009-04-10 00:05:15 -04:00
install response 2009-07-12 21:27:50 -04:00
logo
news add news item for ikiwiki 3.14159 2009-07-16 14:46:50 -04:00
patch Tag patches with the plugin to which they apply, or core 2009-07-18 13:06:04 +01:00
plugins po: Add support for mo files in underlays 2009-07-21 11:31:51 +02:00
post-commit
rcs minor formatting 2009-05-13 19:46:05 -04:00
roadmap
sandbox 2009-06-15 12:52:16 -04:00
security
setup response 2009-05-05 14:28:42 -04:00
smileys
soc
tags
templates
tips Instructions to allow .cgi files to execute from anywhere using boa webserver 2009-06-08 03:33:30 -04:00
todo how to achieve this by modifying your templates 2009-07-20 10:03:50 -04:00
translation update 2009-07-19 15:01:00 +02:00
usage
users 2009-07-20 10:29:39 -04:00
w3mmode
wikiicons
wikitemplates A wish about ikiwiki looking for its local setup. 2009-05-17 11:37:54 -04:00
GPL
TourBusStop.mdwn
anchor.mdwn move anchor page out of ikiwiki subdir 2009-06-05 16:24:46 -04:00
backlinks.mdwn
banned_users.mdwn
basewiki.mdwn add note about the basewiki being self contained 2009-06-05 16:33:07 -04:00
blog.mdwn
bugs.mdwn
cgi.mdwn
commit-internals.mdwn
consultants.mdwn
contact.mdwn typo 2009-01-23 20:08:52 -05:00
convert.mdwn
css.mdwn
css_market.mdwn update zack.css from gitweb and repoint link to it 2009-03-26 14:11:51 -04:00
download.mdwn * Now ikiwiki backports for Ubuntu Jaunty 2009-06-15 04:16:53 -04:00
examples.mdwn
favicon.ico
features.mdwn
forum.mdwn
freesoftware.mdwn
git.mdwn add jonas's git repo 2009-07-20 04:46:20 +02:00
ikiwiki-makerepo.mdwn typo 2009-04-04 17:54:32 -04:00
ikiwiki-mass-rebuild.mdwn
ikiwiki-transition.mdwn ikiwiki-transition: deduplinks was broken and threw away all metadata stored by plugins in the index. Fix this bug. 2009-05-22 13:09:11 -04:00
ikiwiki-update-wikilist.mdwn
ikiwiki.mdwn
ikiwikiusers.mdwn Add tumashu's page url 2009-07-19 00:46:39 -04:00
index.mdwn Revert "testing 123" 2009-06-02 12:27:22 -04:00
install.mdwn
local.css
logo.mdwn
news.mdwn
pagehistory.mdwn repolist: New plugin to support the rel=vcs-* microformat. 2009-01-07 16:07:46 -05:00
patch.mdwn
plugins.mdwn
post-commit.mdwn
rcs.mdwn
recentchanges.mdwn
roadmap.mdwn formatting 2008-12-31 15:43:14 -05:00
robots.txt
sandbox.mdwn add chinese test 2009-07-19 01:08:23 -04:00
security.mdwn Fix version. 2008-12-31 18:10:18 -05:00
setup.mdwn combine two pages 2009-01-12 20:01:03 -05:00
shortcuts.mdwn remove wikilink to ikiwiki/directive/shortcut 2009-05-22 13:35:47 -04:00
sitemap.mdwn
smileys.mdwn
soc.mdwn
style.css highlight: New plugin supporting syntax highlighting of pretty much anything. 2009-05-22 22:57:03 -04:00
tags.mdwn
templates.mdwn
tipjar.mdwn add Mick Pollard 2009-06-18 22:02:53 -04:00
tips.mdwn
todo.mdwn
translation.mdwn build translated underlays for use with non-English wikis 2009-07-20 07:20:13 +02:00
usage.mdwn fix typo in --getctime description 2009-04-03 14:28:15 -04:00
users.mdwn
w3mmode.mdwn
whyikiwiki.mdwn
wikitemplates.mdwn response 2009-05-21 14:15:50 -04:00
wishlist.mdwn