MediaWiki
master
ParserOutputLinkTypes.php
Go to the documentation of this file.
1
<?php
2
14
namespace
MediaWiki\Parser
;
15
24
enum
ParserOutputLinkTypes
:
string
{
25
32
case
CATEGORY =
'category'
;
33
38
case
INTERWIKI =
'interwiki'
;
39
45
case
LANGUAGE =
'language'
;
46
52
case
LOCAL =
'local'
;
53
60
case
MEDIA =
'media'
;
61
67
case
SPECIAL =
'special'
;
68
75
case
TEMPLATE =
'template'
;
76
81
case
EXISTENCE =
'existence'
;
82
87
public
static
function
values
(): array {
88
return
array_column( self::cases(),
'value'
);
89
}
90
}
MediaWiki\Parser
Definition
BlockLevelPass.php:13
MediaWiki\Parser\ParserOutputLinkTypes
ParserOutputLinkTypes
Definition
ParserOutputLinkTypes.php:24
MediaWiki\Parser\values
@ values
Disable magic gallery on category page (NOGALLERY).
Definition
ParserOutputFlags.php:272
includes
Parser
ParserOutputLinkTypes.php
Generated on Wed Feb 18 2026 00:26:06 for MediaWiki by
1.10.0