Page MenuHomePhabricator

Pages may be missing in category tree and API query results but the category displayed on page
Open, Needs TriagePublicBUG REPORT

Description

This may be an old bug, if it has been confirmed and does not require an on-site investigation, please let me know.

I have seen some non-specific pages, they have a maintenance category and the category are displayed on that page, but they are not displayed in that category. Empty editing the page will refresh and solve the problem.

Case on zhwiki:

  • https://zh.wikipedia.org/wiki/Template:Apple_software have: 分类:苹果公司模板软件模板 隐藏分类:有蓝链却未移除内部链接助手模板的页面 and the ... "wgCategories":["有蓝链却未移除内部链接助手模板的页面","蘋果公司模板","软件模板"], ... in page source.
  • API query got: {"batchcomplete":"","query":{"pages":{"913100":{"pageid":913100,"ns":10,"title":"Template:Apple software","categories":[{"ns":14,"title":"Category:\u860b\u679c\u516c\u53f8\u6a21\u677f"},{"ns":14,"title":"Category:\u8f6f\u4ef6\u6a21\u677f"}]}}}}
  • Category tree does not list the Template:Apple software.

Event Timeline

YFdyh000 renamed this task from Category may be missing in category tree and API results but displayed on page to Pages may be missing in category tree and API query results but the category displayed on page.Feb 7 2021, 8:09 AM

The problem continues to occur, there are dozens of pages that don't appear in the maintenance category unless you download the page's source code to check and touch edit for them.
A full scan and correction was done for pages that linked the Template:Internal_link_helper in 8 days ago. After today's re-scan, 55 new pages out of 14,792 were rediscovered, they don't appear in the maintenance category.
The new pages, the discuss in Chinese.

YFdyh000 changed the subtype of this task from "Task" to "Bug Report".Mar 5 2021, 9:47 AM