Extension:Drafts

This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored.

If you are interested in taking on the task of developing and maintaining this extension, you can request repository ownership. As a courtesy, you may want to contact the author. You should also remove this template and list yourself as maintaining the extension in the page's {{extension}} infobox.

The Drafts extension adds the ability to save a draft of a page on the server while editing. Users must be logged in to save drafts, as they are tied to their user account. Drafts are always discarded when they are used to save the page they came from.

Drafts automatically expire if not modified for a longer specific length of time (configurable). To prevent excessively frequent modifications to the database, these drafts are only actually pruned from the database a fraction of the times (configurable) which a request for a list of drafts are made. Even if pruning never takes place, expired drafts will not be accessible to users.

Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

The extension needs its own table within the MediaWiki database, and this is the reason you have to execute the update.php script. However, you may be able to save executing the update script if you manually import the contents of the extensions/Drafts/Drafts.sql file into your database, but don't do it directly with MySql because the SQL file itself relies on MediaWiki variables for finding the correct database prefix and table options.