[pmwiki-users] "change summary" length

Patrick R. Michaud pmichaud at pobox.com
Thu Sep 8 13:39:15 CDT 2005


On Thu, Sep 08, 2005 at 08:25:56PM +0200, Joachim Durchholz wrote:
> [Pm sets the change summary length to 100 chars]
> 
> Configurably, I hope.

Not as simple as setting a variable, but one can switch the length
in a local configuration by doing (e.g., for 500 chars):

    $ChangeSummary = substr(stripmagic(@$_REQUEST['csum']), 0, 500);
    $InputTags['e_changesummary']['maxlength'] = 500;

I thought about creating a special-purpose variable for this but
decided it's a little too rare to worry about (and introduces a
few other initialization issues).

Pm




More information about the pmwiki-users mailing list