MediaWiki master
defines.php File Reference

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. More...

Go to the source code of this file.

Variables

const MEDIATYPE_3D '3D'
 
const MEDIATYPE_ARCHIVE 'ARCHIVE'
 
const MEDIATYPE_AUDIO 'AUDIO'
 
const MEDIATYPE_BITMAP 'BITMAP'
 
const MEDIATYPE_DRAWING 'DRAWING'
 
const MEDIATYPE_EXECUTABLE 'EXECUTABLE'
 
const MEDIATYPE_MULTIMEDIA 'MULTIMEDIA'
 
const MEDIATYPE_OFFICE 'OFFICE'
 
const MEDIATYPE_TEXT 'TEXT'
 
const MEDIATYPE_UNKNOWN 'UNKNOWN'
 
const MEDIATYPE_VIDEO 'VIDEO'
 

Detailed Description

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.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Definition in file defines.php.

Variable Documentation

◆ MEDIATYPE_3D

const MEDIATYPE_3D '3D'

Media types. This defines constants for the value returned by File::getMediaType()

Definition at line 48 of file defines.php.

Referenced by MediaWiki\Specials\SpecialMIMESearch\getQueryInfo().

◆ MEDIATYPE_ARCHIVE

const MEDIATYPE_ARCHIVE 'ARCHIVE'

Media types. This defines constants for the value returned by File::getMediaType()

Definition at line 46 of file defines.php.

Referenced by MediaWiki\Specials\SpecialMIMESearch\getQueryInfo().

◆ MEDIATYPE_AUDIO

const MEDIATYPE_AUDIO 'AUDIO'

Media types. This defines constants for the value returned by File::getMediaType()

Definition at line 33 of file defines.php.

Referenced by MediaWiki\Specials\SpecialMIMESearch\getQueryInfo(), PackedImageGallery\getThumbParams(), and ForeignAPIFile\transform().

◆ MEDIATYPE_BITMAP

const MEDIATYPE_BITMAP 'BITMAP'

Media types. This defines constants for the value returned by File::getMediaType()

Definition at line 29 of file defines.php.

Referenced by MediaWiki\Specials\SpecialMIMESearch\getQueryInfo().

◆ MEDIATYPE_DRAWING

const MEDIATYPE_DRAWING 'DRAWING'

Media types. This defines constants for the value returned by File::getMediaType()

Definition at line 31 of file defines.php.

Referenced by MediaWiki\Specials\SpecialMIMESearch\getQueryInfo().

◆ MEDIATYPE_EXECUTABLE

const MEDIATYPE_EXECUTABLE 'EXECUTABLE'

Media types. This defines constants for the value returned by File::getMediaType()

Definition at line 44 of file defines.php.

Referenced by MediaWiki\Specials\SpecialMIMESearch\getQueryInfo().

◆ MEDIATYPE_MULTIMEDIA

const MEDIATYPE_MULTIMEDIA 'MULTIMEDIA'

Media types. This defines constants for the value returned by File::getMediaType()

Definition at line 38 of file defines.php.

Referenced by MediaWiki\Specials\SpecialMIMESearch\getQueryInfo().

◆ MEDIATYPE_OFFICE

const MEDIATYPE_OFFICE 'OFFICE'

Media types. This defines constants for the value returned by File::getMediaType()

Definition at line 40 of file defines.php.

Referenced by MediaWiki\Specials\SpecialMIMESearch\getQueryInfo().

◆ MEDIATYPE_TEXT

const MEDIATYPE_TEXT 'TEXT'

Media types. This defines constants for the value returned by File::getMediaType()

Definition at line 42 of file defines.php.

Referenced by MediaWiki\Specials\SpecialMIMESearch\getQueryInfo().

◆ MEDIATYPE_UNKNOWN

const MEDIATYPE_UNKNOWN 'UNKNOWN'

Media types. This defines constants for the value returned by File::getMediaType()

Definition at line 27 of file defines.php.

Referenced by File\getIsSafeFileUncached(), File\getMediaType(), MediaWiki\Specials\SpecialMIMESearch\getQueryInfo(), and MWFileProps\newPlaceholderProps().

◆ MEDIATYPE_VIDEO

const MEDIATYPE_VIDEO 'VIDEO'

Media types. This defines constants for the value returned by File::getMediaType()

Definition at line 36 of file defines.php.

Referenced by MediaWiki\Specials\SpecialMIMESearch\getQueryInfo().