diff options
author | Kevin Israel <pleasestand@live.com> | 2015-01-15 17:24:03 -0500 |
---|---|---|
committer | Erik Bernhardson <ebernhardson@wikimedia.org> | 2015-01-23 12:19:32 -0800 |
commit | 50c9bbfbd50e726bf8fe5f5629582e7f71f97dba (patch) | |
tree | e751ca6f0d484ea004847f38fb84eebb538d2e17 /RELEASE-NOTES-1.25 | |
parent | 9a0e7169fc059fb7f424c476b99bf686802e974b (diff) | |
download | mediawikicore-50c9bbfbd50e726bf8fe5f5629582e7f71f97dba.tar.gz mediawikicore-50c9bbfbd50e726bf8fe5f5629582e7f71f97dba.zip |
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
Diffstat (limited to 'RELEASE-NOTES-1.25')
-rw-r--r-- | RELEASE-NOTES-1.25 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/RELEASE-NOTES-1.25 b/RELEASE-NOTES-1.25 index f0c00f34b257..aa421cbe17ab 100644 --- a/RELEASE-NOTES-1.25 +++ b/RELEASE-NOTES-1.25 @@ -131,6 +131,8 @@ production. * (T85192) Captcha position modified in Usercreate template. As a result: ** extrafields parameter added to Usercreate.php to insert additional data ** 'extend' method added to QuickTemplate to append additional values to any field of data array +* (T86974) Several Title methods now load from the database when necessary + (instead of returning incorrect results) even when the page ID is known. === Action API changes in 1.25 === * (T67403) XML tag highlighting is now only performed for formats |