|
@@ -290,14 +290,14 @@ discard block |
|
|
block discarded – undo |
|
290
|
290
|
return $this->getApiHtmlResponse($this->project, $this->page, $data); |
|
291
|
291
|
} |
|
292
|
292
|
|
|
293
|
|
- $this->addFlash('warning', 'In XTools 3.21, the last_edit_id property will be removed. ' . |
|
|
293
|
+ $this->addFlash('warning', 'In XTools 3.21, the last_edit_id property will be removed. '. |
|
294
|
294
|
'Use the modified_rev_id property instead.'); |
|
295
|
295
|
$data['last_edit_id'] = $data['modified_rev_id']; |
|
296
|
|
- $this->addFlash('warning', 'In XTools 3.21, the author and author_editcount properties ' . |
|
|
296
|
+ $this->addFlash('warning', 'In XTools 3.21, the author and author_editcount properties '. |
|
297
|
297
|
'will be removed. Instead, use creator and creator_editcount, respectively.'); |
|
298
|
298
|
$data['author'] = $data['creator']; |
|
299
|
299
|
$data['author_editcount'] = $data['creator_editcount']; |
|
300
|
|
- $this->addFlash('warning', 'In XTools 3.21, the ip_edits property will be removed. ' . |
|
|
300
|
+ $this->addFlash('warning', 'In XTools 3.21, the ip_edits property will be removed. '. |
|
301
|
301
|
'Use the anon_edits property instead.'); |
|
302
|
302
|
$data['ip_edits'] = $data['anon_edits']; |
|
303
|
303
|
|
|
@@ -372,7 +372,7 @@ discard block |
|
|
block discarded – undo |
|
372
|
372
|
$responseCode = Response::HTTP_OK; |
|
373
|
373
|
$this->recordApiUsage('page/prose'); |
|
374
|
374
|
$this->setupPageInfo($pageInfoRepo, $autoEditsHelper); |
|
375
|
|
- $this->addFlash('info', 'The algorithm used by this API has recently changed. ' . |
|
|
375
|
+ $this->addFlash('info', 'The algorithm used by this API has recently changed. '. |
|
376
|
376
|
'See https://www.mediawiki.org/wiki/XTools/Page_History#Prose for details.'); |
|
377
|
377
|
$ret = $this->pageInfo->getProseStats(); |
|
378
|
378
|
if (null === $ret) { |