Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| AbstractContentHistoryAction | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| getPageTitle | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | /** |
| 3 | * WikiLambda history action for Abstract Wiki content, just to set a nicer title |
| 4 | * |
| 5 | * @file |
| 6 | * @ingroup Extensions |
| 7 | * @copyright 2020– Abstract Wikipedia team; see AUTHORS.txt |
| 8 | * @license MIT |
| 9 | */ |
| 10 | |
| 11 | namespace MediaWiki\Extension\WikiLambda\AbstractContent; |
| 12 | |
| 13 | use MediaWiki\Actions\HistoryAction; |
| 14 | |
| 15 | class AbstractContentHistoryAction extends HistoryAction { |
| 16 | /** |
| 17 | * @inheritDoc |
| 18 | */ |
| 19 | protected function getPageTitle() { |
| 20 | // FIXME: Always fallback to parent for now. |
| 21 | return parent::getPageTitle(); |
| 22 | } |
| 23 | |
| 24 | } |