Commit Graph

10611 Commits (8b99e6874353a1b981490de8d96ca1945fc0b752)

Author SHA1 Message Date
Joey Hess 8b99e68743 use pagespec_match_list for feedpages
This is both faster, and propigates any error in processing the feedpages
pagespec out to display on the page. Which may have been why I didn't use
it before, but currently seems like a good thing to do, since it explains
why your feeds are empty..
2009-08-16 13:45:10 -04:00
Joey Hess 46a6e27347 fix error message display
The gettext call can clear $@ in at least some cases.
2009-08-16 13:43:31 -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 1be07eae46 replace N/A with 0
I think the N/A was not intended to be visible, but it can show up as the
percent translated to a language. This happens if the page is located in an
underlay, and not translated to the language in any other underlay.
2009-08-15 21:08:17 -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 6793d0e2f5 update 2009-08-15 18:28:51 -04:00
Joey Hess 43e895ec78 another problem 2009-08-15 17:29:05 -04:00
Joey Hess 1e30be656f link to l10n.ikiwiki.info website 2009-08-15 17:07:25 -04:00
Joey Hess e9d20231a0 further otherlanguages list styling 2009-08-15 17:00:16 -04:00
Joey Hess e031551727 update for consistency 2009-08-15 16:42:29 -04:00
Joey Hess ac253566ae Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-08-15 16:34:20 -04:00
Joey Hess 54c2e05ccf Add basic styling of po plugin's languages list. 2009-08-15 16:33:54 -04:00
Joey Hess 1b63a0e4fa another problem 2009-08-15 16:15:36 -04:00
Joey Hess e9bc2e96ac resolve conflict 2009-08-15 15:49:07 -04:00
Joey Hess d13c07dec1 noticed a problem 2009-08-15 15:20:46 -04:00
Joey Hess bd34fcd874 reorg and cleanup 2009-08-15 14:26:07 -04:00
Joey Hess 04760df381 Allow building ikiwiki on systems w/o po4a -- building of the translated underlays will be skipped in this case. 2009-08-15 14:10:39 -04:00
Joey Hess 1f95a925f3 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-08-15 13:59:34 -04:00
Joey Hess c258160725 review of ready branch 2009-08-15 13:59:04 -04:00
Joey Hess 6a2f3ef4bd indentation 2009-08-15 13:58:04 -04:00
Simon McVittie 97e9d99358 meta: depend on absolute page name, not relative
Previously, [[!meta redir="foo"]] on bar, where bar/foo exists, would
depend on "foo" (which matches nothing, probably) rather than "bar/foo".
(cherry picked from commit f27ec09b72f886415e63fe394e18d9c3cb3913bf)
2009-08-15 13:50:55 -04:00
Simon McVittie e0bb9675ce img: depend on absolute page name, not relative
Previously, [[!img bar.jpg]] on foo, where foo/bar.jpg exists, would
get a dependency equivalent to "glob(bar.jpg)" (which might not match
anything), rather than the correct "glob(foo/bar.jpg)".
(cherry picked from commit 85b2ec49ecd12dd23e5c432933457a72744ce7cb)
2009-08-15 13:50:34 -04:00
http://www.cse.unsw.edu.au/~willu/ fdf3025133 2009-08-14 22:21:04 -04:00
http://www.cse.unsw.edu.au/~willu/ 1f64181f90 new dependency added 2009-08-14 21:43:47 -04:00
http://www.cse.unsw.edu.au/~willu/ 3e086c84a2 Related comments on openid redirection. 2009-08-14 19:10:57 -04:00
Joey Hess cfdabf348d forwarded upstream with analysis 2009-08-14 15:09:01 -04:00
Joey Hess a4ad193d46 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-08-14 13:06:19 -04:00
lludwig 110d6e18b4 2009-08-14 09:49:49 -04:00
62.147.182.222 4bf7c24451 poll vote (Accept only password logins) 2009-08-14 07:42:28 -04:00
Joey Hess 82bb3af579 optimise brokenlinks by gathering the data when calculating backlinks
During backlink calulation, all links are examined and broken links can
be detected for free, so store a list of broken links and have brokenlinks
use it.

Exposing the %brokenlinks structure is a bit ugly, but the speedup seems
worth it: Around 1 second for wikis the size of the doc wiki that use
brokenlinks.
2009-08-14 01:11:53 -04:00
Joey Hess f486271009 orphans: Reuse backlinks info
This plugin was building essentially the same data that is built to handle
backlinks, so reuse that as an optimisation.
2009-08-14 00:51:52 -04:00
Joey Hess 949eb252e9 po: use discussionpage config setting
This was tricky. $links{$page/discussion} must be checked; with it in
lowercase.
2009-08-13 21:44:40 -04:00
Joey Hess 830c9e59b2 Add discussionpage configuration setting
By adding this setting, we get both more configurability, and a minor
optimisation too, since gettext does not need to be called continually
to get the Discussion value.
2009-08-13 21:41:33 -04:00
dave 2007005cd2 removed 2009-08-13 21:09:24 -04:00
Joey Hess fed73d8d92 change PROFILE to use Devel::NYTProf 2009-08-13 21:05:07 -04:00
Joey Hess 159c0c043c optimise gettext calls 2009-08-13 21:04:19 -04:00
Joey Hess 46c2d66fd3 disable pagecount here, sorta of excessive since the bug has been done 2009-08-13 19:05:27 -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 d512d58022 response 2009-08-13 17:48:36 -04:00
http://schmonz.livejournal.com/ 9e2c8a96cd add me new repo, yarrr 2009-08-13 17:14:32 -04:00
lludwig 7b3b0dabb3 2009-08-13 14:14:50 -04:00
91.105.86.99 3c06e94978 poll vote (Accept only OpenID for logins) 2009-08-13 14:05:59 -04:00
lnussel 1c2bdf8352 add comment about automenu plugin 2009-08-13 11:45:38 -04:00
lnussel da1d046f61 yes please 2009-08-13 11:07:59 -04:00
dave 92d185093c 2009-08-12 23:48:45 -04:00
Joey Hess 6f4e9f38b8 version po4a build-dep to 0.34
0.35 is much better, but 0.34 is the minimum version that will work
2009-08-12 16:15:59 -04:00
Joey Hess 4971f873a0 more idiomatic use of foreach 2009-08-12 12:49:40 -04:00