mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +00:00
Merge "Pre-populate LinkCache for page we're editing"
This commit is contained in:
commit
6b800c31f8
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue