I love Drafts extensions that saves the draft of the page during editing.[1] It's not yet compatible with Semantic Forms which is a pity, but if your wiki don't use Forms it will work ideally
[1] http://www.mediawiki.org/wiki/Extension:Drafts
----- Yury Katkov, WikiVote
On Wed, Nov 7, 2012 at 1:35 AM, Amelia Ireland amelia.ireland@gmod.orgwrote:
Hello all,
Is it possible to pause and resume a Mediawiki edit?
To explain, I've written a MW extension that accesses an external database; this database requires OAuth authentication [1.0, pre-OAuth wars version], which is a three-step process requiring the user to be redirected to an external site to allow the extension access to the external db. If the MW extension already has an access token for the extDb, all is well. However, if there isn't a token, there is a problem. This is a tag extension, and is triggered by finding a certain XML tag in the wiki page, which typically occurs in the 'preview' or 'submit' of an edit, e.g. http://server.com/wiki/index.php?title=Bibliography&action=submit (the parser hook is ParserFirstCallInit). The callback URL constructed by the OAuth code returns you to the page you were editing, but in its pre-edit state: i.e. you lose all your edits.
How can I resume the edit and not lose my edit data?
Thanks for any help, clues, or workarounds!
-- Amelia Ireland GMOD Community Support || http://gmod.org
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l