| Total Complexity | 1 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | class GoogleBooksWorker extends AbstractBotTaskWorker |
||
| 22 | { |
||
| 23 | public const SLEEP_AFTER_EDITION = 60; |
||
| 24 | public const TASK_BOT_FLAG = true; |
||
| 25 | public const ARTICLE_ANALYZED_FILENAME = __DIR__.'/resources/gooBot_edited.txt'; |
||
| 26 | public const SKIP_LASTEDIT_BY_BOT = false; |
||
| 27 | public const SKIP_NOT_IN_MAIN_WIKISPACE = true; |
||
| 28 | public const SKIP_ADQ = false; |
||
| 29 | |||
| 30 | protected $modeAuto = true; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param string $title |
||
| 34 | * @param string|null $text |
||
| 35 | * |
||
| 36 | * @return string|null |
||
| 37 | * @throws Throwable |
||
| 38 | */ |
||
| 39 | protected function processWithDomainWorker(string $title, string $text): ?string |
||
| 54 |