TNHarris | 1 Feb 01:03
Picon
Favicon

Re: Install error on snapshot


On Fri, 19 Jan 2007 17:51:36 +0100 (MET), "Robin Gareus"
<robin <at> gareus.org> said:
> 
> Bob McConnell wrote:
> > I tried to install today's snapshot, but got the following error from
> > install.php:
> >   unrecognised or modified dokuwiki.php 
> 
> AFAICT all darcs devel versions do have this issue.
> ...
> or at your option add the output of `md5sum conf/dokuwiki.php` to the
> hash list (install.php:39ff) 
> 

Darcs has a feature to run a script after a command finishes. Here's one
that will add the current hash to install.php. In your ~/.darcs/defaults
add the line:
    pull posthook hashconf.sh
    pull run-posthook
You could also use ~/dokuwiki/_darcs/prefs/defaults (and probably should
if you manage other repositories with darcs).

hashconf.sh is:
    #!/bin/sh
    datestamp=`date +%F`
    confhash=`md5sum conf/dokuwiki.php | cut -b -32`
    newline=`printf "\'dev%s\' => \'%s\'," $datestamp $confhash`
    sed -i -e "/\\\$dokuwiki_hash = array/ a $newline" install.php

(Continue reading)

TNHarris | 1 Feb 01:25
Picon
Favicon

Re: Multilingual wiki


On Sat, 27 Jan 2007 17:27:05 +0100, "Sander Tekelenburg"
<tekelenb <at> euronet.nl> said:
> Wouldn't it be practical to follow Apache's convention of adding the
> 2-letter code to the end of the file name?
> page1.txt.en
> page1.txt.de
> page1.txt.fr
> 

If only for certain broken operating systems that rely on the filename
to tell them what the content type of the file is.

I think using metadata to create a relationship between pages is the
most sensible. There's too much confusion with implicit linking. The
best way to fit with DW syntax I think is ~~LANG:en~~ to declare the
language for the current page, and ~~LANG:es:translation~~ gives the
name of the translated page. 

-- tom
telliamed <at> fastmail.us

-- 
http://www.fastmail.fm - Access all of your messages and folders
                          wherever you are

--

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

(Continue reading)

Sander Tekelenburg | 1 Feb 01:33
Picon

Re: Password protected feeds

At 13:25 -0800 UTC, on 2007-01-31, Antonio Kamiya wrote:

> Is there a way to provide page update feeds for a DokuWiki based site
> that is password protected via ACL (as in no anonymous users are allowed)?

Yes, by adding username and passphrase as parameters to the URL for the RSS
feed. So this

http://domain.example/path/feed.php

becomes this

http://domain.example/path/feed.php?u=username&p=passphrase

This tip is well hidden somewhere on the Dokuwiki site ;) (It took me a while
to figure it out myself, and right now I couldn't find it again.)

-- 
Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>
--

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Antonio Kamiya | 1 Feb 01:44
Picon

Re: Password protected feeds

Mr. Tekelenburg,

Thank you!

On Thu, 1 Feb 2007 01:33:32 +0100
Sander Tekelenburg <tekelenb <at> euronet.nl> wrote:

> At 13:25 -0800 UTC, on 2007-01-31, Antonio Kamiya wrote:
> 
> > Is there a way to provide page update feeds for a DokuWiki based site
> > that is password protected via ACL (as in no anonymous users are allowed)?
> 
> Yes, by adding username and passphrase as parameters to the URL for the RSS
> feed. So this
> 
> http://domain.example/path/feed.php
> 
> becomes this
> 
> http://domain.example/path/feed.php?u=username&p=passphrase
> 
> This tip is well hidden somewhere on the Dokuwiki site ;) (It took me a while
> to figure it out myself, and right now I couldn't find it again.)
> 
> 
> -- 
> Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>
> -- 
> DokuWiki mailing list - more info at
> http://wiki.splitbrain.org/wiki:mailinglist
(Continue reading)

Sander Tekelenburg | 1 Feb 01:56
Picon

Re: Multilingual wiki

At 19:25 -0500 UTC, on 2007-01-31, TNHarris wrote:

> On Sat, 27 Jan 2007 17:27:05 +0100, "Sander Tekelenburg"
> <tekelenb <at> euronet.nl> said:
>> Wouldn't it be practical to follow Apache's convention of adding the
>> 2-letter code to the end of the file name?
>> page1.txt.en
>> page1.txt.de
>> page1.txt.fr
>>
>
> If only for certain broken operating systems that rely on the filename
> to tell them what the content type of the file is.

Yes, that's a problem.

> I think using metadata to create a relationship between pages is the
> most sensible.

I agree that would probably be nicer.

> [...] ~~LANG:es:translation~~ gives the
> name of the translated page.

If I understand cortrectly what you mean, that would require the translator
to edit every other language version of the page. You might not want to let
them; you might not want to have to keep track of it al manually; you might
not want to have to update already existing pages (thus changing their
history; thus affecting RSS feeds, etc.) just because a translation was
added, becasue after all, the original didn;t in fact change.
(Continue reading)

Andreas Gohr | 1 Feb 04:00
Favicon
Gravatar

darcs changes 2007-02-01


Good Morning!

This are the darcs changes for DokuWiki committed
yesterday. Please test them and report bugs.

---------------------------------------------------------------------
Thu Feb  1 01:00:01 CET 2007  Andreas Gohr <andi[at]splitbrain.org>
  tagged develsnap 2007-02-01

Wed Jan 31 19:26:41 CET 2007  Andreas Gohr <andi[at]splitbrain.org>
  * esperanto update
---------------------------------------------------------------------

Single patches can be downloaded from
http://dev.splitbrain.org/darcs/index.cgi/dokuwiki/?c=patches

Bye,
your darcs changelog mailer

--

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Andreas Gohr | 1 Feb 09:15
Favicon
Gravatar

Re: Password protected feeds

Sander Tekelenburg writes:

> This tip is well hidden somewhere on the Dokuwiki site ;) (It took me a while
> to figure it out myself, and right now I couldn't find it again.)

http://search.dokuwiki.org/rss+password

Andi
--

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Esther Brunner | 1 Feb 10:48
Picon
Gravatar

Re: Multilingual wiki

Hi

> > I think using metadata to create a relationship between pages is the
> > most sensible.
>
> I agree that would probably be nicer.

I also think that's the way to go. The language of a page can be
determined by it's namespace and saved to $meta['language']. I
personally would opt for lang:ns:page rather than ns:lang:page, but
either way is possible.

> > [...] ~~LANG:es:translation~~ gives the
> > name of the translated page.
>
> If I understand cortrectly what you mean, that would require the translator
> to edit every other language version of the page. You might not want to let
> them; you might not want to have to keep track of it al manually; you might
> not want to have to update already existing pages (thus changing their
> history; thus affecting RSS feeds, etc.) just because a translation was
> added, becasue after all, the original didn;t in fact change.
>
> It would be nicer if there were some way that Dokuwiki itself automatically
> 'sees', by their mere existence, that different translations of the a page
> exist. Some sort of "istranslationof" parameter perhaps?

Exactly. There is no Dublin Core metadata term[1] for translations,
but $meta['relation']['istranslationof'] fits nicely into the scheme.
Getting all translations of a page would then be very similar to a
backlinks search. To speed this search up, we probably need a
(Continue reading)

Nassim Hasan | 1 Feb 11:38
Picon

Re: Turning off user-registration?

Martin Tschofen schrieb:
In the current stable version go into the configuration manager and disable the register function should work...martin

On 1/30/07, Nassim Hasan < lomax <at> 24-inside.de> wrote:
Hello,

when i first setted up my DokuWiki i choosed closed wiki but somehow
people are still able to registrate themselves. How can i turn this off?
If i want a new user i want to add it myself.

Greets
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Hmm i really cant find this option. Where exactly can i find the register function?

Thanks a lot in advance!
Andreas Gohr | 1 Feb 12:03
Favicon
Gravatar

Re: Turning off user-registration?

Nassim Hasan writes:

>> In the current stable version go into the configuration manager and 
>> disable the register function should work...martin
>> 
> Hmm i really cant find this option. Where exactly can i find the register 
> function?

I put up a screenshot at http://wiki.splitbrain.org/wiki:faq:regdisable

--

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist


Gmane