https://bugzilla.wikimedia.org/show_bug.cgi?id=32395
Web browser: ---
Bug #: 32395
Summary: Count only links from existing pages on
WantedQueryPages
Product: MediaWiki
Version: 1.19-svn
Platform: All
OS/Version: All
Status: NEW
Keywords: need-review, patch
Severity: normal
Priority: Unprioritized
Component: Special pages
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Created attachment 9439
--> https://bugzilla.wikimedia.org/attachment.cgi?id=9439
changed queries
The WantedQueryPages (WantedPages, WantedTemplates, WantedCategories and
WantedImages) are showing often ghost entries. Purging the entries is possible
(bug 16112) but not down regularly on all wikis.
I have modify the queries of that 4 special page to count only existing pages.
Than this ghost entries are gone from the special page output.
To reach this, the query has to join a second time to the page table to check
the *_from fields of existing in the page table.
All special pages are expensive. I hope, the change makes the special pages not
too expensive and they can stay on wmf wikis.
Feel free to modify the patch.
Thanks.
--
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