| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | protected function getTitles(): array |
||
| 29 | { |
||
| 30 | $cirrusURL |
||
| 31 | = 'https://fr.wikipedia.org/w/api.php?action=query&list=search' |
||
| 32 | .'&srsearch=%22https://books.google%22%20insource:/\%3Cref[^\%3E]*\%3Ehttps\:\/\/books\.google/' |
||
| 33 | .'&formatversion=2&format=json&srnamespace=0' |
||
| 34 | .'&srlimit=100&srqiprofile=popular_inclinks_pv&srsort=last_edit_desc'; |
||
| 35 | // .'&srlimit=100&srsort=random'; |
||
| 36 | $this->pageListGenerator->setUrl($cirrusURL); |
||
| 37 | |||
| 38 | return $this->pageListGenerator->getPageTitles(); |
||
| 39 | } |
||
| 56 |