Rename WikiPage::isParserCacheUsed to WikiPage::shouldCheckParserCache
authorOri Livneh <ori@wikimedia.org>
Tue, 23 Jun 2015 03:38:43 +0000 (20:38 -0700)
committerOri Livneh <ori@wikimedia.org>
Tue, 23 Jun 2015 03:55:34 +0000 (20:55 -0700)
commitb0a79e924553281ac55e43a7d4849595c17d34eb
tree6965a2b837aadc24a50822deec1b5a9575a2f853
parentc099155a17d26f03799a9ba085d7b5b912b186e2
Rename WikiPage::isParserCacheUsed to WikiPage::shouldCheckParserCache

'isParserCachedUsed' implies that the parser cache usage has already occurred,
and obscures the true purpose of this method, which is to determine whether or
not the requested page *should* be looked up in the parser cache.

Only usage in extensions is in TextExtracts, which I changed to be both
backward- and forward-compatible in If5d5da8eab13.

Change-Id: I7de67937f0e57b1dffb466319192e4d400b867de
includes/content/ContentHandler.php
includes/jobqueue/jobs/RefreshLinksJob.php
includes/page/Article.php
includes/page/WikiPage.php