summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-11-10po: rewrote otherlanguagesloop()intrigeri
It is now more elegant IMHO, and the output is now sorted according to the language name (instead of code). Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10po: factorize extraction of a slave page's masterpage and langintrigeri
The very same code was repeated at dozens of places. NB: the real work is now done is _istranslation(), which is memoized, so the additional function calls overhead should be compensated. Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10t/po.t: removed debug linesintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10po(otherlanguagesloop): start factorizingintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10Merge commit 'upstream/master' into prv/pointrigeri
2008-11-10po: finish abstracting %filtered by putting it into a blackboxintrigeri
i.e. it is invisible for everyone but its accessors/mutators Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10po: actually use pofiles() function, to enhance code clarityintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10po: abstract "doing something for the same page in every other language"intrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10po: abstract implementation details for %translations building and resettingintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10po: abstract %filtered implementation detailsintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10po: clarify error messagesintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10po: clarify code with some commentsintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10po: prevent a slave page to depend on itselfintrigeri
It has never caused harm yet, but it might in the future. Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10vim syntax file linkedhttp://a1fie.livejournal.com/
2008-11-09Fix the link() pagespec to match links that are internally recorded as absolute.Joey Hess
This fixes a problem exposed by the recent change to tags (a2839de9362187b67b0e3a564461e272e64fd9b4). That recorded tag links as absolute by including a leading slash in the link. The same could also be done with an absolute wikilink. In either case, link() would not match such links, unless the leading slash was included in the link to match. But that's not right, because pagespecs match absolute by default. So strip the leading slash. Note that to keep any existing `link(/foo)` pagespecs working after this change, the leading slash is removed from there, too.
2008-11-08po/todo(security): many research resultsintrigeri
... and some questions to Joey (hint: look for your name) Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-08po(refreshpot): define the input charset before read()'ingintrigeri
... to prevent the use of Encode::Guess::guess_encoding() in Locale::Po4a::Transtractor (just a minor security measure, dependent on po4a internals, but we have no reason to think Encode::Guess is not safe). Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-08Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.infoJoey Hess
2008-11-08fix link to Jason Blevins user pageAlexandreDupas
2008-11-08Merge branch 'prv/po' into pub/pointrigeri
2008-11-08question about the format directive and relation with htmlize hooksAlexandreDupas
2008-11-08po/todo++: support other file formats than markdownintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-08Merge branch 'prv/po' into pub/pointrigeri
2008-11-08po/todo: mostly security researchintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-08Merge branch 'prv/po' into pub/pointrigeri
2008-11-08po: started research on gettext/po4a securityintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-08Merge branch 'prv/po' into pub/pointrigeri
2008-11-08fixed linkintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07Merge branch 'prv/po' into pub/pointrigeri
2008-11-07added symlink to pagespec/po in basewiki to fix the buildintrigeri
else basewiki_brokenlinks.t fails. Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07Merge commit 'upstream/master' into pub/pointrigeri
2008-11-07Merge commit 'upstream/master' into prv/pointrigeri
2008-11-07po: finished backlinks implementationintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07po: oops, removed debug output from testsuitintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07po: implemented linking/backlinks specification for po_link_to=negotiatedintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07po: implemented linking specification in testcaseintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07po: added pofiles() function, will use this soonintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07document wikistatedir, though it's still internalJoey Hess
2008-11-07(no commit message)http://josephturian.blogspot.com/
2008-11-07po: write detailed specification of wished backlinks behaviourintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07po: add commentsintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07Merge commit 'upstream/po' into prv/pointrigeri
2008-11-06oopsJoey Hess
2008-11-06txt: Do not encode quotes when filtering the txt, as that broke later ↵Joey Hess
parsing of any directives on the page.
2008-11-06responseJoey Hess
2008-11-06meta: Plugin is now enabled by default since the basewiki uses it.Joey Hess
2008-11-06Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.infoJoey Hess
2008-11-06aggregate: Try to query XML::Feed for the base url when derelevatising ↵Joey Hess
links. Since this needs the just released XML::Feed 0.3, as well as a not yet released XML::RSS, it will fall back to the old method if no xml:base info is available.
2008-11-06(no commit message)http://josephturian.blogspot.com/
2008-11-06responseJoey Hess