Topic on Talk:Page Previews

Jump to navigation Jump to search

TOC triggers broken API requests

2
Thiemo Kreuz (WMDE) (talkcontribs)

My example page: de:Hilfe:Suche. Move the mouse over the table of contents. This API query is requested over and over again. Note that the titles parameter is empty.

You should add two fixes:

  1. If the code that triggers the API request gets an empty title it should just return and do nothing. Don't waste the users bandwidth for nothing.
  2. Exclude the links in the TOC. Don't waste the users CPU time.
SPage (WMF) (talkcontribs)

The first part is bug 67728 and was recently fixed. And since TOC links don't have a title attribute, they no longer generate API requests.

Reply to "TOC triggers broken API requests"