Author: janesh
Description:
Reporting against revision 52757 (/trunk/extensions/Drafts)
Steps to reproduce ::
- Create an article and create few drafts.
- Stop the services and change the server time (today + 30 days)
- Start the service and check the drafts through Special:Drafts
<<Old drafts are not listed >>
- 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>>
- 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
Version: unspecified
Severity: normal
OS: Windows Vista
Platform: PC