Last modified: 2014-05-06 00:21:51 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 T66932, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64932 - Creating a PageList creates lots of Page objects that hit the API
Creating a PageList creates lots of Page objects that hit the API
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Unprioritized major
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-06 00:03 UTC by Jon
Modified: 2014-05-06 00:21 UTC (History)
6 users (show)

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


Attachments

Description Jon 2014-05-06 00:03:04 UTC
Creating a PageList object results in the creation of lots of Pages which automatically hit the API in their render function.

We shouldn't do this - this means a search will cause a hit to the API for every single page in it. Whoops...
Comment 1 Bingle 2014-05-06 00:05:08 UTC
Prioritization and scheduling of this bug is tracked on Trello card https://trello.com/c/H8rtlIQq
Comment 2 Gerrit Notification Bot 2014-05-06 00:06:35 UTC
Change 131636 had a related patch set uploaded by Jdlrobson:
Don't hit the API when creating a PageList

https://gerrit.wikimedia.org/r/131636
Comment 3 Gerrit Notification Bot 2014-05-06 00:20:59 UTC
Change 131636 merged by jenkins-bot:
Don't hit the API when creating a PageList

https://gerrit.wikimedia.org/r/131636

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


Navigation
Links