-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
nikerabbit@svn.wikimedia.org wrote:
Revision: 26073 Author: nikerabbit Date: 2007-09-24 13:46:14 +0000 (Mon, 24 Sep 2007)
Log Message:
Committing a version which at least shows the text preview properly
- (bug 11438) Live Preview chops returned text
It's probably worth redoing the old Live Preview code to work with the newer SAJAX stuff if we're going to revive it.
Another fun project for someone might be autosaving of drafts. :)
- -- brion vibber (brion @ wikimedia.org)
On 24/09/2007, Brion Vibber brion@wikimedia.org wrote:
Another fun project for someone might be autosaving of drafts. :)
Got that more or less done in extension form, but I seem to recall having an inner debate over how best to deal with auto-saving, and handling existing edits in the same session, etc. without flooding the user with billions of drafts.
Rob Church
On 9/25/07, Rob Church robchur@gmail.com wrote:
On 24/09/2007, Brion Vibber brion@wikimedia.org wrote:
Another fun project for someone might be autosaving of drafts. :)
Got that more or less done in extension form, but I seem to recall having an inner debate over how best to deal with auto-saving, and handling existing edits in the same session, etc. without flooding the user with billions of drafts.
Why not save two versions - an "autosaved" one, and a "manually saved" one - linked together with identical unique keys, except for a draft_autosaved field. Or something.
Another fun project for someone might be autosaving of drafts. :)
Got that more or less done in extension form, but I seem to recall having an inner debate over how best to deal with auto-saving, and handling existing edits in the same session, etc. without flooding the user with billions of drafts.
Why not save two versions - an "autosaved" one, and a "manually saved" one - linked together with identical unique keys, except for a draft_autosaved field. Or something.
Yeah, I was assuming something like what Andrew describes: An internal differentiation between a manual "Save draft" (which overwrites the last saved draft) and an periodic "autosave" (which overwrites the last autosave, and which only does an autosave if something has changed since the last autosave), and under "My Drafts" it could have: * [[Article 1]] - [[Special:My Drafts/saved/Article 1|Saved draft]] [[Special:My Drafts/autosaved/Article 1|autosaved draft]] * [[Article 2]] - [[Special:My Drafts/saved/Article 2|Saved draft]] [[Special:My Drafts/autosaved/Article 2|autosaved draft]]
... or is that just going to confuse people? By causing questions like: "What is the difference between a save and an autosave, and how do I tell which is the most recent saved draft?"
-- All the best, Nick.
wikitech-l@lists.wikimedia.org