amaurea: I think this wiki could learn from cvs when it comes to page editing. As it is now, only one person may edit a page at a time; the page is locked for 10 minutes after someone starts editing it. If someone (A) does a long edit (say, an hour), his lock will expire, and someone (B) else could come and start another edit. If A then saves first, and then B, A's long edit will be overwritten by B's.

This problem is solved in cvs, where A and B's changes would be merged, and A would be presented with the conflicts and allowed to fix these if there are any. This is how wikipedia does things, too, so perhaps we could adapt some of their code.

SoulWynd: You can click on preview to extend your lock. But yeah, it gets annoying when someone is doing a huge edit and you have to wait. But if you use the action=info you can check the differences and fix what was wrong when the huge post was erased. I like your idea tho, I just dunno if they will go thru the trouble of implementing it.

NeilStevens: CVS needs merging because it is usually used without locking. We have locking here, and it'll work fine as long as people are considerate. Honor locks, hit cancel when you're not going to edit, give up the lock promptly, and all will be well.

SoulWynd: Just to add, you can use the action=raw method to view the page wiki code. It's good if you want to plan your addition offline and then just paste it into whatever you're editing. That wouldn't keep the lock for too long and people would be able to edit it right after.

MayLith: I've done a number of hour+ edits, and I do find it irritating to have to continually hit 'preview' to extend the lock. This is especially true when I am holding two different pages open. (Yes, I could theoretically edit offline, but these are becoming large pages, and my laptop gets grouchy when Word starts editing multiple, large pages.) I don't know what the alternative might be, though.

BTW, Neil, might respecting edit locks be a good topic to add to the "addendum" to the style guide?

SoulWynd: Edit using the notepad :) It's one of the few (practicaly) bug-less microsoft programs along with dos' edit.

JulesBean: Editing offline doesn't solve the locks problem, it ignores it. Isn't editing offline exactly the same as doing an hour-long edit and not-bothering to extend the lock, ever?

MayLith: Editing offline is not a good idea, period, which is why I used the word 'theoretically'. If you copy info out to an editor, let the lock expire, and start hacking away on it, then paste it back in an hour later, you chance erasing anything that might have been entered since you copied the info out.

SoulWynd: The idea is to use action=raw on the page, copy the code, edit it, check if someone changed the page, if not, edit the page, paste the new content and save changes. That wouldn't hold the lock at all.

MayLith: I already thought of that. That'd be fine if Notepad's buffer was big enough for my purposes, but it is not.

SoulWynd: Hm... I open books with ~500 (>1mb) pages on notepad... Are you working with stuff bigger than that? ... Anyway, wordpad should also work. I like the CVS idea btw, since It prolly wont be implemented I'm just giving out ideas. *shrug*

NeilStevens: Editing offline is a good idea for very long work, I think, as long as you're not holding the lock. Just download the raw data, write, then take the lock and edit. As long as you make sure to check RecentChanges and merge in anything that changed since you grabbed the raw data, things will work out fine.

Oh, just make sure that when you paste the data back in that you check RecentChanges after the edit, too, to make sure you didn't inadvertently change anything you didn't mean to change.

Wiki Suggestions/Editing by several people at the same time (last edited 2004-07-15 22:29:35 by NeilStevens)