MediaWiki  master
ParserOutputFlags.php
Go to the documentation of this file.
1 <?php
2 
28 namespace MediaWiki\Parser;
29 
42 
43  // These flags are currently stored as ParserOutput properties
44 
50  public const NO_GALLERY = 'mw-NoGallery';
51 
57  public const ENABLE_OOUI = 'mw-EnableOOUI';
58 
64  public const INDEX_POLICY = 'mw-IndexPolicy';
65 
71  public const NO_INDEX_POLICY = 'mw-NoIndexPolicy';
72 
78  public const NEW_SECTION = 'mw-NewSection';
79 
85  public const HIDE_NEW_SECTION = 'mw-HideNewSection';
86 
92  public const PREVENT_CLICKJACKING = 'mw-PreventClickjacking';
93 
94  // These flags are stored in the ParserOutput::$mFlags array
95 
99  public const VARY_REVISION = 'vary-revision';
100 
107  public const VARY_REVISION_ID = 'vary-revision-id';
108 
115  public const VARY_REVISION_TIMESTAMP = 'vary-revision-timestamp';
116 
121  public const VARY_REVISION_SHA1 = 'vary-revision-sha1';
122 
126  public const VARY_REVISION_EXISTS = 'vary-revision-exists';
127 
134  public const VARY_PAGE_ID = 'vary-page-id';
135 
141  public const VARY_USER = 'vary-user';
142 
148  public const USER_SIGNATURE = 'user-signature';
149 }
Parser\ParserOutputFlags
Definition: ParserOutputFlags.php:41
MediaWiki\Parser
Definition: ParserCacheFactory.php:22