MediaWiki master
ParserOutputLinkTypes.php
Go to the documentation of this file.
1<?php
2
13
14namespace MediaWiki\Parser;
15
23
30 case CATEGORY = 'category';
31
36 case INTERWIKI = 'interwiki';
37
43 case LANGUAGE = 'language';
44
50 case LOCAL = 'local';
51
58 case MEDIA = 'media';
59
65 case SPECIAL = 'special';
66
73 case TEMPLATE = 'template';
74
79 case EXISTENCE = 'existence';
80
85 public static function values(): array {
86 return array_column( self::cases(), 'value' );
87 }
88}
ParserOutputLinkTypes
Registry of flags used with ParserOutput::{getLinkList,appendLink}() within MediaWiki core.
@ values
Disable magic gallery on category page (NOGALLERY).