Commit Graph

10359 Commits (4b1534d5bc969e05488a1f85f42208cbdf3da32e)

Author SHA1 Message Date
Joey Hess 7a22ead98e update 2009-06-08 21:25:17 -04:00
http://www.lunix.com.au/ c2cf78dd4b add my response 2009-06-08 21:18:36 -04:00
Joey Hess 3f9dd729b3 resp 2009-06-08 20:53:23 -04:00
http://www.lunix.com.au/ dabb60d060 add my response 2009-06-08 20:24:36 -04:00
Joey Hess 375cf730b2 response 2009-06-08 19:08:06 -04:00
Joey Hess 5418385336 Optimise use of gettext, and avoid ugly warnings if Locale::gettext is not available.
The test suite was emitting a lot of ugly gettext warnings;
setting LC_ALL didn't solve the problem for all locale setups
(since ikiwiki remaps it to LANG, and ikiwiki didn't know about
the C locale).

People also seem generally annoyed by the messages when
Locale::Gettext is not installed, and I suspect will be
generally happier if it just silently doesn't localize.

The optimisation came about when I noticed that the gettext
sub was doing rather a lot of work each call just to see
if localisation is needed. We can avoid that work by caching,
and the best thing to cache is a version of the gettext sub
that does exactly the right thing.

This was slightly complicated by the locale setting,
which might need to override the original locale (or lack
thereof) after gettext has been called. So it needs to invalidate
the cache in that case. It used to do it via a global variable,
which I am happy to have also gotten rid of.
2009-06-08 18:33:54 -04:00
http://davide.viti.myopenid.com/ 331cc6cca1 Instructions to allow .cgi files to execute from anywhere using boa webserver 2009-06-08 03:33:30 -04:00
http://www.lunix.com.au/ f839d99694 add in new openid forum question 2009-06-08 00:15:53 -04:00
http://lj.rossia.org/users/imz/ d932fc32f3 Added a wikilink to the solution. 2009-06-07 13:25:14 -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
intrigeri 17b3d73f6e Revert "quick fix for http://ikiwiki.info/bugs/unwanted_discussion_links_on_discussion_pages/"
This reverts commit 2ed033a4aa.
It has been more properly fixed in upstream's master, that will be merged in
immediately.

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-06-06 14:01:28 +02:00
Joey Hess e40d2a6b2b goto: Support being passed a page title that is not a valid page name, to support several cases including mercurial's long user names on the RecentChanges page, and urls with spaces being handled by the 404 plugin. 2009-06-06 02:36:40 -04:00
Joey Hess 07b61ec8b6 add 2009-06-06 02:25:25 -04:00
Joey Hess e8d8386e52 pagecount: Fix broken optimisation for * pagespec. 2009-06-05 18:04:39 -04:00
martin 8d74888235 fixed link 2009-06-05 17:52:54 -04:00
martin e27aaf967c pagecount incorrectly claims there are 0 pages ... 2009-06-05 17:50:43 -04:00
Joey Hess 1e081cf7e4 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-06-05 16:58:37 -04:00
Joey Hess 0293ae8e3d Setup automator: Check that each plugin added to the generated setup file can be loaded and that its config is ok. If a plugin fails for any reason, disable it in the generated file. Closes: 532001 2009-06-05 16:58:06 -04:00
http://lj.rossia.org/users/imz/ e8bd089583 thanks. 2009-06-05 16:38:13 -04:00
Joey Hess 9e74d60057 add note about the basewiki being self contained 2009-06-05 16:33:07 -04: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
Joey Hess dd4e363215 remove link to page outside the base wiki
I'm sorry, but you can't simply go around adding links to pages that are
part of the basewiki, that point to pages outside the basewiki. Doing
so causes the test suite to fail, since the basewiki is then not
self-contained and has broken links.

FYI, the ikiwiki/anchor page you added is not part of the basewiki because
there's not a symlink to it in underlays/basewiki/ikiwiki in ikiwiki's
source. And I can't condone cluttering up the basewiki with such a page,
at least unless it gets significantly more useful somehow.
2009-06-05 16:18:19 -04:00
Joey Hess bd78168f71 Tighten up matching of bare words inside directives
Do not allow an unterminated """ string to be treated as a series of bare
words. Fixes runaway regexp recursion/backtracking in strange situations.

(See 1d57a21c98 for test case.)
2009-06-05 16:14:51 -04:00
Joey Hess 763f4b91da add test case for unterminated """ string
A directive that contains an unterminated """ string should not
cause each word of the string to be treated as a bare word. Instead,
the directive should fail to parse.

There are two tests. One just checks that a complete directive
containing such a string fails to parse. The other checks for a case
where a directive ends with a very long unterminated """ string,
and the directive is itself not closed. While this test won't fail,
it does trigger a nasty perl warning.
2009-06-05 16:10:08 -04:00
Joey Hess 1d57a21c98 close 2009-06-05 15:04:49 -04:00
http://lj.rossia.org/users/imz/ ba78867d73 minor formatting issue: Having a wikilink in the heading was not very nice. 2009-06-05 14:59:56 -04:00
http://lj.rossia.org/users/imz/ 3b1dd0facb Created the page, so that one can inspect the backlinks. 2009-06-05 14:58:29 -04:00
http://lj.rossia.org/users/imz/ 891ccea06f Added a wikilink on a term (to keep track of the discussions of anchors). 2009-06-05 14:57:14 -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/ c715c20fde Put wikilink on a useful term (perhaps, someday there is an explanation there about all relevant stuff about anchors in ikiwiki). 2009-06-05 14:49:39 -04:00
http://lj.rossia.org/users/imz/ 7158fab372 minor: Style. 2009-06-05 14:41:05 -04:00
http://lj.rossia.org/users/imz/ 08b5581b92 minor: Formatting the code. 2009-06-05 14:38:49 -04:00
http://lj.rossia.org/users/imz/ c873dd03b8 Report the failed test of the "more" plugin. 2009-06-05 14:37:14 -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
Lunar e78883e07f Some thoughts on how to disable 'Preferences' link when irrelevant 2009-06-05 13:22:03 +02:00
Joey Hess 27624f0456 update po files 2009-06-04 13:24:45 -04:00
Joey Hess 059d6f01fa fix further places where translated discussion case was assumed
Another benefit is that consistently using gettext("Discussion")
eliminates the need to translate one string.
2009-06-04 13:20:52 -04:00
Joey Hess 6842328405 Avoid relying on translators preserving the case when translating "discussion", which caused Discussion pages to get unwanted Discussion links. 2009-06-04 13:15:05 -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://smcv.pseudorandom.co.uk/ 25aa050305 fixed upstream, debian bug opened 2009-06-03 14:28:21 -04:00
http://smcv.pseudorandom.co.uk/ 296554daaf 2009-06-03 14:21:40 -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
intrigeri 091f11be76 po: better discussion link logic
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-06-03 18:30:00 +02:00