[dokuwiki] Re: [PATCH] media file reference checker complete

On Fri, 17 Jun 2005 19:47:05 +0200
Andreas Gohr <andi@xxxxxxxxxxxxxx> wrote:

> I just found the time to have a look at it and I like it.
> 
> > Here are all new configuration values (including part 1):
> > - refcheck  :  boolean, enable reference check : default: 1
> > - refcount  :  int, no of references to be saved : default: 5
> > - refshow  :  boolean, enable if references should be shown: default:
> > 0
> 
> I think we could merge thes in one option. -1 would mean no
> checking at all, 0 would mean check but don't show references
> and more than 0 would be the number of shown references.
> The default should be 5.

Yes, it would work, but would your really like it? It would be the first
highly compressed option in dokuwiki.conf and furthermore breaks the logic,
because '0' means here 'enabled' where all other options read '0' as 'disabled'.

I suggest to merge refcheck and refcount and let refshow as it is.
I prepare a patch for this.

If you want to reduce configuration options you could merge 'openregister'
and 'autopasswd':
 '0' = disabled,
 '1' = openregister, password sent by mail,
 '2' = openregister, password handled by dialog
 
> > > 2. What about the page links? should they work or only displayed for
> > > information? The user still edits an article when this information
> > > is displayed.
> > Directly jumping to the pages containing references is not possible.
> 
> How about linking with an target="_new" to open them in a new window?

Yes, I thought about that but wasn't completely lucky with it. The user
will leave his current editor session and open one or more new Wiki
windows. This breaks the work flow and I think this will confuse 'normal'
users more that it will help them.

If the user really wants to eliminate all references to an special media
file, I would suggest he keeps the media references window open, closes
his work on the current page and move to all references one by one in
his normal wiki window. As last he could delete the media file directly
in the already open mediafile selection dialog. This is more straight
forward than creating window by window. Maybe I underestimate the
'normal' user and if I do so, we could change this later.

 Best Regards
   Matthias





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

Other related posts: