[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Special handling for file pages. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
File Size: | 230 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 1 time |
Includes or requires: | 0 files |
WikiFilePage:: (11 methods):
__construct()
setFile()
loadFile()
getRedirectTarget()
followRedirect()
isRedirect()
isLocal()
getFile()
getDuplicates()
doPurge()
getForeignCategories()
Class: WikiFilePage - X-Ref
Special handling for file pages__construct( $title ) X-Ref |
setFile( $file ) X-Ref |
param: File $file |
loadFile() X-Ref |
return: bool |
getRedirectTarget() X-Ref |
return: mixed|null|Title |
followRedirect() X-Ref |
return: bool|mixed|Title |
isRedirect() X-Ref |
return: bool |
isLocal() X-Ref |
return: bool |
getFile() X-Ref |
return: bool|File |
getDuplicates() X-Ref |
return: array|null |
doPurge() X-Ref |
Override handling of action=purge return: bool |
getForeignCategories() X-Ref |
Get the categories this file is a member of on the wiki where it was uploaded. For local files, this is the same as getCategories(). For foreign API files (InstantCommons), this is not supported currently. Results will include hidden categories. return: TitleArray|Title[] |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |