Andreas Gohr | 1 Oct 04:00
Favicon
Gravatar

darcs changes 2008-10-01


Good Morning!

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

---------------------------------------------------------------------
Wed Oct  1 01:00:01 CEST 2008  Andreas Gohr <andi[at]splitbrain.org>
  tagged develsnap 2008-10-01
---------------------------------------------------------------------

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

Andy Webber | 1 Oct 19:51
Favicon

Patch to make configurable display of user that made changes

In a corporate environment, particularly with Single Sign-On, a user's 
login name may not be convenient [and also not under the user's control] 
so may not be the most appropriate thing to display as the user that 
last edited a page.

This patch adds a configuration parameter that lets an admin decide 
whether to display the login name, full name or e-mail address of the 
person that made an edit (on the page at bottom right, on Recent Changes 
and on Old Revisions). It also changes the "logged in as" text to be 
consistent. Where an e-mail address is to be displayed, it can be either 
as plain text or as a mailto: link. [e-mail display is unlikely to be 
used on Internet facing sites due to address harvesting, but it follows 
the 'mailguard' setting to obfuscate as appropriate].

Cheers
Andy
Attachment (editor_info_patch.gz): application/x-gzip, 61 KiB
Guy Brand | 1 Oct 21:34
Picon
Picon

Re: Patch to make configurable display of user that made changes

Andy Webber wrote:

Hello

Thanks for the patch.

> This patch adds a configuration parameter that lets an admin decide 
> whether to display the login name, full name or e-mail address of the 
> person that made an edit (on the page at bottom right, on Recent Changes 

Let's be pragmatic. No one serious will want to display email
addresses. Login name are computer centric. I'd suggest to
replace the login name by the full name? It's more meaningful
for humans.

-- 
  bug

--

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

Andy Webber | 1 Oct 22:16
Favicon

Re: Patch to make configurable display of user that made changes

Guy Brand wrote:
> Andy Webber wrote:
>> This patch adds a configuration parameter that lets an admin decide 
>> whether to display the login name, full name or e-mail address of the 
>> person that made an edit (on the page at bottom right, on Recent Changes 
> 
> Let's be pragmatic. No one serious will want to display email
> addresses. Login name are computer centric. I'd suggest to
> replace the login name by the full name? It's more meaningful
> for humans.

I understand your point; but let me expand on my use-case a little.

I agree that use of e-mail address would be rare, but it is actually 
what I want for the instance I manage. Amongst my target audience 
(currently around 100 contributors from a total pool size of around 
85,000), e-mail address is actually the most recognisable unique 
distinguishing thing. Login name is not recognisable as it is machine 
generated on a central Single Sign-On system. Full name can be ambiguous 
(because for SSO it doesn't need to be unambiguous). But e-mail address 
is widely used on other internal systems so is the most distinguishing 
and most recognised "name" within my pool of users.

My site is purely internal ("behind the firewall") so no risk of address 
harvesting. I also have a large user community that includes quite a few 
people that have not bought into the whole Wiki Way and are, well, too 
/scared/ to make edits and or add comments to a page that are instantly 
visible to everyone. Such people are more inclined to e-mail a page 
author/editor than to get in there and edit the page; they don't do 
Facebook and that whole Web2.0 thing. So I want a mailto: link so that 
(Continue reading)

Clayton Ginsburg | 1 Oct 22:40
Favicon

Re: Patch to make configurable display of user that made changes

For the wiki that my company runs, we have a very similar scenario.
Having the option to display email address would be nice.  For our
implementation though, username is fairly easy to decipher and determine
who the author is and what the author's email address is.

Thanks,
Clayton Ginsburg

-----Original Message-----
From: dokuwiki-bounce <at> freelists.org
[mailto:dokuwiki-bounce <at> freelists.org] On Behalf Of Andy Webber
Sent: Wednesday, October 01, 2008 3:16 PM
To: dokuwiki <at> freelists.org
Subject: [dokuwiki] Re: Patch to make configurable display of user that
made changes

Guy Brand wrote:
> Let's be pragmatic. No one serious will want to display email
> addresses. Login name are computer centric. I'd suggest to
> replace the login name by the full name? It's more meaningful
> for humans.

I understand your point; but let me expand on my use-case a little.

I agree that use of e-mail address would be rare, but it is actually 
what I want for the instance I manage. 

--

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
(Continue reading)

Metz, Bobby | 1 Oct 22:49

Re: Patch to make configurable display of user that made changes

Hi, new to the list.  I see instructions on the website for patching
from one wiki version to the next but not installing patch files like
this one.  I understand patching of single files, but your file includes
changes to multiple files.  What is the easy way to install this patch
into DokuWiki?  Also, is this patch only intended for the most current
version or would it work with most releases?

Thanks,

Bobby

-----Original Message-----
From: dokuwiki-bounce <at> freelists.org
[mailto:dokuwiki-bounce <at> freelists.org] On Behalf Of Andy Webber
Sent: Wednesday, October 01, 2008 10:52 AM
To: dokuwiki <at> freelists.org
Subject: [dokuwiki] Patch to make configurable display of user that made
changes

In a corporate environment, particularly with Single Sign-On, a user's 
login name may not be convenient [and also not under the user's control]

so may not be the most appropriate thing to display as the user that 
last edited a page.

This patch adds a configuration parameter that lets an admin decide 
whether to display the login name, full name or e-mail address of the 
person that made an edit (on the page at bottom right, on Recent Changes

and on Old Revisions). It also changes the "logged in as" text to be 
(Continue reading)

Andreas Gohr | 2 Oct 04:00
Favicon
Gravatar

darcs changes 2008-10-02


Good Morning!

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

---------------------------------------------------------------------
Wed Oct  1 21:51:52 CEST 2008  Andreas Gohr <andi[at]splitbrain.org>
  * Try to fix checkboxes in media manager in FF3

  This patch fixes the position of the option checkboxes in the mediamanager
  for Firefox 3. It might have broken them in other browsers.

  Please test everybody.

Wed Oct  1 20:10:02 CEST 2008  Michal Kolodziejski <M.Kolodziejski[at]net.icm.edu.pl>
  * wrap media file deletion in MEDIA_DELETE_FILE event

Wed Oct  1 17:29:14 CEST 2008  Andy Webber <dokuwiki[at]andywebber.com>
  * editor_info_patch
  At present, DW shows the username on the bottom left under "logged in as", and the login name for "last
modified", "locked by" and under 
  revisions/recent changes. In a corporate environment, particularly when integrated with a Single
Sign-On system, the login name may be somewhat 
  unfriendly. This patch makes the "logged in as" the same as the value used elsewhere and also allows an admin
to decide whether it should be the 
  login name, username or e-mail address that is displayed. The e-mail address may also, optionally, be a
mailto: link. E-mail addresses are 
  obfuscated according to the 'mailguard' setting. The default behaviour is to show the login name which is
no change from previous behaviour for the 
(Continue reading)

Guy Brand | 2 Oct 22:01
Picon
Picon

Re: Patch to make configurable display of user that made changes

Metz, Bobby wrote:

Hello

> Hi, new to the list.  I see instructions on the website for patching
> from one wiki version to the next but not installing patch files like
> this one.  I understand patching of single files, but your file includes
> changes to multiple files.  What is the easy way to install this patch
> into DokuWiki?  Also, is this patch only intended for the most current
> version or would it work with most releases?

It's a darcs patch as DokuWiki development uses darcs SCM. It applies
against a copy (clone) of the darcs repository. See the page about
darcs for more details: http://www.dokuwiki.org/devel:darcs

-- 
  bug

--

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

Guy Brand | 2 Oct 22:03
Picon
Picon

Re: Patch to make configurable display of user that made changes

Metz, Bobby wrote:

> changes to multiple files.  What is the easy way to install this patch
> into DokuWiki?  Also, is this patch only intended for the most current
> version or would it work with most releases?

By the way, Andi just pushed the patch to the development repository
so if you get your copy of this repository you won't have nothing to
do to get access to the feature provided by the patch. Of course it's
a development version of DokuWiki.

-- 
  bug

--

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

Andreas Gohr | 3 Oct 18:39
Favicon
Gravatar

Linking to the API docs

Hi *

I just finished a new plugin for DokuWiki called xref [1]. It is
installed at dokuwiki.org and makes it very easy to link to the
autogenerated source code docs. Please have a quick look at the syntax
description and try to make use of it when ever you mention a
variable, constant, function, class or file in any DokuWiki page. This
should make it much easier for new developers to jump into DokuWiki's
code.

Now have a nice weekend :-)

[1] http://www.dokuwiki.org/plugin:xref

-- 
splitbrain.org
--

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


Gmane