Last modified: 2010-05-15 16:03:31 UTC
Created attachment 5860 [details] Add a $doCount flag to Title::isDeleted, and set it to "FALSE" for Edit Page and Special:Upload. When editing a page, isDeleted is called, which counts the amount of revisions in the archive for that article. There's no reason to count that, if all we want to see is if the page is deleted or not. And on pages with a lot of deleted revisions (such as bot histories), it can become very slow. This patch adds a flag to isDeleted that controls whatever to see if there are any revisions, or to count the actual revisions, depending on the usage.
Fixed in r47750