[pmwiki-users] Another approach to section editing
alongkiss at aprivatespot.com
Mon Aug 9 21:11:04 CDT 2010
In the simplest implementation of my suggested approach, users would be thrown into editing the full page with a message and conflict resolution markup if there were a conflict - the exact behavior that PmWiki has now. Of course I'd prefer section-aware handling of edit conflicts, as I think you are envisioning - but I don't want the perfect to be the enemy of the good.
If the user had no idea that any other sections existed, being thrown into full page mode would be jarring. That might even make my concept unusable. But I'm thinking that if the user normally started editing pages in full page mode and SWITCHED to editing a section by clicking on links at the top of the page (as I described), then being thrown into full page mode when a conflict occurs wouldn't be terribly jarring. Note that when you restore a page, you'd be in a similar situation: you'd see the full page at first, but could switch to focusing on a particular section.
In other words, all I'm envisioning is creating a mask on the edit form's textarea, to hide (or reveal again by clicking "All") irrelevant markup. The user can already change the size of the text area box (nice feature, BTW, thanks!), or increase the font size through the browser - section-focusing is similar in concept.
Otherwise, the behavior I'm envisioning is barely changed from PmWiki's current behavior. Preview, while section editing, would show the whole page - not just the section.
Allowing section editing during conflict resolution may not be not such a good idea, for another reason besides reorganization: the user might not realize if a conflict occurred in multiple sections. (This is a problem already, but section-focusing makes it worse.) We wouldn't want parts of the page saved unresolved. To prevent that, I'd think that section editing options should only be presented if the page does not contain conflict resolution markup. When there is a conflict, an explanatory message would appear instead of the section-editing links.
On Aug 9, 2010, at 12:52 PM, Petko Yotov wrote:
> Unfortunately, simultanious edits is not an easy thing
> to handle -- for example, if you edit a section, and in that time another
> editor reorganizes the page (refactoring, permutation of sections).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users