Last modified: 2014-07-24 20:16:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T61080, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59080 - isCategoryRedirect is very slow
isCategoryRedirect is very slow
Status: NEW
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
core-(2.0)
All All
: Normal normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-28 16:55 UTC by Maarten Dammers
Modified: 2014-07-24 20:16 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Maarten Dammers 2013-12-28 16:55:48 UTC
In page.py we have a function "isCategoryRedirect":

def isCategoryRedirect(self):
   """Return True if this is a category redirect page, False otherwise."""

This is rather slow. Maybe some caching should be used.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links