Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 3 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
IndexEditAction | |
0.00% |
0 / 3 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
show | |
0.00% |
0 / 3 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace ProofreadPage\Index; |
4 | |
5 | use EditAction; |
6 | |
7 | /** |
8 | * @license GPL-2.0-or-later |
9 | * |
10 | * EditAction for a Index: page |
11 | */ |
12 | class IndexEditAction extends EditAction { |
13 | |
14 | /** |
15 | * @see FormlessAction:show |
16 | */ |
17 | public function show() { |
18 | $editor = new EditIndexPage( $this->getArticle() ); |
19 | $editor->setContextTitle( $this->getTitle() ); |
20 | $editor->edit(); |
21 | } |
22 | } |