HomePhabricator

Title: Always add title to LinkCache when necessary (in 3 methods)

This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Title: Always add title to LinkCache when necessary (in 3 methods)

Unless Title::GAID_FOR_UPDATE is specified, Title::getArticleID() will not
use the link cache if the Title already has the ID of the page. Account for
this by directly calling LinkCache::addLinkObj() in three other methods of
Title: getContentModel(), isRedirect(), and getLength().

Follows-up r33008 (aed9d4b91218) and dd5c1b7fb7ff, and reapplies part of
388b14a15de6.

Bug: T86974
Change-Id: I7eff0bffd4f632ceb8d2124af317d684dbcaf2cb
(cherry picked from commit 50c9bbfbd50e726bf8fe5f5629582e7f71f97dba)

Details

Provenance
PleaseStandAuthored on
EBernhardsonCommitted on Jan 28 2015, 7:34 PM
ChangeId
I7eff0bffd4f632ceb8d2124af317d684dbcaf2cb

Commit No Longer Exists

This commit no longer exists in the repository.