[pmwiki-users] Re: Redesigning the edit page - heirarchical menus?

Joachim Durchholz jo at durchholz.org
Fri Apr 29 08:15:58 CDT 2005


Dr Fred C wrote:

> Joachim Durchholz wrote:
> 
>> Dr Fred C wrote:
>>
>>> Before one complicates the save routine, perhaps the major/minor 
>>> option could be automated by comparing the page size before and 
>>> after.  If the change is size is bigger than 15 chars or 5% (or 
>>> whatever is set in config as the trigger for major edit), then it's a 
>>> major change, otherwise it's automatically saved as a minor change.
>>
>> Don't include markup changes in the character count.
>>
>> Problem: if PmWiki decides it's major after all and the user 
>> disagrees, how can he correct that? Asking would require an additional 
>> HTML interaction, which is slow and makes the wiki "less fun".
> 
> The user would click on 'minor' edit for saving if that is what they 
> want.   It seems the automated process would only need to be executed on 
> major edit saves.

I think that places us back at square one: the user has two ways of 
saving, and must choose the right one.

 > The primary glitch would seem to be if one had a page
> of 100 chars and deleted them and entered another 100 chars, that would 
> be considered a minor change by most unsophisticated algorithms. .

That's an easy one. PmWiki already uses a diff algorithm, so it would be 
possible to count the differences.

Regards,
Jo



More information about the pmwiki-users mailing list