summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
AgeCommit message (Collapse)Author
2009-01-15po: pages in underlay dirs are not translatableintrigeri
Fixes build break due to read-only underlay dirs, e.g. basewiki. Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-15po(_istranslation): fix unitialized valueintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-15po: fix broken links from slave pagesintrigeri
... by overriding cgiurl. Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-13po: do not add translation status to parentlinksintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-13Merge commit 'upstream/master' into prv/pointrigeri
2009-01-11pinger: Get whole url, don't just head.Joey Hess
Asking for only the head worked in my tests, but I've found a site where it didn't -- apparently ikiwiki didn't get a chance to do or finish the refresh when HEADed. Getting the whole url, waiting for ikiwiki to finish, avoided the update problem.
2009-01-10Consistently allow use of relative paths in all PageSpecs that take a page ↵Joey Hess
name parameter. Previously, match_created_before(), match_created_after(), match_sourcepage(), and match_destpage() did not support that, and the docs were not clear.
2009-01-10comments: if the remove plugin is enabled, append a "Remove comment" linkSimon McVittie
2009-01-10comments: only try to insert commentuser etc. into templates if the page ↵Simon McVittie
contained [[!_comment]]
2009-01-07repolist: New plugin to support the rel=vcs-* microformat.Joey Hess
* repolist: New plugin to support the rel=vcs-* microformat. * goodstuff: Include repolist by default. (But it does nothing until configured with the repository locations.)
2009-01-07increment interface versionJoey Hess
2009-01-07comments: Fix cache avoidance hack.Joey Hess
The ?updated needs to come before the #anchor or browsers will not follow the anchor.
2009-01-06rename: Show full names of affected pages.Joey Hess
2009-01-06refactorJoey Hess
2009-01-06table: Find links in external files in scan pass.Joey Hess
2009-01-06typoJoey Hess
2009-01-06table: Fix misparsed links in external filesJoey Hess
linkify data from external files at the same time as data from an inlined table would be linkified.
2009-01-05A recent change to gitweb removed support for the form of diffurl that many ↵Joey Hess
ikiwiki setups use. Document how to use the new url form.
2009-01-02po(isvalidpo): more meaningful error messageintrigeri
... explaining how to go on with edit. Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02po: back to the cansave hook, as the form validation is not sufficientintrigeri
Form validation works, but after trying to save invalid PO content, the user is brought back to the page he/she was editing, without any single clue to explain why it was not saved. The dedicated cansave hook is thus necessary. Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02po: first attempt to replace cansave hook with form validate tweaksintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02po/i18n: move the function names out of the translatable stringsintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02po: updated copyright yearsintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02po(formbuilder_setup): remove the rename/remove buttons on slave pagesintrigeri
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>
2009-01-02po: avoid warnings and possible bugs with nested named subroutinesintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02po: gettext-ize error messagesintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02po: do not allow to create pages of type pointrigeri
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>
2009-01-02po: cosmetic changes to percent translated displayintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02po(formbuilder_setup): use a template to display the warningintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02po: test formbuilder_setup hook to warn about new master page's languageintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02po: require ikiwiki plugin interface 3.0intrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01po: send msgfmt output to /dev/null, else it creates messages.mo filesintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01po: fix error messagesintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01po(cansave): check PO validity using new isvalidpo functionintrigeri
... because Po4a's parser does not care about malformed PO data. Use gettext's msgfmt program instead. Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01skeleton plugin: added the canrename and canremove hooksintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01po(cansave): use po_to_markup to check PO validityintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01po: move most of filter code to its own functionintrigeri
Allow this new po_to_markup function to run in non-fatal mode, we need this in our cansave hook. Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01po: register a (dummy) cansave hookintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01editpage: added a cansave hookintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01Pass src, srcfile, dest and destfile to the canrename hook.intrigeri
This is not needed by the use I'm doing of it, but seems more consistent to me. Future users of this hook may need this data to make their mind. Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01po: bugfixintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01po: fix canrename hookintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01rename: pass the CGI and session to the rename hookintrigeri
The po plugin remame + canrename hook combination will need this. Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01po: use the new canrename hook to prevent translation renames in the CGIintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01rename: implemented new canrename hookintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01remove: implemented a new canremove hook; use it in the po pluginintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01Merge commit 'upstream/master' into prv/pointrigeri
2009-01-01po(myurlto): more robust run_by_editpage logicintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01po: some code/comments refactoringintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01po: follow new coding style (removed Vim folding markersintrigeri
) Signed-off-by: intrigeri <intrigeri@boum.org>