Commit Graph

1049 Commits (42cc56f796dee9b6fcff830aa63f769ccbd6e5ad)

Author SHA1 Message Date
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
Joey Hess 1b89899534 po responses, 1 month late 2009-05-19 13:14:22 -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 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 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
intrigeri 00a9b8c176 po follow-up 2009-03-28 06:43:31 -04: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 2852cf14a2 review 2009-03-27 15:51:13 -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 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
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