Commit Graph

1554 Commits (811d398646337717f8f2ad92897c6410faa42777)

Author SHA1 Message Date
Amitai Schlair 58cef9c3cf describe the wrapper change 2009-08-30 02:35:38 -04:00
Amitai Schlair 558873131f also need File::ReadBackwards now 2009-08-30 01:31:15 -04:00
Amitai Schlair 0721363a7a bug fixed, to-dos done 2009-08-30 01:26:57 -04:00
Amitai Schlair 6962b34597 This is in my git branch now, no need for a copy of the code here. 2009-08-29 22:17:40 -04:00
intrigeri ef69cb34c3 doc/po(test suite failures): follow-up
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-29 17:25:51 +02:00
Joey Hess 94727e7fcf merged 2009-08-28 19:49:22 -04:00
Joey Hess 2ba54735ce po test suite failure 2009-08-28 18:34:44 -04:00
intrigeri 6be8746125 doc/po: report problem with link() + propose patch
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-28 16:38:13 +02:00
intrigeri e3b5d70137 doc/po: bug report + patch proposal wrt. inline's post form's rootpage
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-28 15:08:02 +02:00
Joey Hess cc6000f0b9 both changes picked 2009-08-28 07:34:09 -04:00
intrigeri 8064acf87f doc/po: reported bug + patches wrt. created page type
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-28 13:20:33 +02:00
Joey Hess 18e4fa6539 fix merged 2009-08-27 15:54:44 -04:00
Joey Hess f8ad1bfec4 fix cherry-picked 2009-08-27 15:50:43 -04:00
Joey Hess ffcd97ce52 change cherry-picked; move to discussion 2009-08-27 15:49:12 -04:00
intrigeri eaa782a185 doc/po(self-links): follow-ups
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-27 20:38:36 +02:00
intrigeri 6bc3206af1 doc/po: follow-up 2009-08-27 20:21:16 +02:00
intrigeri 7d35d17f95 doc/po: follow-up
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-27 20:01:24 +02:00
Joey Hess 5e515b493c followups 2009-08-27 13:10:31 -04:00
Joey Hess e1acb707db cherry-picked fix for recentchanges links 2009-08-27 12:57:04 -04:00
Joey Hess 18fc71f033 unsure if this patch is enough 2009-08-27 12:56:24 -04:00
Joey Hess 4ce93af516 translation of directives 2009-08-26 13:09:43 -04:00
intrigeri d5a04b2de9 po: more TODO items comments and patches 2009-08-26 02:00:48 -04:00
intrigeri 7bd7e78e4a po: commenting some TODO items 2009-08-26 01:41:55 -04:00
intrigeri 145d89a6fc po: maybe fixed self links 2009-08-26 01:05:07 -04:00
Joey Hess 43db8269a0 response 2009-08-24 15:47:24 -04:00
http://schmonz.livejournal.com/ 8d504e6b3d response 2009-08-24 04:20:31 -04:00
http://www.cse.unsw.edu.au/~willu/ a27861c512 Comment on another possible solution to the use case. 2009-08-24 03:13:25 -04:00
Amitai Schlair 80ca685385 why I needed this, in case it's useful to someone else 2009-08-23 23:27:53 -04:00
Amitai Schlair 18a7b65094 response 2009-08-23 18:15:56 -04:00
Amitai Schlair 0d5a8bc3f0 new rsync plugin 2009-08-23 15:41:29 -04:00
Joey Hess 59527de767 uh oh 2009-08-22 14:29:18 -04:00
Amitai Schlair 2acc71849d no more wrapper wrapper 2009-08-22 03:52:45 -04:00
Amitai Schlair 7849d675a3 response 2009-08-22 02:02:34 -04:00
Joey Hess 73e562edc8 response 2009-08-21 16:09:26 -04:00
Amitai Schlair 24d43bea07 response 2009-08-20 16:10:56 -04:00
Joey Hess f712ffa66d another issue 2009-08-19 14:12:37 -04:00
Joey Hess db041b8854 minor problem 2009-08-16 13:53:44 -04:00
Amitai Schlair b5576b5560 Life is simpler on a git branch. 2009-08-16 11:58:28 -04:00
PaulePanter 216f5b5b20 Add sentence to clarify how to get feeds for the RecentChanges page. 2009-08-16 08:34:57 -04:00
Joey Hess 4ff3e2a540 po: Better fix for missing underlay translation problem.
If a page is taken from the underlay, and one of the specified languages
does not have po files in the underlay, it would create a broken link
to the translated version of the page for that language.

With this change, there's no broken link.
2009-08-15 22:18:05 -04:00
Joey Hess 0e4f67842a update 2009-08-15 21:00:27 -04:00
Joey Hess 7ea1f96926 apache config details 2009-08-15 19:39:51 -04:00
Joey Hess 7d901b9a54 another problem.. 2009-08-15 19:16:22 -04:00
Joey Hess 43e895ec78 another problem 2009-08-15 17:29:05 -04:00
Joey Hess 1b63a0e4fa another problem 2009-08-15 16:15:36 -04:00
Joey Hess d13c07dec1 noticed a problem 2009-08-15 15:20:46 -04:00
Joey Hess 3401dc6110 fix name 2009-08-13 18:12:28 -04:00
Joey Hess 8ba32abaf2 review: question 2009-08-13 17:55:01 -04:00
Joey Hess 7712bb662a Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-08-10 16:05:50 -04:00
Joey Hess 83480665c2 po: Fix copy of po file from underlay when editing
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-10 15:59:32 -04:00
http://schmonz.livejournal.com/ af29201c3c the post-commit wrapper wrapper also avoids cvs deadlock 2009-08-09 22:09:42 -04:00
http://schmonz.livejournal.com/ 792026fe97 add install and usage directions, to-do list 2009-08-09 22:06:02 -04:00
http://certifi.ca/lunix c430c5ebd0 add my response 2009-08-09 01:34:11 -04:00
http://certifi.ca/lunix 4e387bc6b6 reponse about highlight plugin 2009-08-08 21:11:03 -04:00
Joey Hess a0ace62664 point out where to get highlight perl bindings 2009-08-08 20:27:50 -04:00
http://certifi.ca/lunix c86842711f centos question 2009-08-08 19:19:32 -04:00
bremner 3c1ebd20f8 ok, thanks. I'll probably do the same. 2009-08-08 17:19:07 -04:00
Joey Hess eb5e6b2bb6 response 2009-08-08 17:01:10 -04:00
bremner 255835660b question (for joeyh?) about IkiWiki::refresh() 2009-08-08 16:48:00 -04:00
Joey Hess c0c1e05dab finish merging getsource 2009-08-08 12:32:39 -04:00
Joey Hess 79312b2754 Merge commit 'smcv/ready/getsource'
Conflicts:
	debian/changelog
2009-08-08 12:22:10 -04:00
http://bob-bernstein.myopenid.com/ 69d26eb573 2009-08-07 01:09:03 -04:00
http://bob-bernstein.myopenid.com/ c7ad7482f4 2009-08-06 22:20:15 -04:00
Jogo 4a331d8afc 2009-08-06 13:07:22 -04:00
Jogo 0b2100727b 2009-08-06 09:42:56 -04:00
Jogo 34e5f5eba3 2009-08-06 08:43:45 -04:00
http://schmonz.livejournal.com/ 9468c553e1 maybe prevent trying to create .../CVS/whatever.mdwn 2009-08-03 03:23:42 -04:00
http://schmonz.livejournal.com/ cf3ab205e8 note Perl module dependencies 2009-08-03 02:56:42 -04:00
http://smcv.pseudorandom.co.uk/ 9def21fcf7 remove reference to needing a branch which was merged already 2009-08-01 07:46:35 -04:00
Simon McVittie 3f39e69b13 Document the getsource plugin 2009-08-01 12:31:34 +01:00
http://schmonz.livejournal.com/ 216a349bb9 specify where in IkiWiki.pm CVS metadata is avoided (wiki_file_prune_regexps) 2009-07-31 18:37:58 -04:00
http://schmonz.livejournal.com/ faa29aaaf3 add working CVS plugin 2009-07-31 18:17:53 -04:00
http://smcv.pseudorandom.co.uk/ 612505d76b Self-review... 2009-07-31 17:18:20 -04:00
http://smcv.pseudorandom.co.uk/ ba1c355353 I now realise that one of trail's modes is a bit flawed... 2009-07-31 17:14:50 -04:00
http://schmonz.livejournal.com/ d9fa13504d add missing backquote 2009-07-29 22:38:51 -04:00
http://schmonz.livejournal.com/ 6f88e3631e fix typo 2009-07-26 05:40:58 -04:00
Simon McVittie f237ea1b9a Add [[!template id=gitbranch]] for things available from git, and use it
The uses are somewhat biased towards my own branches, because I know
where to find them and what they do :-) but I've tagged some other
people's as well.
2009-07-25 19:55:22 +01:00
Joey Hess 62dd02aa79 oddity 2009-07-21 13:21:16 +02:00
Joey Hess d1b316dc05 add a warning 2009-07-21 13:07:49 +02:00
Jon Dowland c28c7846b4 Merge branch 'master' of git://git.ikiwiki.info 2009-07-21 11:45:29 +01:00
Jon Dowland ddd55037d4 some thoughts in the wake of a spam attack 2009-07-21 11:44:52 +01:00
Joey Hess 8effd48854 one issue with basewiki translations 2009-07-21 12:43:48 +02:00
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
harishcm 4954ffb558 2009-07-21 00:33:23 -04:00
http://smcv.pseudorandom.co.uk/ f900e84416 link to existing bug 2009-07-20 11:16:45 -04:00
harishcm 3fef1fbd0d Issue with ul and div tag closure when returning empty map 2009-07-20 10:40:29 -04:00
Joey Hess a7b813182d build translated underlays for use with non-English wikis 2009-07-20 07:20:13 +02:00
Joey Hess 741c33576e create translated underlays in mdwn format
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 06:23:33 +02:00
Joey Hess 7d56f17891 more thoughts on underlays 2009-07-20 04:54:25 +02:00
Joey Hess 3f517fa143 note branch name 2009-07-20 04:49:16 +02:00
Jonas Smedegaard 65aa071f97 Update with Git URL for danish l10n. 2009-07-20 01:22:55 +02:00
Joey Hess 7865433d8e update, think I have the real bug this time 2009-07-20 00:11:56 +02:00
Joey Hess a7e5541c4d %links dedup bug? 2009-07-19 23:55:58 +02:00
Joey Hess 54280d0215 bad po plugin bug 2009-07-19 23:01:43 +02:00
Joey Hess 1a4750b76b language display order 2009-07-19 18:27:20 +02:00
Joey Hess 43e5c905cb shut up msgmerge 2009-07-19 16:54:03 +02:00
Joey Hess 4d166acccb new minor bug 2009-07-19 13:58:15 +02:00
Joey Hess ea8c166a05 bugfix: Avoid generating po files for files that are not httmlizable 2009-07-19 13:46:10 +02:00
Joey Hess f5d7d2f02d add a bug 2009-07-19 13:42:27 +02:00
Joey Hess b62dc0a3d8 s/castellano/español/ 2009-07-19 13:06:47 +02:00
Joey Hess 9ec492ccd1 move robustness tests section to discussion 2009-07-19 13:04:09 +02:00
Joey Hess cacff24bcd fix header 2009-07-19 13:00:51 +02:00
Joey Hess a6dabc247f fix link 2009-07-19 12:51:15 +02:00
Joey Hess 906c64d7d1 move contrib/po to po/discussion 2009-07-19 12:45:42 +02:00
Joey Hess ec965fc92c Merge branch 'master' into po
Conflicts:
	debian/changelog
2009-07-19 12:36:01 +02:00
http://smcv.pseudorandom.co.uk/ 398e6eec21 2009-07-18 13:53:29 -04:00
http://smcv.pseudorandom.co.uk/ 2f573cf515 New plugin for review 2009-07-18 13:46:55 -04:00
http://smcv.pseudorandom.co.uk/ 03d8ee0c61 Compare with [[todo/allow_site-wide_meta_definitions]] 2009-07-18 10:08:19 -04:00
http://lj.rossia.org/users/imz/ 3054f1916e minor: fixed a wikilink. 2009-07-09 19:41:13 -04:00
http://kaizer.se/ cb151da233 rst support for WikiLinks via native syntax (syntax tweak) 2009-07-04 03:52:58 -04:00
http://kaizer.se/ e96f28a31e rst support for WikiLinks via native syntax 2009-07-04 03:50:50 -04:00
Jon Dowland 7aec8e12ac link to mirror of mediawiki.pm 2009-06-23 11:30:47 +01:00
simonraven b5edd6d4d8 2009-06-22 17:09:26 -04:00
http://mjr.towers.org.uk/ 7ad6541a87 Home site is MIA. Where is it? 2009-06-22 13:57:18 -04:00
http://smcv.pseudorandom.co.uk/ c94dce8afa 2009-06-16 13:07:58 -04:00
Joey Hess 0b2e512d36 response 2009-06-14 17:34:05 -04:00
bremner 31bb526897 feature request/discussion for highlight options. 2009-06-09 22:54:28 -04:00
intrigeri 86edd73d16 Merge commit 'upstream/master' into pub/po
Conflicts:

	debian/changelog
	debian/control

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-06-06 14:03:40 +02:00
Joey Hess df20a91bc9 move anchor page out of ikiwiki subdir
Since this page is not in the basewiki, it is confusing to put it in
the ikiwiki subdir, which is intended for basewiki and other underlay pages
that are used to document ikiwiki on other wikis.
2009-06-05 16:24:46 -04:00
http://lj.rossia.org/users/imz/ 30d23b969e Fixed a wikilink target. 2009-06-05 14:56:41 -04:00
http://lj.rossia.org/users/imz/ 91edfd2851 A suggestion to simply extract/merge this functionality from/with another plugin. 2009-06-05 14:55:27 -04:00
http://lj.rossia.org/users/imz/ 62bec4f47b Added a keyword to the description, so that this plugin can be found by searching. 2009-06-05 14:50:53 -04:00
http://lj.rossia.org/users/imz/ 9362aa7756 Test the more plugin. 2009-06-05 14:31:16 -04:00
http://lj.rossia.org/users/imz/ 52b635c708 Fixed a wikilink. 2009-06-05 13:55:48 -04:00
http://lj.rossia.org/users/imz/ 2e48da19a2 Reporting minor problems with cvonnecting to the remote repo. 2009-06-04 10:53:15 -04:00
Joey Hess 95e3e2d352 fix link, remove redirection page
There was only one broken links. See plugins/brokenlinks for
a list.
2009-06-03 15:46:47 -04:00
Joey Hess 5193f9ee6b update openid docs regarding openid 2, since smcv noticed
a newer perl module supports it. Although, based on its bug
reports at
<http://rt.cpan.org/Public/Dist/Display.html?Name=Net-OpenID-Consumer>,
there may be some problems (myspace is known not to work,
for example).
2009-06-03 15:42:04 -04:00
http://lj.rossia.org/users/imz/ 1f0560d262 Adding a plain link along with a redirect in order to track backlinks at the bottom of the target page correctly. 2009-06-03 12:53:51 -04:00
http://lj.rossia.org/users/imz/ 068f139885 Fixing a broken link: since it's not obvious how many broken links point to this location, I'm creating a redirect rather than just fixing one broken link. 2009-06-03 12:50:22 -04:00
intrigeri f902bedd32 po: fixed one of the last Joey's concerns
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-06-03 18:31:41 +02:00
Joey Hess 5cdee82ef6 comment: Make comment directives no longer use the internal "_comment" form, and document the comment directive syntax.
Rationalle: Comments need to be user-editable so that they can be posted
via git commit etc.

The _comment directive is still supported, for back-compat.
2009-06-02 17:06:46 -04:00
http://dr.jones.dk/ e90adc56c3 Mention need for localized templates, and separation of system and page locales. 2009-05-28 13:20:52 -04:00
http://dr.jones.dk/ 817a40b781 Move po4a patch note up close to "translated basewiki", and expand with note on danish translation. 2009-05-28 04:13:33 -04:00
http://dr.jones.dk/ 3c68de2e17 Mention bug#530574: improved po4a Markdown support 2009-05-25 18:29:16 -04:00
Joey Hess 47298b01c1 allow format to use any language supported by highlight
format: Provide a htmlizefallback hook that other plugins can use to
handle formats that are not suitable for general-purpose htmlize hooks.

highlight: Use the hook to allow formatting of any language/extension,
without it needing to be enabled for standalone source files.

highlight: If the highlight perl binding is not available, fallback
safely to a passthrough mode.
2009-05-23 05:17:26 -04:00
Joey Hess cdd1b58b38 remove commas in tohighlight list 2009-05-23 00:09:14 -04:00
Joey Hess 21d6aded47 formatting 2009-05-22 23:05:58 -04:00
Joey Hess 8ae260015f highlight: New plugin supporting syntax highlighting of pretty much anything.
* debian/control: Add suggests for libhighlight-perl, although
  that package is not yet created by Debian's highlight source package.
  (See #529869)
2009-05-22 22:57:03 -04:00
bremner e7bad27489 update postal plugin page to reflect the fact I implement Joey's suggestion about checking new posts in to VCS 2009-05-21 15:54:55 -04:00
Joey Hess 6fb04eaf8d reword 2009-05-21 15:29:36 -04:00
Joey Hess fb955a4945 add contrib plugin page for postal plugin 2009-05-21 14:59:21 -04:00
Joey Hess 285ef010c4 add contrib plugin page for the mailbox plugin 2009-05-21 14:51:57 -04:00
intrigeri df6f6a1d53 Merge commit 'upstream/master' into pub/po 2009-05-21 09:15:55 +02:00
Joey Hess 1b89899534 po responses, 1 month late 2009-05-19 13:14:22 -04:00
Joey Hess ef003f48f4 Merge branch 'master' into po
Conflicts:
	debian/changelog
2009-05-19 13:07:47 -04:00
Joey Hess 53b1c6f559 Merge commit 'intrigeri/po' into po 2009-05-19 13:06:35 -04:00
http://lj.rossia.org/users/imz/ aa8d40e941 minor: wikilinks for better navigation. 2009-05-17 11:09:37 -04:00
Jon Dowland 335462c05d document longname parameter 2009-05-16 14:01:12 +01:00
http://lj.rossia.org/users/imz/ 9a9af5938d minor: added an anchor (for referring). 2009-05-15 23:46:30 -04:00
http://lj.rossia.org/users/imz/ 18c5a44e1a Added a link to a FAQ on this issue. 2009-05-15 23:38:43 -04:00
http://lj.rossia.org/users/imz/ d65a29b144 bug: OpenID 2.0 2009-05-15 23:31:04 -04:00
PaulePanter 72e074d895 question or bug regarding toggle and list item 2009-05-12 10:13:07 -04:00
tschwinge e17f925cf4 Usage information. 2009-05-08 16:20:59 -04:00
Joey Hess 2a7721febd Avoid %links accumulating duplicates. (For TOVA)
This is sorta an optimisation, and sorta a bug fix. In one
test case I have available, it can speed a page build up from 3
minutes to 3 seconds.

The root of the problem is that $links{$page} contains arrays of
links, rather than hashes of links. And when a link is found,
it is just pushed onto the array, without checking for dups.

Now, the array is emptied before scanning a page, so there
should not be a lot of opportunity for lots of duplicate links
to pile up in it. But, in some cases, they can, and if there
are hundreds of duplicate links in the array, then scanning it
for matching links, as match_link and some other code does,
becomes much more expensive than it needs to be.

Perhaps the real right fix would be to change the data structure
to a hash. But, the list of links is never accessed like that,
you always want to iterate through it.

I also looked at deduping the list in saveindex, but that does
a lot of unnecessary work, and doesn't completly solve the problem.

So, finally, I decided to add an add_link function that handles deduping,
and make ikiwiki-transition remove the old dup links.
2009-05-06 00:27:24 -04:00
Jérémy Bobbio 19aa754ff5 passwordauth/discussion: Cosmetics 2009-04-30 00:24:41 +02:00
Jérémy Bobbio 0a6879a139 passwordauth/discussion: Document an attempt of using Apache::AuthenHook for a restricted wiki 2009-04-30 00:21:37 +02:00
http://stefano.zacchiroli.myopenid.com/ c876ee825b 2009-04-26 13:50:33 -04:00
Joey Hess aa306957ba pagespec_match_list added and used in most appropriate places
* pagespec_match_list: New API function, matches pages in a list
  and throws an error if the pagespec is bad.
* inline, brokenlinks, calendar, linkmap, map, orphans, pagecount,
  pagestate, postsparkline: Display a handy error message if the pagespec
  is erronious.
2009-04-23 15:45:30 -04:00
Joey Hess 748aa7af77 pagespec error/failure distinction and error display by inline
* Add IkiWiki::ErrorReason objects, and modify pagespecs to return
  them in cases where they fail to match due to a configuration or syntax
  error.
* inline: Display a handy error message if the inline cannot display any
  pages due to such an error.

This is perhaps somewhat incomplete, as other users of pagespecs do not
display the error, and will eventually need similar modifications to inline.
I should probably factor out a pagespec_match_all function and make it throw
ErrorReasons.
2009-04-23 14:07:28 -04:00
Joey Hess 252edaea66 clarify 2009-04-22 15:36:40 -04:00
Joey Hess 30308664a6 document how to get to the moderation page 2009-04-22 13:35:17 -04:00
intrigeri 4558457402 Merge commit 'upstream/master' into pub/po
Conflicts:

	debian/changelog
	debian/control
2009-04-20 12:21:18 +02:00
intrigeri f632cb2f8f po: answered Joey, at last
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-04-20 11:53:04 +02:00
Joey Hess 7d0e245e28 it's a wiki, so yes 2009-04-15 14:45:23 -04:00
http://furicle.pip.verisignlabs.com/ f4af769638 2009-04-15 13:55:37 -04:00
http://schmonz.livejournal.com/ 5c0f698121 patching Wrapper.pm no longer necessary as of 2.67 2009-04-14 23:42:53 -04:00
Joey Hess 7bbe9cf94d Fix documentation of anonok_pagespec. Closes: #521793 2009-03-30 13:07:50 -04:00
Joey Hess 1869505691 move security to discussion
The plugin list inlines all pages under plugins with a few exceptions, and
would have included this page. Moving it to discussion avoids the problem.
2009-03-29 15:59:53 -04:00
Joey Hess 06dc69946f done reviewing po.pm
(Still a few bits I haven't bothered fully comprehending in detail.)
2009-03-29 15:56:56 -04:00
Joey Hess 843b9c579c comment 2009-03-29 15:37:26 -04:00
Joey Hess b94b0b564d another issue 2009-03-29 15:25:14 -04:00
Joey Hess 3d8f0b1a3f Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Conflicts:
	doc/plugins/contrib/po.mdwn
2009-03-29 14:54:53 -04:00
Joey Hess b1551ed0e2 review 2009-03-29 14:54:08 -04:00
Joey Hess 9dee7d1554 Merge commit 'origin/master' into po 2009-03-29 14:32:02 -04:00
Joey Hess ef69a6cce5 Merge branch 'master' into po 2009-03-29 14:31:40 -04:00
intrigeri 00a9b8c176 po follow-up 2009-03-28 06:43:31 -04:00
intrigeri 055be361f5 page.tmpl: use OTHERLANGUAGES and PERCENTTRANSLATED
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-03-28 11:41:21 +01:00
intrigeri 19f3093c49 po: answering Joey 2009-03-28 11:10:17 +01:00
Joey Hess 44688008ef another question 2009-03-27 17:40:58 -04:00
Joey Hess a4d7ee2559 Merge branch 'master' into po 2009-03-27 15:51:35 -04:00
Joey Hess e1e936d27c link changes 2009-03-27 15:51:29 -04:00
Joey Hess 2852cf14a2 review 2009-03-27 15:51:13 -04:00
Joey Hess 825e2b1378 Merge branch 'master' into po
Conflicts:
	debian/control
2009-03-27 15:09:41 -04:00
intrigeri 12432198a6 formatting 2009-03-11 06:27:41 -04:00
intrigeri 50871cf4bd apache vs. passwordauth: done a bit more research 2009-03-11 06:26:25 -04:00
intrigeri f4a1732b0e Merge commit 'upstream/master' into prv/po 2009-03-09 00:32:10 +01:00
intrigeri 0978be7aff po: fixed last unaddressed item from Joey's review, please have a look
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-03-09 00:30:19 +01:00
intrigeri 27e7b7ed3c po doc: po4a 0.35 has been released, eventually 2009-03-08 16:12:43 +01:00
intrigeri 8cfe428a28 rename hook: run once per file to be renamed
... as Joey suggested on todo/need_global_renamepage_hook

This hook is applied recursively to returned additional rename
hashes, so that it handles the case where two plugins use the hook:
plugin A would see when plugin B adds a new file to be renamed.

The full set of rename hashes can no longer be changed by hook functions, that
are only allowed to return any additional rename hashes it wants to add.
Rationale: the correct behavior of the recursion would be hard, if not
impossible, to define, if already considered pages were changing on the run.

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-03-08 11:44:00 +01:00
intrigeri ae474d8e14 Merge commit 'upstream/master' into prv/po
Conflicts:

	IkiWiki/Plugin/editpage.pm
	debian/control
	debian/copyright
	doc/todo/need_global_renamepage_hook.mdwn

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-03-08 09:50:27 +01:00
Joey Hess 9a82ef32b9 look for wmd/wmd.js
This means that the underlay needs to have a wmd/wmd/wmd.js,
which is a trifle weird, but it isolates all the wmd stuff in a
single wmd subdirectory of the built wiki. The wmd/images creating
a toplevel images directory was particularly bad.
2009-03-07 19:23:38 -05:00
Joey Hess 29d387d2ba wmd stuff 2009-03-07 18:57:06 -05:00
intrigeri 786a9e20ef link to other todo item, personal opinions 2009-02-23 07:02:34 -05:00
http://taozhyn.myopenid.com/ 08615b9a5e Fix wikilink to correct todo page 2009-02-20 05:05:57 -05:00
http://taozhyn.myopenid.com/ ae8266f8bc Moved to patch to todo/auto-create 2009-02-20 05:00:42 -05:00
Joey Hess f813b10fef rename tag() to tagged(); add docs 2009-02-19 18:54:25 -05:00
Joey Hess 66dc253437 Add noextension parameter to htmlize hooks to support, eg, Makefile. 2009-02-19 18:38:45 -05:00
Joey Hess 3ce8a2f8b9 revert addition of several blank lines 2009-02-17 22:17:59 -05:00
http://arpitjain11.myopenid.com/ edad904f4c 2009-02-17 18:53:56 -05:00
NicolasLimare 008f1c19ac easy access to the userdb for apache auth? 2009-02-17 16:04:31 -05:00
AlexandreDupas 6f9c18f7cb correct WikiLinks to the WikiLink page 2009-02-16 08:00:18 -05:00
Joey Hess bea8e0ad61 apply patch to fix googleform xhtml 2009-02-14 02:38:17 -05:00
http://weakish.int.eu.org/ 206b583c0d patch for googleform.tmpl to produce valid XHTML 2009-02-13 04:21:06 -05:00
Joey Hess 9e786e7b24 update deps and bundles 2009-02-12 13:15:23 -05:00
Joey Hess 46819b530b shortcut: If default_pageext is set, first look for shortcuts.default_pageext
Falls back to looking for shortcuts.mdwn for backwards compatabiity; there
probably exist wikis that have changed the pageext but still use
shortcuts.mdwn.
2009-02-12 13:04:20 -05:00
http://weakish.int.eu.org/ aa88d6beef patch for shortcut.pm to use $default_pageext instead of hardcode .mdwn. 2009-02-12 05:54:20 -05:00
http://weakish.int.eu.org/ 978a3570db warning about disable mdwn 2009-02-12 05:08:58 -05:00
http://weakish.int.eu.org/ 0826d99346 typo 2009-02-12 03:33:20 -05:00
http://weakish.int.eu.org/ a7e119767c use shortcut with mdwn disabled 2009-02-12 03:31:02 -05:00
http://weakish.int.eu.org/ 4d25fce92a removed 2009-02-11 05:32:51 -05:00
http://weakish.int.eu.org/ 80781387fc [tiny] add a link to meta plugin page 2009-02-11 03:08:33 -05:00
http://weakish.int.eu.org/ fc2ec9255a add instruction of lighttpd 2009-02-11 01:56:01 -05:00
http://weakish.int.eu.org/ 2d989db76a more details on ikiwiki directives 2009-02-10 08:10:13 -05:00
http://weakish.int.eu.org/ 42b16cf8f3 ikiwiki deb (3.0.3) doesn't suggests libtext-wikicreole-perl 2009-02-10 06:21:55 -05:00
Joey Hess 9a84181ad9 document writefile symlink checks 2009-02-09 16:04:33 -05:00
http://www.cse.unsw.edu.au/~willu/ f444d1206a Note todo with patch attached to solve listed problem 2009-02-07 05:47:32 -05:00
http://taozhyn.myopenid.com/ af57580491 2009-02-06 14:36:04 -05:00
Joey Hess 971df8889b note about path 2009-02-05 15:31:37 -05:00
bremner d2842c126b note possible abandonment of sourcehighlight in favour of sourcecode 2009-02-04 08:03:13 -05:00
bremner 80f2edffc0 fix joeyh's link :-) 2009-02-04 07:56:04 -05:00
bremner 7bf1207c07 2009-02-04 07:50:53 -05:00
Joey Hess 3b83e52018 rename apache404 -> 404
This may already work with other web servers that have copied apache's
interface, and it should be easy to add support to it for web servers that
use some other interface. So, make the name more general.
2009-01-31 19:26:36 -05:00
Simon McVittie c886bea320 Split cgi_goto into a goto plugin 2009-01-31 23:01:10 +00:00
Simon McVittie 46b880f839 Split apache404 into an independent plugin
Also make it ignore the 'do' parameter at Joey's suggestion, to have one
less thing to remember when configuring.
2009-01-31 22:32:10 +00:00
http://weakish.int.eu.org/ a46cf100f0 removed 2009-01-29 10:28:32 -05:00
intrigeri 4db549721d contrib/po: announce my meta-po integration branch
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-27 19:45:12 +01:00
intrigeri 0314ed459b po/todo: drop a note about my meta-po branch
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-27 19:35:38 +01:00
Joey Hess be63bed593 response 2009-01-27 13:20:33 -05:00
intrigeri af5b9b90c4 contrib/po: misc answers and questions
Step by step... :)

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-27 18:16:56 +01:00
intrigeri dcb5253091 po/todo: take note of the commit that will need to be reverted later
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-27 17:55:46 +01:00
intrigeri ea753782b2 po: remove all dependencies on nicepagetitle
... as my meta branch probably won't be merged before the po plugin is, contrary
to what I was originally supposing.

This implies removing the po_translation_status_in_links and
po_strictly_refresh_backlinks options.

Added a note to the TODO section to think of bringing these features back later,
as they really enhance user experience on a translatable wiki.

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-27 17:52:32 +01:00
intrigeri 51badc960d rename hook: instead of modifying the passed-by-name array, return a copy
This is intended to solve Joey's concerns expressed on
http://ikiwiki.info/todo/need_global_renamepage_hook/, i.e. the need to make it
possible to use this hook from external plugins.

A plugin using this hook still can add/modify/remove elements of the
@torename array.

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-27 17:08:55 +01:00
Joey Hess 5c14c7db61 Merge commit 'smcv/underlay' 2009-01-26 20:13:15 -05:00
Joey Hess aba655c6e0 comments 2009-01-26 19:46:24 -05:00
intrigeri eb9c05e18c contrib/po: backlinks=>dependencies is now an option
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-27 00:27:41 +01:00
intrigeri ca9e45c3ba po: make the "backlinks involve dependencies" feature optional
It can now be configured with the po_strictly_refresh_backlinks setting.

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-27 00:25:46 +01:00
intrigeri 183f03aa96 the rename hooks names waltz seems over
Another set of hooks would not endure such heavy renaming, but the rename* hooks
actually do ;)

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-27 00:02:15 +01:00
intrigeri 03ab262319 revert renamepage's hook original name
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-27 00:00:00 +01:00
intrigeri be43f94b9f contrib/po: update after implementing suggested changes
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-26 23:47:02 +01:00
intrigeri 190ea1d47f plugins/po: talk about the po4a version in the first lines
... as it seems it can be missed if I keep it only in the security section.

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-26 23:12:16 +01:00
intrigeri 78a095aa42 only pass named parameters to the canremove hook
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-26 23:07:19 +01:00
intrigeri f02672c113 only pass named parameters to the canrename hook
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-26 23:02:31 +01:00
intrigeri fcaa7f6237 Merge commit 'upstream/master' into prv/po 2009-01-26 22:51:50 +01:00
intrigeri dfc50165dd po and doc/todo/need_global_renamepage_hook: response
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-26 22:32:59 +01:00
Joey Hess 96073d77af review 2009-01-26 14:13:52 -05:00
Joey Hess 53be24789e don't add new exported warning function
Nothing in the po plugin actually uses this function.

The benefit of adding the function in general is debatable, but I'd
prefer to keep the changes involved in merging po at a minimum.
2009-01-26 13:37:57 -05:00
Joey Hess 12eb056b33 Merge branch 'master' into po 2009-01-26 13:05:38 -05:00
Joey Hess 51cd34afff update 2009-01-25 23:02:11 -05:00
Joey Hess ff9a61b481 update 2009-01-25 22:59:20 -05:00
Joey Hess 7a7e28c55f add a button to prefs page for comment moderation 2009-01-25 19:04:45 -05:00