API:Filearchive
From MediaWiki.org
| This page is part of the MediaWiki action API documentation. |
MediaWiki action API
- Introduction and quick start
- FAQ
- Tutorial
- Formats
- Error reporting
- Restricting usage
- Cross-site requests
- Authentication
- Queries
- Searching (by title, content, coordinates...)
- Parsing wikitext and expanding templates
- Purging pages' caches
- Parameter information
- Changing wiki content
- Create and edit pages
- Move pages
- Merge pages
- Rollback
- Delete pages
- Restore deleted revisions
- (Un)protect pages
- (Un)block users
- (Un)watch pages
- Mark revisions of watched pages as visited
- Send email
- Patrol changes
- Import pages
- Change user group membership
- Upload files
- User options
- Tokens
- Page language
- More...
- Watchlist feed
- Wikidata
- Extensions
- Using the API in MediaWiki and extensions
- Miscellaneous
- Implementation
- Client code
- Asserting
| Filearchive | ||
|---|---|---|
This module cannot be used as a Generator. |
||
| Prefix | fa | |
| Required rights | none | |
| Post only? | No | |
| Generated help | Current | |
| Version added |
|
|
Enumerate all deleted files sequentially
Parameters[edit]
fafrom: The image title to start enumerating fromfacontinue: When more results are available, use this to continue 1.20+fato: The image title to stop enumerating at 1.18+faprefix: Search for all image titles that begin with this valuefadir: The direction in which to list Possible values:ascending,descending. (Default:ascending)falimit: How many images to return in total No more than 500 (5000 for bots) allowed. (Default: 10)fasha1: SHA1 hash of image. Overrides fasha1base36 1.18+fasha1base36: SHA1 hash of image in base 36 (used in MediaWiki) 1.18+faprop: What image information to get. (Default:timestamp)sha1: Adds SHA-1 hash for the imagetimestamp: Adds timestamp for the uploaded versionuser: Adds user who uploaded the image versionsize: Adds the size of the image in bytes and the height, width and page count (if applicable)dimensions: Alias for sizedescription: Adds description the image versionparseddescription: Parse the description on the version 1.18+mime: Adds MIME of the imagemediatype: Adds the media type of the image 1.20+metadata: Lists Exif metadata for the version of the imagebitdepth: Adds the bit depth of the versionarchivename: Adds the file name of the archive version for non-latest versions 1.20+
Error Codes[edit]
| Code | Info |
|---|---|
| permissiondenied | You don't have permission to view deleted file information. |