aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/po.mdwn
Commit message (Collapse)AuthorAge
* po(todo): more test resultsintrigeri2009-01-15
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: pages in underlay dirs are not translatableintrigeri2009-01-15
| | | | | | Fixes build break due to read-only underlay dirs, e.g. basewiki. Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: some testing resultsintrigeri2009-01-15
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: more security-related reportsintrigeri2009-01-15
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: updateintrigeri2009-01-02
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: updateintrigeri2009-01-02
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po(formbuilder_setup): remove the rename/remove buttons on slave pagesintrigeri2009-01-02
| | | | | | | | | | This has to be done after the rename/remove plugins have added their buttons, so we set this hook to be run last. The canrename/canremove hooks already ensure this is forbidden at the backend level, so this is only UI sugar. Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: updateintrigeri2009-01-02
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: remove silly ideas.intrigeri2009-01-02
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: do not allow to create pages of type pointrigeri2009-01-02
| | | | | | | | The main reason to do so is to bypass the "favor the type of linking page on page creation" logic, which is unsuitable when a broken link is clicked on a slave (PO) page. Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: added better implementation ideasintrigeri2009-01-02
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: remove completed itemintrigeri2009-01-02
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: added bugreport about new page's typeintrigeri2009-01-02
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: updateintrigeri2009-01-01
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po(cansave): check PO validity using new isvalidpo functionintrigeri2009-01-01
| | | | | | | ... because Po4a's parser does not care about malformed PO data. Use gettext's msgfmt program instead. Signed-off-by: intrigeri <intrigeri@boum.org>
* po(TODO): the plugin code will need to be gettextized, at some pointintrigeri2009-01-01
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: use the new canrename hook to prevent translation renames in the CGIintrigeri2009-01-01
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po(todo): test results for markup languages support, thoughts about ↵intrigeri2009-01-01
| | | | | | renaming/deleting Signed-off-by: intrigeri <intrigeri@boum.org>
* po: added postscan hook, to make pages depend on the pages linking to themintrigeri2009-01-01
| | | | | | | | | | | | | | | | | | ... 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>
* po/todo: reflect current link-related work statusintrigeri2008-12-31
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: reflect current status of links-related workintrigeri2008-12-31
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: fix redirect after edit, using a somehow tricky hackintrigeri2008-12-31
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: delete translations of deleted master pagesintrigeri2008-12-31
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: added test resultsintrigeri2008-11-13
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po(otherlanguages): return pages that should existintrigeri2008-11-12
| | | | | | | | ... instead of already existing ones. This fixes the "missing otherlanguages links on master pages just created via the CGI" bug. Signed-off-by: intrigeri <intrigeri@boum.org>
* po(change): flush Memoize cache, to fix bug after rename/removeintrigeri2008-11-12
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: first pass of robustness tests, added todo for remove/renameintrigeri2008-11-12
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: added robustness tests that have to be doneintrigeri2008-11-12
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: compute internal links from a slave page relative to its master pageintrigeri2008-11-12
| | | | | | e.g. a link appearing on a slave page links to its masterpage's subpages. Signed-off-by: intrigeri <intrigeri@boum.org>
* Merge commit 'upstream/po' into prv/pointrigeri2008-11-12
|\
| * patch and a few commentsJoey Hess2008-11-11
| |
* | po/todo: bug report about linking to subpages from translation pagesintrigeri2008-11-11
| | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | po/todo: fixed internal linksintrigeri2008-11-11
| | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | po/todo: added note about backlinks not being updatedintrigeri2008-11-11
| | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | po/todo: updateintrigeri2008-11-11
|/ | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po(change): fix uninitialized variables when running IkiWiki::refresh()intrigeri2008-11-11
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: added HOMEPAGEURL template variable, documented when to use itintrigeri2008-11-11
| | | | | | | Hopefully all links should now be consistent with the chosen linking behavior, but who knows... Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: added bug report for weird Perl warningsintrigeri2008-11-11
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: updated page formats, broken links, documentationintrigeri2008-11-11
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po/doc: first fuzzy-testing results for po4a and msgmergeintrigeri2008-11-11
| | | | | | | Chapter #1, in which we learn po4a could help to DoS ikiwiki + po, whereas msgmerge seems reluctant to cooperate. Signed-off-by: intrigeri <intrigeri@boum.org>
* po/doc: more security research resultsintrigeri2008-11-10
| | | | | | | | | Apart of the fuzzying part, I'm done with what I can do without help. The "Running po4a on untrusted content" section needs at least a quick glance from an experimented Perl programmer. Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo(security): many research resultsintrigeri2008-11-08
| | | | | | ... and some questions to Joey (hint: look for your name) Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo++: support other file formats than markdownintrigeri2008-11-08
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: mostly security researchintrigeri2008-11-08
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: started research on gettext/po4a securityintrigeri2008-11-08
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: finished backlinks implementationintrigeri2008-11-07
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: implemented linking/backlinks specification for po_link_to=negotiatedintrigeri2008-11-07
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: write detailed specification of wished backlinks behaviourintrigeri2008-11-07
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: fix link to homepage in special caseintrigeri2008-11-06
| | | | | | | | ... by wrapping IkiWiki::urlto in order to workaround hard-coded /index.$config{htmlext}, which is wrong when usedirs=0 and po_link_to=current and translatable homepage Signed-off-by: intrigeri <intrigeri@boum.org>
* po: redesign (once more) automatic POT/PO files updateintrigeri2008-11-06
| | | | | | | | | | | | Now use the change hook to update these files, check them into VCS, and trigger IkiWiki::refresh as needed. The needsbuild hook's help was required to prevent infinite looping. This more rigorous way of doing this fixes recentchanges (that was previously not updated in some cases), and probably is a better long-term solution than the two previously tested ones. Signed-off-by: intrigeri <intrigeri@boum.org>