diff --git a/ApiVisualEditor.php b/ApiVisualEditor.php index 683706e33f..9fb6f26a4f 100644 --- a/ApiVisualEditor.php +++ b/ApiVisualEditor.php @@ -467,6 +467,11 @@ class ApiVisualEditor extends ApiBase { } } } + + $links[$page->getPrefixedText()] = array( + 'missing' => !$page->exists() + ); + // On parser cache miss, just don't bother populating red link data if ( $parsed === false ) {