Merge "Pre-populate LinkCache for page we're editing"

This commit is contained in:
jenkins-bot 2014-12-18 00:05:11 +00:00 committed by Gerrit Code Review
commit 6b800c31f8

View file

@ -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 ) {