Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-08-13 | Add discussionpage configuration setting | Joey Hess | |
By adding this setting, we get both more configurability, and a minor optimisation too, since gettext does not need to be called continually to get the Discussion value. | |||
2009-08-13 | optimise gettext calls | Joey Hess | |
2009-08-12 | more idiomatic use of foreach | Joey Hess | |
2009-08-12 | fix some more foreaches that clal functions to not use $_ | Joey Hess | |
2009-08-12 | use a more idiomatic foreach my | Joey Hess | |
2009-08-12 | inline: Avoid use of my $_ as it fails with older perls. Closes: #541215 | Joey Hess | |
2009-08-12 | po: Detect if nowrapi18n can't be passed to po4a, and warn about the old ↵ | Joey Hess | |
version, but continue. Closes: #541205 | |||
2009-08-10 | po: Fix copy of po file from underlay when editing | Joey Hess | |
When first editing a page that was in the underlay, avoid losing the translation by copying the po file over from the underlay. | |||
2009-08-08 | verify page name is sane | Joey Hess | |
paranoia; I was thinking about XSS attacks specificaly | |||
2009-08-08 | fix misleading comment | Joey Hess | |
2009-08-08 | Merge commit 'smcv/ready/getsource' | Joey Hess | |
Conflicts: debian/changelog | |||
2009-07-31 | Merge commit 'remotes/smcv/ready/inline-pagenames' into staging | Joey Hess | |
2009-07-31 | Merge commit 'remotes/smcv/ready/harishcm-map-fix' into staging | Joey Hess | |
2009-07-31 | Merge commit 'remotes/smcv/ready/among' | Joey Hess | |
2009-07-27 | img: Fix adding of dependency from page to the image. | Joey Hess | |
This was impressively broken. add_depends was being called with params backwards, and on parameter was set to the name of the generated file, which isn't in the source. Now updates to images will update the page that contains them, thus updating them. This is unncessary for fullsize images, so skipped. | |||
2009-07-27 | getsource: remove temporary variable | Simon McVittie | |
2009-07-26 | getsource: remove unnecessary IkiWiki:: prefixes | Simon McVittie | |
Many variables and functions are exported. | |||
2009-07-26 | getsource: don't allow getting the source of an attachment | Simon McVittie | |
Serving up images etc. as text/plain; charset=utf-8 is unlikely to work very well, and there's no point in having this CGI action for attachments (since they're copied into the output as-is anyway). | |||
2009-07-26 | getsource: turn missing pages into a 404 | Simon McVittie | |
Also restructure so we return early on missing pages. | |||
2009-07-26 | getsource: default to saying page source is in UTF-8, and make the example ↵ | Simon McVittie | |
match the default IkiWiki mostly assumes that pages are in UTF-8; anyone this doesn't work for can override it in the setup file. | |||
2009-07-26 | getsource: run as plain CGI, rather than sessioncgi | Simon McVittie | |
As I suggested when reviewing Will's code, calling loadindex() should be sufficient. | |||
2009-07-26 | Add getsource plugin | Will Uther | |
2009-07-25 | Fix failure to close <ul> in maps with no items | harishcm | |
Signed-off-by: Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | |||
2009-07-23 | revert revert | Joey Hess | |
2009-07-23 | improve string to be less confusing | Joey Hess | |
2009-07-23 | reverted a few of the string changes | Joey Hess | |
Improved one string. | |||
2009-07-23 | Merge branch 'master' of git://git.ikiwiki.info | Jonas Smedegaard | |
2009-07-23 | Change rendering→building in translatable strings, to ease translations. | Jonas Smedegaard | |
2009-07-23 | Rephrase suggestion to not get confused as info on action already done. | Jonas Smedegaard | |
2009-07-23 | Rephrase 'linked to by' confusing for translators. | Jonas Smedegaard | |
2009-07-23 | Improve translatable texts to ease translation (e.g. to→into and ↵ | Jonas Smedegaard | |
from→inside) | |||
2009-07-23 | Fix typo attepting→attempting | Jonas Smedegaard | |
2009-07-22 | add --previous at bubulle's suggestion | Joey Hess | |
2009-07-21 | relocate po directory up a level | Joey Hess | |
2009-07-21 | turn off pot file underlay again | Joey Hess | |
2009-07-21 | improve invalid gettext message | Joey Hess | |
(and gettext it as translators will see this!) | |||
2009-07-21 | update | Joey Hess | |
2009-07-21 | update | Joey Hess | |
2009-07-21 | po: Add support for mo files in underlays | Joey Hess | |
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 | fix example | Joey Hess | |
2009-07-20 | po: Support running with a non-english master lang; add translated underlays | Joey Hess | |
It seem to make sense to remove the check for there being slave languages as part of this, since one might want a wiki that is only in non-English. | |||
2009-07-20 | remove prototype from renamehook | Joey Hess | |
Recursive calls make perl whine about protypes, and it wasn't adding any value. | |||
2009-07-20 | create translated underlays in mdwn format | Joey Hess | |
These are for use by wikis where the primary language is not English. On such a wiki, it makes sense to use an underlay has the source for pages in the native language. | |||
2009-07-20 | split two helper functions of of render() | Joey Hess | |
2009-07-19 | s//bad//invalid// # jonas= | Joey Hess | |
2009-07-19 | avoid Po4a::Common exporting anything | Joey Hess | |
It exports gettext and stuff by default, which conflicts with IkiWiki exports. | |||
2009-07-19 | shut up msgmerge | Joey Hess | |
2009-07-19 | bugfix: Avoid generating po files for files that are not httmlizable | Joey Hess | |
2009-07-19 | improve error message | Joey Hess | |
2009-07-19 | Merge branch 'master' into po | Joey Hess | |
Conflicts: debian/changelog |