mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
Merge "Tell the client whether we created a redirect or not properly."
This commit is contained in:
commit
472e960c90
|
@ -190,7 +190,7 @@ class ApiVisualEditorEdit extends ApiVisualEditor {
|
|||
$this->dieUsage( 'Error contacting the Parsoid/RESTBase server', 'docserver' );
|
||||
}
|
||||
|
||||
$result['isRedirect'] = $title->isRedirect();
|
||||
$result['isRedirect'] = (string) $title->isRedirect();
|
||||
|
||||
if ( class_exists( 'FlaggablePageView' ) ) {
|
||||
$view = FlaggablePageView::singleton();
|
||||
|
|
Loading…
Reference in a new issue