1 | <?php |
||
16 | class SubpageParentAnnotator { |
||
17 | |||
18 | /** |
||
19 | * @var ParserData |
||
20 | */ |
||
21 | private $parserData; |
||
22 | |||
23 | /** |
||
24 | * @var boolean |
||
25 | */ |
||
26 | private $enableSubpageParentAnnotation = true; |
||
27 | |||
28 | /** |
||
29 | * @since 1.3 |
||
30 | * |
||
31 | * @param ParserData $parserData |
||
32 | */ |
||
33 | 5 | public function __construct( ParserData $parserData ) { |
|
36 | |||
37 | /** |
||
38 | * @since 1.3 |
||
39 | * |
||
40 | * @param boolean $enableSubpageParentAnnotation |
||
41 | */ |
||
42 | 3 | public function enableSubpageParentAnnotation( $enableSubpageParentAnnotation ) { |
|
45 | |||
46 | /** |
||
47 | * @since 1.3 |
||
48 | */ |
||
49 | 4 | public function addAnnotation() { |
|
78 | |||
79 | // Don't rely on Title::getBaseText as it depends on the wgNamespacesWithSubpages |
||
80 | // setting and if set false will return the normal text including its subparts |
||
81 | 2 | private function getBaseText( $title ) { |
|
91 | |||
92 | } |
||
93 |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.