enwikipedia-acc /
waca
| 1 | <?php |
||
| 2 | /****************************************************************************** |
||
| 3 | * Wikipedia Account Creation Assistance tool * |
||
| 4 | * ACC Development Team. Please see team.json for a list of contributors. * |
||
| 5 | * * |
||
| 6 | * This is free and unencumbered software released into the public domain. * |
||
| 7 | * Please see LICENSE.md for the full licencing statement. * |
||
| 8 | ******************************************************************************/ |
||
| 9 | |||
| 10 | namespace Waca\Tasks; |
||
| 11 | |||
| 12 | use Waca\API\IApiAction; |
||
| 13 | |||
| 14 | abstract class ApiPageBase extends TaskBase implements IRoutedTask, IApiAction |
||
| 15 | { |
||
| 16 | final public function execute() |
||
| 17 | { |
||
| 18 | $this->main(); |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param string $routeName |
||
| 23 | */ |
||
| 24 | public function setRoute($routeName) |
||
| 25 | { |
||
| 26 | // no-op |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return string |
||
| 31 | */ |
||
| 32 | public function getRouteName() |
||
| 33 | { |
||
| 34 | return 'main'; |
||
| 35 | } |
||
| 36 | } |
||
| 37 |