@@ -291,10 +291,10 @@ discard block |
||
| 291 | 291 | } |
| 292 | 292 | |
| 293 | 293 | $this->addApiWarningAboutDates(['created_at', 'modified_at']); |
| 294 | - $this->addFlash('warning', 'In XTools 3.20, the author and author_editcount properties will be ' . |
|
| 294 | + $this->addFlash('warning', 'In XTools 3.20, the author and author_editcount properties will be '. |
|
| 295 | 295 | 'renamed to creator and creator_editcount, respectively.'); |
| 296 | 296 | $this->addFlash('warning', 'In XTools 3.20, the last_edit_id property will be renamed to modified_rev_id'); |
| 297 | - $this->addFlash('warning', 'In XTools 3.20, the watchers property will return null instead of 0 ' . |
|
| 297 | + $this->addFlash('warning', 'In XTools 3.20, the watchers property will return null instead of 0 '. |
|
| 298 | 298 | 'if the number of page watchers is unknown.'); |
| 299 | 299 | return $this->getFormattedApiResponse($data); |
| 300 | 300 | } |
@@ -367,7 +367,7 @@ discard block |
||
| 367 | 367 | $responseCode = Response::HTTP_OK; |
| 368 | 368 | $this->recordApiUsage('page/prose'); |
| 369 | 369 | $this->setupPageInfo($pageInfoRepo, $autoEditsHelper); |
| 370 | - $this->addFlash('info', 'The algorithm used by this API has recently changed. ' . |
|
| 370 | + $this->addFlash('info', 'The algorithm used by this API has recently changed. '. |
|
| 371 | 371 | 'See https://www.mediawiki.org/wiki/XTools/Page_History#Prose for details.'); |
| 372 | 372 | $ret = $this->pageInfo->getProseStats(); |
| 373 | 373 | if (null === $ret) { |
@@ -176,7 +176,7 @@ discard block |
||
| 176 | 176 | // Send all to the template. |
| 177 | 177 | return $this->getFormattedResponse('topedits/result_page', [ |
| 178 | 178 | 'xtPage' => 'TopEdits', |
| 179 | - 'xtTitle' => $this->user->getUsername() . ' - ' . $this->page->getTitle(), |
|
| 179 | + 'xtTitle' => $this->user->getUsername().' - '.$this->page->getTitle(), |
|
| 180 | 180 | 'te' => $topEdits, |
| 181 | 181 | ]); |
| 182 | 182 | } |
@@ -316,7 +316,7 @@ discard block |
||
| 316 | 316 | |
| 317 | 317 | $this->addApiWarningAboutDates(['timestamp']); |
| 318 | 318 | if (false !== strpos($this->page->getTitle(true), '_')) { |
| 319 | - $this->addFlash('warning', 'In XTools 3.20, the page property will be returned ' . |
|
| 319 | + $this->addFlash('warning', 'In XTools 3.20, the page property will be returned '. |
|
| 320 | 320 | 'with spaces instead of underscores.'); |
| 321 | 321 | } |
| 322 | 322 | return $this->getFormattedApiResponse([ |