Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2namespace MediaWiki\Extension\VisualEditor;
3
4/**
5 * Section edit link behaviour used to split the parser cache.
6 * Note that modifying the values of this enum will invalidate parts of the post-processing parser cache.
7 */
8enum SectionLinkBehaviour: string {
9    /**
10     * Display a single link (wikitext source or visualeditor) for section edit links
11     */
12    case LINK_SINGLE = "single";
13
14    /**
15     * Display a single link, explicitly wikitext source link, for section edit links
16     */
17    case LINK_WT = "wtsingle";
18
19    /**
20     * Display both "edit" and "edit source" links
21     */
22    case LINK_BOTH = "both";
23}