https://bugzilla.wikimedia.org/show_bug.cgi?id=17649
Summary: COUNT(*) when editing page to check if the page is
deleted
Product: MediaWiki
Version: 1.13.5
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Normal
Component: Database
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=5860)
--> (https://bugzilla.wikimedia.org/attachment.cgi?id=5860)
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.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l