Last modified: 2014-02-12 23:38:22 UTC
Reporting against revision 52757 (/trunk/extensions/Drafts) Steps to reproduce :: 1) Create an article and create few drafts. 2) Stop the services and change the server time (today + 30 days) 3) Start the service and check the drafts through Special:Drafts <<Old drafts are not listed >> 4) Check the Drafts table and get the draft IDs and create URL for edit pages <<Expired drafts are still available in table which is an acceptable behavior>> 5) Access the Draft using constructed URL (or bookmarked url) <<The draft is loaded in edit window>> Additional Observations draft_edittime, draft_edittime and draft_savetime are reset to today when the draft is saved. Expected Outcome:: Expired drafts shall not be available to users Reference ::http://www.mediawiki.org/wiki/Extension:Drafts Draft Expiration Even if pruning never takes place, expired drafts will not be accessible to users. Test Environment :: OS : Vista , DB : MySQL 5.1.33 , PHP : 5.2.9-2, MediaWiki : 1.15.0 Browser : Firefox 3.0.11
Not critical.
Drafts::clean is called very randomly (1/1000 by default), so this isn't surprising. A solution might be to write a maintenance script that clears everything expired, and run it reguarly.
Change 89769 had a related patch set uploaded by Legoktm: Add a script to remove expired drafts from the database https://gerrit.wikimedia.org/r/89769