MediaWiki master
MediaWiki\Parser\ParserOutputLinkTypes Class Reference

Static Public Member Functions

static cases ()
 

Public Attributes

const CATEGORY = 'category'
 Category links.
 
const EXISTENCE = 'existence'
 #ifexist references
 
const INTERWIKI = 'interwiki'
 Interwiki links.
 
const LANGUAGE = 'language'
 Language links.
 
const MEDIA = 'media'
 Links to media.
 
const SPECIAL = 'special'
 Links to special pages.
 
const TEMPLATE = 'template'
 Links to templates.
 

Detailed Description

Definition at line 38 of file ParserOutputLinkTypes.php.

Member Function Documentation

◆ cases()

static MediaWiki\Parser\ParserOutputLinkTypes::cases ( )
static

Definition at line 98 of file ParserOutputLinkTypes.php.

Member Data Documentation

◆ CATEGORY

const MediaWiki\Parser\ParserOutputLinkTypes::CATEGORY = 'category'

Category links.

See also
ParserOutput::addCategory
ParserOutput::getCategoryMap
ParserOutput::getCategoryNames

Definition at line 46 of file ParserOutputLinkTypes.php.

◆ EXISTENCE

const MediaWiki\Parser\ParserOutputLinkTypes::EXISTENCE = 'existence'

#ifexist references

See also
ParserOutput::addExistenceDependency

Definition at line 96 of file ParserOutputLinkTypes.php.

◆ INTERWIKI

const MediaWiki\Parser\ParserOutputLinkTypes::INTERWIKI = 'interwiki'

Interwiki links.

See also
ParserOutput::addInterwikiLink
ParserOutput::getInterwikiLinks

Definition at line 53 of file ParserOutputLinkTypes.php.

◆ LANGUAGE

const MediaWiki\Parser\ParserOutputLinkTypes::LANGUAGE = 'language'

Language links.

See also
ParserOutput::addLanguageLink
ParserOutput::getLanguageLinks

Definition at line 60 of file ParserOutputLinkTypes.php.

◆ MEDIA

const MediaWiki\Parser\ParserOutputLinkTypes::MEDIA = 'media'

Links to media.

See also
ParserOutput::addImage
ParserOutput::getImages
ParserOutput::getFileSearchOptions

Definition at line 75 of file ParserOutputLinkTypes.php.

◆ SPECIAL

const MediaWiki\Parser\ParserOutputLinkTypes::SPECIAL = 'special'

Links to special pages.

See also
ParserOutput::addLink
ParserOutput::getLinksSpecial

Definition at line 82 of file ParserOutputLinkTypes.php.

◆ TEMPLATE

const MediaWiki\Parser\ParserOutputLinkTypes::TEMPLATE = 'template'

Links to templates.

See also
ParserOutput::addTemplate
ParserOutput::getTemplates
ParserOutput::getTemplateIds

Definition at line 90 of file ParserOutputLinkTypes.php.


The documentation for this class was generated from the following file: